Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
COPYRIGHT 2008. All right reserved. No part of this documentation may be photocopied or reproduced in
any form without prior written consent from COMSOL AB. COMSOL, COMSOL Multiphysics, COMSOL Reaction Engineering Lab, and FEMLAB are registered trademarks of COMSOL AB. Other product or brand names
are trademarks or registered trademarks of their respective holders.
V i bra t i o ns i n M i l k C o nt a i n e rs
Introduction
This example illustrates a multiphysics application that involves a fluid-structure
interaction. It simulates a filled milk container on a conveyor belt that starts moving.
The methodology presented here defines two subproblems, one for the container walls
and another for the fluid. The two problems merge into one using special interface
conditions that impose continuous normal displacements and normal forces across the
interface boundary.
Plane stress (E2, , 2)
Fluid (E1, 1)
Asint
Model Definition
With all variables having a harmonic time dependence, you solve for only one complex
amplitude.
DOMAIN EQUATIONS
In the container walls, use Naviers equation for plane stress to find the displacements
u and v:
E2
E2
2
-------------------- ( u + vx ) = 0
2 u + --------------2- ( ux + vy ) x + 2
y
(
1
+ ) y
1
E2
E2
2
-------------------- ( u + vx ) = 0
2 v + --------------2- ( v y + u x ) y + 2
x
(
1
+ ) y
1
1 G + E 1 G = 0
where E1 is the elasticity modulus for the fluid, and 1 the fluid density.
INTERFACE CONDITIONS
n + 1 Gn = 0
where n is the inward-pointing normal.
the sound waves is active in the fluid domain only. For the coupling, you use the
equation system view to define the fluid-structure interaction at the boundaries
between the two domains.
Results
The solution shows the deformations that occur in the container. Figure 1 shows the
deformations (scaled) for a container filled with milk. A second analysis provides the
deformations for a container filled with gas (see Figure 2).
COMSOL_Multiphysics/Multiphysics/milk_container
5 Add the second application mode following the same procedure and then click OK.
APPLICATION MODE
APPLICATION
MODE NAME
DEPENDENT
VARIABLES
ELEMENT TYPE
PDE, coefficient
form
wall
u v
Lagrange - Quadratic
PDE, coefficient
form
fluid
Lagrange - Quadratic
EXPRESSION
E1
1e10
rho1
1e3
E2
1e8
rho2
1e3
nu
0.3
2*pi*10
3 Click OK.
GEOMETRY MODELING
toolbar.
PHYSICS SETTINGS
Boundary Conditions
1 From the Multiphysics menu, select the wall application mode.
2 From the Physics menu, choose Boundary settings.
3 In the Boundary Settings dialog box, select the Interior boundaries check box.
4 Specify the boundary conditions from the table below. Start with Boundary 2. You
can the select the Select by group check box to set Neumann conditions on the
remaining boundaries in one step.
SETTINGS
BOUNDARIES 1,3-8
BOUNDARY 2
Type
Neumann
Dirichlet
h(1,1)
h(1,2)
h(2,1)
h(2,2)
r(1)
0.001
r(2)
5 Click OK.
You do not need to define boundary conditions for the fluid because the fluid domain
consists of interior boundaries only.
Subdomain Settings
1 From the Physics menu, choose Subdomain Settings.
2 In the Subdomain Settings dialog box, select Subdomain 2 from the Subdomain
selection list and then clear the Active in this domain check box to deactivate the fluid
domain.
3 Select Subdomain 1 and then click the c, a, and f tabs and enter the PDE coefficients
SUBDOMAIN 1
c(1,1)
E2/(1-nu^2) E2/2/(1+nu)
c(1,2)
0 E2/2/(1+nu) E2*nu/(1-nu^2) 0
c(2,1)
0 E2*nu/(1-nu^2) E2/2/(1+nu) 0
c(2,2)
E2/2/(1+nu) E2/(1-nu^2)
a(1,1)
-w^2*rho2
a(1,2)
a(2,1)
a(2,2)
-w^2*rho2
f(1)
f(2)
4 Click OK.
5 From the Multiphysics menu, select the fluid application mode.
6 From the Physics menu, choose Subdomain Settings.
7 In the Subdomain Settings dialog box, select Subdomain 1 in the Subdomain selection
list and then clear the Active in this domain check box to deactivate the wall domain.
8 Select Subdomain 2 and enter the PDE coefficients for the fluid domain according
SUBDOMAIN 2
E1
-w^2*rho1
9 Click OK.
BOUNDARY 4
BOUNDARY 5
BOUNDARY 6
BOUNDARY 7
q(1,1)
q(1,2)
q(1,3)
w*rho1
-w*rho1
q(2,1)
q(2,2)
q(2,3)
w*rho1
-w*rho1
q(3,1)
E1
-E1
q(3,2)
E1
-E1
q(3,3)
3 Click OK.
MESH GENERATION
2 Click the Custom mesh size button and type 1.7 in the Element growth rate edit field.
3 Click OK.
4 Click the Initialize Mesh button.
COMPUTING THE SOLUTION
For this model, use the stationary solver (the default solver). Click the Solve button to
solve the problem.
PO S T P RO C E S S I N G A N D V I S U A L I ZAT I O N
To model a container filled with gas instead of milk, update the fluid parameters:
OPTIONS AND SETTINGS
EXPRESSION
E1
1e5
rho1
Solve the problem again with the new material properties for the fluid. You get a
similar plot of the solution from the second analysis.