Modeling Using
COMSOL Multiphysics
Alexandria
25-27 September, 2012
PROGRAM
Elnady Engineering and Agencies
2 Elgabal Elakhdar Buildings, Nasr City, 11471 Cairo, Egypt.
Tel: +20 2 23425763
Fax: +20 2 23421793
www.elnadycompany.com
11:00 12:30
COMSOL Demonstraion
Installation on attendees laptop
Coffee Break
12:30 1:00
01:00 03:00
Day2 Agenda
-
09:00 12:00
Coffee Break
12:00 12:30
12:30 02:00
Day3 Agenda
09:00 10:30
10:30 12:00
Introductory Models
Tutorials
Parallel plate capacitor
Thermal cube
Stresses in a wrench
Select 2D
AC / DC > Solid Mechanics
Stationary
Checkered flag to Finish
Create Geometry
Open Model 1
Pick Geometry 1
Change Length Unit to cm
Draw Three Rectangles
Set Materials
Right Click on Materials
Choose Open Model Library
Pick Built-In Material Library
Select Air
Right Click on it, Add to Model
(This will assign it to all subdomains
but we will only use it in the air
domain: Electrodes will not be
included in the analysis)
Right-Click Electrostatics
Choose Ground
Choose Box Selection
Select Bottom Electrode
Confirm
Right-Click Electrostatics
Choose Electric Potential
Set to 100 Volts
Choose Box Selection
Select Top Electrode
Solve
Pick Study 1
Hit =
Draw Geometry
Right click on Geometry
Choose Block
Leave as 1 x 1 x 1 [m]
Set Materials
Right click on Materials
Choose Open Material Library
Go to Built-in Section
Right Click on Aluminum 6063
Choose Add to Model
Assign it to the block
10
11
12
Select 3D
Structural Mechanics > Solid Mechanics
Stationary
Then the checkered flag to Finish
13
2) Import Geometry
3) Set Materials
In Model Builder:
Right Click on Materials
Open Model Library
Pick Built-In
Select High Strength Alloy Steel
Right Click, Add to Model
Select Steel AISI 4340
Right Click, Add to Model
Pick Bolt, right-click to add
14
4 a) Constrain Bolt
In Model Builder:
Right Click on Solid Mechanics
Choose Fixed Constraint
In Graphics Window:
Pick the Bolt Cut End
Right Click to confirm
4 b) Add Load
In Model Builder:
Right click on Solid Mechanics
Choose Face Load
Pick end of the wrench
Enter F for Fz
15
5) Mesh
In Model Tree:
Right Click on Mesh 1
Choose Add Tetrahedral
Pick Size
Change to Coarser
Right click Mesh 1
Pick Build All
6) Solve
In Model Builder:
Pick Study 1
Choose Compute
16
17
Exercises:
Electrical Heating in a Busbar
Bus bar made of copper.
Bolts made of titanium.
Direct current 10 mV from a
transformer to an electric device.
Heat is produced due to the resistive
losses--joule heating.
Calculate the thermal expansion.
Work though exercises, but not the
appendix
18
Ground
19
Go to it (!!!)
20
TM
Questions
& Answers
21
Once you have captured the basic multiphysics phenomena, you will also
have the chance to investigate thermal expansion yielding structural stresses
and strains in the busbar and the effects of cooling by an air stream.
The Joule heating effect is described by conservation laws for electric current
and energy. Once solved for, the two conservation laws give the temperature
and electric field, respectively. All surfaces, except the bolt contact surfaces,
are cooled by natural convection in the air surrounding the busbar. You can
assume that the electric potential at the upper-right vertical bolt surface is 10
mV and that the potential at the two lower horizontal surfaces of the lower
bolts is 0 V.
The Model Wizard
Start COMSOL by double-clicking its
icon on the desktop.
When the Model Wizard opens, select
a space dimension; the default is 3D.
Click the Next button to continue
to the physics page.
2xrad_1
wbb
L
tbb
Also add the parameters that will control the mesh, mh, a heat transfer
coefficient for cooling by natural convection, htc, and a value for the voltage
across the busbar, Vtot.
wbb=5cm
wbb=10cm
Return to the Parameters table and change the value of wbb back to 5[cm].
Rerun the geometry sequence.
Experienced users of other CAD programs are already familiar with this
approach since all major CAD platforms include parameterized geometries.
To support this class of users and avoid redundancy, COMSOL offers the
LiveLink family of products. These products connect COMSOL
Multiphysics directly with a separate CAD program, so that all parameters
specified in CAD can be interactively linked with your simulation geometry.
The current product line includes LiveLink for SolidWorks, LiveLink for
Inventor, and LiveLink for Pro/ENGINEER.
It is also worth noting that LiveLink for Matlab is available for those who
want to incorporate a COMSOL Multiphysics model into an extended
programming environment.
Having completed the geometry for your model, it is time to define the
materials.
10
Materials
The Materials node administrates
the material properties for all
physics and all domains in a
Model node. The busbar is made
of copper, and the bolts are made
of titanium. Both these materials
are available from the Built-In
material database.
In the Model Builder, right-click
Materials and select Open
Material Browser. In the Material
Browser, expand the Built-In
materials folder, right-click
Copper and select Add Material to
Model.
Click the Material Browser window tab and repeat the above procedure for
Titanium beta-21S.
In the Model Builder, collapse the Geometry 1 node to get a better overview
of the model. Under the Materials node, click Copper. In the Settings
window, locate the Material Contents section.
The Material Contents section
provides useful feedback on the
models material property
usage. Properties that are both
required by the physics and
available from the material are
marked with a green check
mark . Properties required by
the physics but missing in the material will result in an error and are therefore
marked with a stop sign . A property that is not used in the model is
unmarked. You may note that the Thermal expansion coefficient at the
bottom of the list is not used, but you will need it later for expanding your
model with heat induced stresses and strains.
11
to clear the
Contents
Physics
The domain settings for the Joule Heating physics interface are complete
now that you have set the material properties for the different domains. Next
you will set the proper boundary conditions for the heat transfer problem
and the conduction of electric current.
12
Boundary Section
Domain Section
13
14
Mesh
The simplest way to mesh is to
create an unstructured tetrahedral
mesh. This will do nicely for the
busbar.
In the Model Builder, right-click
the Mesh 1 node and select Free
Tetrahedral. Click the Size
node .
In the Settings window, select the
Custom button under Element
Size. Enter mh in the Maximum
element size field to set the
maximum element size to 6 mm
the value entered earlier as a global
parameter.
Click the Build All button
15
Later, in Studying Mesh Dependence and Convergence on page 29, you will create
meshes for running mesh convergence studies and to investigate the
magnitude of the change in a solution parameter after refining the mesh.
Study
To run a simulation, in the Model Builder, right-click Study 1 and select
Compute
. The Study node automatically defines a solution sequence for
the simulation based on the selected physics and the study type. The
simulation only takes a few seconds to solve.
Results
The default plot displays
the temperature in the
busbar. The temperature
difference in the device is
quite small, less than 1 K,
due to the high thermal
conductivity of copper
and titanium. The
temperature is
substantially higher than
the ambient temperature
293 K.
With this solution in hand, you can create an image that will be displayed by
COMSOL when browsing for model files. Go to the File menu and select
Save Model Image. There are two other ways to create images from this plot.
One way is to use the Image Snapshot button in the Graphics toolbar for
directly creating an image, and another is to add an Image node to the Report
16
by right-clicking the Plot Group of interest. The second option lets you reuse
the Image Settings if you update the model.
The temperature distribution is symmetric with a vertical mirror plane
running between the two lower titanium bolts and running across the middle
of the upper bolt. In this case, the model does not require much computing
power and you can model the whole geometry. For more complex models,
you should consider using symmetries in order to reduce the size of the
model.
Another plot of interest shows the current density in the device. In the Model
Builder, right-click Results and select 3D Plot Group. Right-click 3D Plot
Group 3 and select Surface. In the Settings window, in the Expression section,
. Select Electric Currents>
click the Replace Expression button
Current density norm. This is the variable for the magnitude, or absolute
value, of the current density vector.
17
18
4 |
After meshing this geometry, a very dense mesh is unfortunately created to resolve the
narrow strip of the face.
Alternatively the narrow strip can be easily avoided during the design of the geometry
in the CAD software, through making sure that the neighboring fillets have large
enough radii.
As the example above illustrates, meshing can be useful for diagnosing sliver faces and
other small features in your geometry, and you can use it as a complement to the tools
provided by the CAD Import Module. In COMSOL Multiphysics you can quickly
create a surface or volume mesh of the part, then examine it for areas of dense mesh,
which usually indicate small features.
Careful design in the CAD software is also important during the design of assemblies.
Touching parts in a CAD assembly might not be accurately positioned or might
contain slight mismatches between dimensions. Such unintentional errors also lead to
the presence of small features and sliver faces in the decomposed geometry. For this
reason it is recommended that parts of the CAD assembly are designed in the context
of the assembly.
Even geometry features on a larger scale can make meshing of imported geometries
difficult. Such features could be the subdivision of faces into smaller ones, or smaller
holes, fillets and chamfers. You can usually control these features in the CAD software.
Most modern CAD packages allow you to save different configurations of a part in the
same file. It is often beneficial to save a configuration specially for FEA, where you
suppress features not important for the analysis. This way you can reduce the number
of mesh elements and thus the amount of memory needed to solve the problem.
3D CAD GEOMETRY OF AN ENGINE PISTON
In this example you import and mesh two versions of a 3D geometry of a diesel-engine
piston. The first version of the geometry is intended for FEA and has many features
suppressed. With the use of two symmetry planes you only need to analyze a quarter
of the original geometry. The second version is the complete 3D geometry.
1 Start COMSOL by double-clicking its icon on the desktop.
2 In the Model Wizard (
).
6 |
As soon as the import is finished the geometry appears in the Graphics window.
The Mesh 1 node contains the operations that make up the mesh sequence.
) button.
The Messages window indicates that there are roughly 34,000 tetrahedral elements in
this geometry.
For the sake of comparison, import and mesh the complete 3D CAD geometry.
1 In the Model Builder select the Import 1 node.
2 In the Settings window click the Browse button.
3 Locate the course CD and select the file piston_design.x_b, then click Open.
4 Click the Mesh 1 node.
Since you have changed a setting, the Import 1 node is automatically rebuilt as you
leave the geometry sequence. This means that the newly specified file is imported
instead.
8 |
2 In the Model Wizard make sure that the space dimension is 3D, then click the Finish
button.
3 To add an import feature to the geometry sequence right-click Geometry 1 and select
Import.
4 In the Settings window click the Browse button.
5 Locate the course CD on the hard disk and select the file sphere.igs, then click
Open.
10 |
The geometry looks like a solid sphere, whose outer surface is split into two halves.
The mesh appears in the Graphics window, but a warning is displayed in the Settings
window that tetrahedral elements were not created since the geometry contains no
domains.
Add a Measurements node to the geometry sequence to examine the imported
geometry.
9 Right-click Geometry 1 then select Measurements.
11
10 Click the sphere object in the Graphics window to highlight it. Right-click anywhere
The information indicates that the geometry is not a solid object since it does not
contain any domains.
By default, during import the CAD Import Module tries to knit faces and form
solids. If a solid is not created, it usually means that there were gaps, larger than the
default import tolerance of 10-5 in the geometry units, between geometry faces.
In these next steps you will create a surface mesh of the sphere to visualize the gap
between the two halves.
11 Right-click the Free Tetrahedral 1 node and select Size.
12 From the Geometric entity level list select Boundary.
13 In the Graphics window click one of the faces of the sphere to highlight it.
12 |
Examine the meshed surfaces, note that the mesh only connects on a portion of the
common edge. On the portion where the mesh does not connect there is a narrow
gap between the faces.
Even when the geometry includes such a gap you can create a solid by using the knit
tool.
16 Right-click the Geometry 1 node and select CAD Repair, then Knit to Solid.
The Knit to Solid 1 node is inserted into the geometry sequence after the Import 1
node.
17 Select the sphere in the Graphics window, then enter 1e-4 in the Absolute repair
tolerance edit field.
18 To build the feature click the Build All button.
To check if a solid was indeed created you can use the Measurements tool.
19 Right-click the Geometry 1 node and select Measurements.
20 Add the sphere to the selection list, by selecting it in the Graphics window.
The displayed information still indicates that there are no domains in the sphere.
This means that the gap was larger than 10-4 m and the tool could not create a solid.
13
21 Click the Knit to Solid 1 node, then enter 1e-2 in the Absolute repair tolerance edit
field.
22 Click the Build all button to build the feature.
23 Right-click the Geometry 1 node and select Measurements, then select the sphere.
This time the object contains a domain, which indicates that a solid object was
created by the knit to solid tool.
24 Mesh the geometry by clicking the Mesh 1 node, then the Build all button.
This time a properly connected volume mesh for the solid object was created.
14 |
Form a union
1 Click the New (
2 In the Model Wizard make sure that the space dimension is 3D, then click the Finish
button.
15
3 To add an import feature to the geometry sequence right-click Geometry 1 and select
Import.
4 In the Settings window click the Browse button.
5 Locate the course CD on the hard disk and select the file piston_assembly.x_b,
When the import is completed, examine the geometry. Notice that there are three
geometry objects: the piston, the pin, and the rod. The pin is connected to the rod and
the piston.
pin
rod
piston
7 Click the Form Union button in the Model Builder, then click the Build Selected (
button.
The default finalization method is Form a union. After the operation is completed,
examine the resulting geometry. Note that COMSOL Multiphysics has combined the
three geometry objects into just one with three subdomains corresponding to the
piston, pin, and rod, respectively. These subdomains are delimited by inner surfaces.
8 Right-click the Geometry 1 node and select Measurements.
9 Select all three geometry objects in the Graphics window.
16 |
Note that the finalized geometry is a single object containing three domains. The
total number of faces, edges, and points does not correspond to the number of
entities before union.
Mesh two of the subdomains with different sized meshes.
12 Right-click the Mesh 1 node and select Free Tetrahedral.
13 From the Geometric entity level list select Domain.
14 Add the pin (domain 3) and the rod (domain 2) to the selection list by selecting
17
The operation creates imprints on the pin surface that is in contact with the piston and
the rod.
IDENTITY PAIRS
To ensure continuity between the domains you can create identity pairs between the
boundaries of the domains.
1 Right-click the Definitions node and select Identity Pair (
) button.
3 In the Graphics window click the rod, then click the Hide Selected (
4 In the Graphics window click the piston, then click the Hide Selected (
5 Click the Select Boundaries (
) button.
) button.
6 Add the boundary of the pin in contact with the rod (boundary 105) to the list of
Source Boundaries.
18 |
7 To add a second identity pair, between the pin and the piston, right-click the
Definitions node and select Identity Pair.
8 Add the boundary of the pin in contact with the piston (boundary 104) to the list
of Source Boundaries.
Before selecting the destination boundaries, you can make the rod and the piston
visible again and hide the pin instead.
9 Click first the Reset Hiding (
10 In the Graphics window click the pin, then click the Hide Selected (
11 In the Settings window of Identity Pair 2 click Activate Selection (
) button.
) button.
) next to the
19
15 Add the boundary of the rod in contact with the pin (boundary 53) to the list of
Destination Boundaries.
) button.
MESHING
The three domains of the assembly object all have their own boundary surfaces. This
option gives you greater freedom in meshing the different parts than the union
method.
17 Right-click the Mesh 1 node and select Build All.
20 |
As you can see, you can now freely mesh the two objects with different sized meshes.
Note that this mesh is for illustrative purposes and is not appropriate for FEA, due to
the quality of the mesh.
Form an Assembly
Now test the third, and last, method of finalizing the geometry by creating an assembly
object without any modification of the geometry.
1 Click the Form Assembly node in the Model Builder.
2 De-select the Create imprints check box.
3 Click the Build Selected button.
The operation forms an assembly object for modeling, but the geometry objects are
not modified.
MESHING
This procedure gives you even greater freedom in meshing the objects. Because there
are no imprints on the boundary surfaces, you can create a swept mesh of the pin.
1 Click the Free Tetrahedral 1 node.
2 In the Selection list select domain 3 and click the Remove from Selection (
) button.
21
) button.
In this example you can see that after importing CAD assemblies, the method that
gives you the greatest freedom in meshing is to form an assembly object without
creating imprints. This method is also suitable for complex CAD geometries where a
geometry analysis by the other two methods fails.
Gaps in Assemblies
The CAD model in this exercise contains some gaps on the assembly level, which can
prevent the creation of a good mesh. One of the parts also contains holes we would
like to remove.
You can start by importing the CAD file.
1 Click the New (
2 In the Model Wizard make sure that the space dimension is 3D, then click the Finish
button.
3 To add an import feature to the geometry sequence right-click Geometry 1 and select
Import.
4 In the Settings window click the Browse button.
22 |
5 Locate the course CD on the hard disk and select the file assembly_gaps.x_b,
plate 2
plate 1
The assembly consists of two parts, plate 1 and plate 2. Plate 2 has four screw holes,
and two feet that fit into corresponding holes on plate 1. Besides the imported parts,
the surrounding air volume is also important for the analysis. Therefore, you can
continue by creating a block around the objects.
2 Right-click the Geometry 1 node and select Block.
3 Use data from the following table to draw a block:
POSITION: BASE: CORNER
SIZE
-0.01
Width
0.06
-0.03
Depth
0.06
-0.06
Height
0.12
) button.
The finalize operation is performed automatically as you click the Mesh 1 node.
During the finalize operation, COMSOL Multiphysics determines the geometric
23
difference of the objects and creates one object with three subdomains delimited by
single surfaces.
6 Click the Build All (
) button.
After the meshing is completed, note that there are about to 130,000 tetrahedral
elements in this seemingly simple geometry.
7 Click the Transparency (
You can see that there is a very fine mesh in several boundary regions between the
two parts of the assembly. Usually this occurs if small, dimensional discrepancies
exist between parts. They might be present in the design to provide important
clearance for assembling the final product. In this case the clearance between the feet
24 |
of plate 1 and the corresponding slots on plate 2 causes a very thin air gap. However,
such fine details do not affect the overall physics phenomena.
narrow gaps
You cannot change the dimension of imported objects with the CAD Import
Module. Yet, you can, easily remove both the feet and the slots. To this you need to
use the defeaturing tools.
8 Right-click the Geometry 1 node, then select CAD Defeaturing>Delete Faces.
In the Tools window that appears you can select faces of the geometry to be
removed. When a delete operation is completed a feature node will be added to the
geometry sequence.
To make the selection of faces easier first hide the block and plate 1.
9 Click the Select Objects (
) button.
10 In the Graphics window click the block, then click the Hide Selected (
11 In the Graphics window click plate 1, then click the Hide Selected (
12 Click the Select Boundaries (
) button.
) button.
25
The default heal method, Patch, heals the wound that results from removing the
faces, by shrinking and growing neighboring faces to cover the hole.
When the operation completes a Delete Faces 1 feature node is added to the Model
Builder, right after the current feature in the geometry sequence, which was the
Block 1 feature.
With the feet removed you can continue with removing the corresponding slots on
plate 1.
Hide some objects again to make face selection easier, this time the block and plate
2.
15 Click the Select Objects (
) button.
16 In the Graphics window click the block, then click the Hide Selected (
17 In the Graphics window click plate 2, then click the Hide Selected (
18 Click the Select Boundaries (
26 |
) button.
) button.
19 Add the faces highlighted in the figure below, boundaries 5-8, 9-12 on object
27
Before continuing with meshing, you can also delete the four mounting holes,
shown in the figure below, since they are assumed to not influence the analysis.
You can easily select the faces delimiting the holes by using the Select Box tool.
22 Click the Select Box (
28 |
26 Right-click the Mesh 1 node in the Model Builder, then select Build All.
The mesh now consists of about 31,000 tetrahedral elements. As you can see in the
figure, there are still two regions of high mesh density left. The reason for this is a slight
difference in width between the two objects.
If this dimensional mismatch is unintentional and assumed to not be important for the
analysis, it can easily fixed in a CAD software. With the CAD Import Module, you can
export defeatured parts to a Parasolid file, which you can open and edit with a CAD
program.
29
The resulting Parasolid file can be imported into most CAD software.
You can also use the CAD Import Module to fix the dimensional discrepancy, by for
example using the repair functionality of the Finalize feature.
31 Click the Form Union feature node.
32 In the Relative repair tolerance edit field enter 1e-3.
33 Right-click the Mesh 1 node in the Model Builder, then select Build All.
As you can see the resulting mesh contains only about 5000 elements.
30 |
2 In the Model Wizard make sure that the space dimension is 3D, then click the Finish
button.
3 To add an import feature to the geometry sequence right-click Geometry 1 and select
Import.
4 In the Settings window click the Browse button.
5 Locate the course CD on the hard disk and select the file solder_joints.x_b,
Note that for many of the imported objects a warning is displayed that the default
import tolerance, 10-5 m, might be too large for the geometry, which includes parts
on the order of a tenth of a millimeter in size. Features smaller than the import
tolerance are automatically removed during import. Therefore, if you know that
your geometry contains small features you can change the import tolerance in the
32 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
Settings window of the Import feature. There you also have the option of turning off
the repair feature during import. In this particular case, this is not necessary.
Solder joints
Circuit board
As you click the Mesh 1 node the Finalize feature is automatically built, which means
that the various objects are combined into the one object with inner boundaries and
subdomains.
8 Click the small plus sign (or triangle) in front of the Mesh 1 node to expand the
meshing sequence.
Initially the meshing sequence contains only the Size feature node. This feature is
called a global attribute feature, since it influences all subsequent operation
features in the meshing sequence. This first Size feature node cannot be deleted
from the meshing sequence. You can also add attribute features under an operation
feature node, in which case it is called a local attribute feature.
9 Right-click the Mesh 1 node and select Free tetrahedral.
The Free Tetrahedral 1 feature node is added after the Size feature node. COMSOL
Multiphysics always inserts new nodes in the meshing sequence after the current
feature node. To indicate the current feature node, it appears with a quadratic frame
around its icon. As soon as it is inserted, the Free Tetrahedral 1 node becomes the
current feature.
33
34 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
3 Use the Graphics window to select the domains 1-3, which represent the circuit
According to the Messages window the mesh now consists of approximately 24,000
elements.
35
faces. All faces that encompass a domain are classified as either source faces, a target
face, or boundary faces. The boundary faces are the faces connecting the source and
target faces.
MESHING A SET OF BOUNDARIES
First you can modify the free tetrahedral mesh operation to operate only on the solder
joints.
1 Click the Free Tetrahedral 1 feature node.
2 From the Geometric entity level list select Domain.
3 From the Selection list select domains 1,2, and 3, then click the Remove from
Selection (
) button.
You can now create a coarse mesh on the source boundaries for the sweep mesh
operation. Build the mesh before continuing.
5 Click the Build All (
) button.
6 Right-click the Mesh 1 node then select More Operations then Free Triangular.
7 From the Graphics window select the two faces (boundaries 2 and 14) highlighted
36 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
The mesh is built, but a Problems node appears under the Free Triangular 1 feature
node.
11 Expand the Problems 1 node, then click the Warning 1 node to read the message.
COMSOL Multiphysics generates the warning because the Coarser predefined mesh
size you have applied to the two surfaces has been overridden by the relatively finer
Normal mesh settings specified in the first Size feature node of the meshing sequence.
The reason is to avoid bad quality meshes, that may result if the boundary of a
domain is meshed with a coarser mesh size then the volume.
To avoid this situation a good practice is to set the first global Size setting to the
coarsest mesh that you plan to have in the geometry, then specify local size feature
nodes for the mesh operations that need finer mesh.
12 Click the Size node, then select Coarser from the Predefined list.
13 Right-click the Free Tetrahedral 1 node, and select Size.
14 From the Predefined list select Normal.
Since the global setting is Coarser, the size attribute to the Free Triangular 1 node is
no longer necessary.
15 Right-click the Size 1 node under the Free Triangular 1 node, then select Delete.
37
Now that the source faces are meshed, you can sweep this mesh through the
subdomains.
1 Right-click the Mesh 1 node and select Swept.
The Geometric entity level list is set to Remaining by default for new mesh operations.
In this case the remaining domains correspond to the domains we would like to
sweep mesh.
38 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
The mesh now consists of approximately 15,000 elements. The swept mesher used
the Coarser predefined mesh size to determine the number of elements along the
sweep direction. By specifying a distribution for the swept mesher you have the
possibility to manually control the number and distribution of elements along the
sweep direction.
3 Right-click the Swept 1 feature node and select Distribution.
4 In the Number of elements edit field enter 2.
5 Click the Build All button to build the mesh.
39
This latest mesh consists of approximately 18,000 elements, keeping the higher
resolution for the subdomains which are important for the analysis, while providing a
less dense structured mesh for the remaining subdomains.
40 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
2 In the Model Wizard make sure that the space dimension is 3D, then click the Finish
button.
3 To add an import feature to the geometry sequence right-click Geometry 1 and select
Import.
4 In the Settings window click the Browse button.
5 Locate the course CD on the hard disk and select the file piston_for_fem.x_b,
) button.
The Messages window indicates that there are roughly 34,000 tetrahedral elements
in this geometry.
Use the mouse to rotate the object and look at the geometry more closely. You can
see that it contains some small details such as fillets and chamfers. Assume that the
existing mesh does not resolve these details sufficiently for your simulation needs
and so a finer parameter setting is required.
8 Right-click the Free Tetrahedral 1 node, then select Size.
41
elements.
If you examine the mesh you can see that, even with the Fine settings, some narrow
areas are not resolved sufficiently. You could decrease the mesh size once more but, to
achieve a fine mesh only on certain types of boundaries, you also have the possibility
to tune individual mesh parameters. This is demonstrated in the following sections.
Mesh Curvature
Assume that you want a better resolution on regions with a high curvature, such as
fillets. To find the right setting you can test it first on just one of the fillets in the
geometry.
1 Click the Size 1 node.
2 From the Predefined list select Normal.
3 From the Geometric entity level list select Boundary.
4 From the Graphics window select the boundary highlighted (boundary 12) in the
figure below.
With the Minimum element size parameter, you can prevent the generation of a fine
mesh around small curved regions of the geometry. When the radius of curvature is
smaller than this value, the mesh generator considers the radius of curvature as being
this value.
42 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
) button.
) button.
43
The mesh Resolution of narrow regions mesh parameter approximately controls the
number of layers of elements that are created in narrow regions (approximately). If
the value of this parameter is less than one, the mesh generator might create
elements that are anisotropic in size in narrow regions.
15 To build the mesh click the Build All (
44 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
) button.
2 From the geometric entity level list in the Size 1 feature node select Entire geometry.
3 To build the mesh click the Build All (
) button.
The fine details of the geometry are resolved satisfactorily. However, the mesh
consists of approximately 308,000 elements, which is too many. Assume that the
inner part of the volume does not need such a high resolution. You can change it by
specifying the rate of growth from the small elements on the surface towards the
inner part of the geometry.
4 Select the Maximum element growth rate check box.
5 In the Maximum element growth rate edit field enter 2.3.
The Maximum element growth rate determines the maximum rate at which the
element size can grow from a region with small elements to a region with larger
elements.
6 To build the mesh click the Build All (
) button.
7 In the Messages window you can see that this mesh consists of approximately
112,000 elements.
45
Mesh Quality
Changing various mesh parameters can influence the quality of the mesh. In general,
the default settings result in a mesh with rather good quality. However, this quality can
decrease drastically when changing individual parameters.
First take a look at the mesh statistics for the current mesh on the piston.
1 Right-click the Mesh 1 node and select Statistics.
The Statistics window appears, which contains details about the mesh, including the
number and type of elements, and a histogram of element quality.
46 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
In the following, you learn how to visualize the elements with the worst mesh quality.
Assume that you want to achieve the opposite goal as described in the previous
exampleyou want much to resolve the narrow regions with less mesh.
1 Click the Size 1 feature node.
2 Select the Predefined radio button, then select the Custom radio button.
This way the custom mesh parameters are reset to values corresponding to the
Normal predefined mesh size.
3 Select the Resolution of narrow regions check box.
4 Change the value of Resolution of narrow regions to 0.1.
5 To build the mesh click the Build All (
) button.
Now your mesh consists of only 28,000 elements. However, in the area of the
narrow regions the quality becomes worse. The minimum element quality has
decreased, and according to the histogram there is a relatively small number of
elements that have the lowest quality.
Visualize this situation with the following steps.
7 Right-click the Mesh 1 node and select Plot.
The Mesh 1 plot is added to the 3D Plot Group 1 under the Results section of the Model
Builder. The mesh plot that appears in the Graphics window contains the volume
elements colored according to quality.
8 Expand the Element Filter section, and select Enable filter.
9 From the Criterion list select Worst quality.
10 In the Fraction edit field enter 0.005.
47
You can now see those 0.5% of elements with the worst quality, where almost all of
them are located around the narrow faces. As anticipated, decreasing the mesh
resolution in narrow regions detrimentally influences the quality of the mesh.
48 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
2 In the Model Wizard make sure that the space dimension is 3D, then click the Finish
button.
3 To add an import feature to the geometry sequence right-click Geometry 1 and select
Import.
4 In the Settings window click the Browse button.
5 Locate the course CD on the hard disk and select the file thin_layer.mphbin,
) button.
49
This procedure creates a very coarse mesh consisting of hexahedral elements. Assume
that you want dense layers at the bottom because you expect high gradients in the
simulation. In addition, you want a better resolution in the curved part of the
geometry. The following section shows how to achieve these goals.
) button.
By building the Size feature, it becomes the current feature node in the mesh
sequence after which the mapped mesh operation can be inserted.
3 Right-click the Mesh 1 node and select More Operations>Mapped.
4 Add boundary 1, which is highlighted in the figure below, to the Selection list.
50 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
This parameter controls the ratio in size between the last element and the first
element along the edge.
10 In the Distribution method list select Geometric sequence.
11 Right-click the Mapped 1 node and select Distribution.
12 Add Edges 2 and 4 to the Selection list of the Distribution 2 feature node.
) button.
15 Use the zoom and rotation features to magnify the modified mesh.
You have achieved the desired element distribution in the cross section. The mesh
looks to be adequate on the straight parts. However, the curved parts are not
resolved satisfactorily.
51
) button.
This defines the distribution in the opposite direction for the selected subdomain.
1 Right-click on the Swept 1 node and select Distribution.
2 In the Selection list select domains 1, 3 and 4, then click the Remove from Selection
) button.
The last step is to define the distribution for the curved parts.
7 Right-click on the Swept 1 node and select Distribution.
8 In the Selection list select domains 1 and 2, then click the Remove from Selection
) button.
52 |
C H A P T E R 3 : M E S H I N G TE C H N I Q U E S
) button.
Heat Sink
Introduction
This model is intended as a first introduction to simulations of fluid flow and conjugate
heat transfer. It is also a very useful model for exploring the modeling procedure in
COMSOL Multiphysics. More specifically, it demonstrates the use of three important
concepts:
The concept of sequencing. Each operation that you can use to set up a simulation
is displayed as a node in the Model Tree. As you proceed with your model, the
Model Tree forms a sequence of operations. You can make changes to any of the
nodes in the tree and then re-run the sequence of operations to update your model
according to the changes in the node settings.
The selection of materials in the Materials node. In this node, you can specify and
investigate materials and material properties for all the domains and for all physics
interfaces in your model.
The use of selections. In the Selections node, you can define selections of domains,
boundaries, edges, and points, which you can later use in other steps in the
modeling procedure.
Model Definition
The modeled system consists of an aluminum heat sink for cooling of components in
electronic circuits mounted inside a channel of rectangular cross section; see Figure 1.
Such a set-up is used in order to measure the cooling capacity of heat sinks. Air enters
the channel at the inlet and exits the channel at the outlet. The base surface of the heat
sink is kept at a constant temperature through an external heat source. All other
external faces are thermally insulated.
HEAT SINK
inlet
outlet
base surface
2 |
HEAT SINK
The thermal conductivity of aluminum, the thermal conductivity of air, the heat
capacity of air, and the air density are all temperature-dependent material properties.
You can find all of the settings mentioned above in the physics interface for Conjugate
Heat Transfer in COMSOL Multiphysics. You also find the material properties,
including their temperature dependence, in the Material Browser
Results
In Figure 2, the hot wake behind the heat sink visible in the plot is a sign of the
convective cooling effects.
Figure 2: The surface plot visualizes the temperature field on the channel walls and the
heat sink surface, while the arrow plot shows the flow velocity field around the heat sink.
HEAT SINK
Modeling Instructions
MODEL WIZARD
Parameters
1 In the Model Builder window, right-click Global Definitions and choose Parameters.
Define some parameters that you can use when specifying the channel dimensions.
2 Go to the Settings window for Parameters.
3 Locate the Parameters section. In the Parameters table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
L_channel
7[cm]
Channel length
W_channel
3[cm]
Channel width
H_channel
1.5[cm]
Channel height
U0
5[cm/s]
GEOMETRY 1
Import 1
1 In the Model Builder window, right-click Model 1>Geometry 1 and choose Import.
2 Go to the Settings window for Import.
3 Locate the Import section. Click the Browse button.
4 Browse to the models Model Library folder and double-click the file
heat_sink_n19.mphbin.
4 |
HEAT SINK
Rectangle 1
1 In the Model Builder window, right-click Geometry and choose Rectangle.
2 Go to the Settings window for Rectangle.
3 Locate the Size section. In the Width edit field, type L_channel.
4 In the Height edit field, type W_channel.
5 Locate the Position section. In the x edit field, type -4.5e-2.
6 In the y edit field, type -W_channel/2.
7 Click the Build Selected button.
Extrude 1
1 In the Model Builder window, right-click Work Plane 1 and choose Extrude.
2 Click the Go to Default 3D View button on the Graphics toolbar.
3 Go to the Settings window for Extrude.
4 Locate the Distances from Work Plane section. In the table, enter the following
settings:
DISTANCES (M)
H_channel
1 In the Model Builder window, right-click Model 1>Materials and choose Open Material
Browser.
2 Go to the Material Browser window.
3 Locate the Materials section. In the Materials tree, select Built-In>Air.
4 Right-click and choose Add Material to Model from the menu.
Air
By default, the first material you add applies to all domains. Typically, you can leave
this setting and add other materials that override the default material where applicable.
In this example, specify aluminum for Domain 2:
1 In the Model Builder window, right-click Materials and choose Open Material Browser.
2 Go to the Material Browser window.
3 Locate the Materials section. In the Materials tree, select Built-In>Aluminum
3003-H18.
HEAT SINK
Aluminum 3003-H18
1 In the Model Builder window, click Aluminum 3003-H18.
2 Select Domain 2 only.
C O N J U G A T E H E A T TR A N S F E R
Fluid 1
1 In the Model Builder window, right-click Model 1>Conjugate Heat Transfer and choose
Fluid.
2 Select Domain 1 only.
Inlet 1
1 In the Model Builder window, right-click Conjugate Heat Transfer and choose the
Outlet 1
1 In the Model Builder window, right-click Conjugate Heat Transfer and choose the
Temperature 1
1 In the Model Builder window, right-click Conjugate Heat Transfer and choose the
Temperature 2
1 In the Model Builder window, right-click Conjugate Heat Transfer and choose the
6 |
HEAT SINK
Outflow 1
1 In the Model Builder window, right-click Conjugate Heat Transfer and choose the
Free Tetrahedral 1
In the Model Builder window, right-click Model 1>Mesh 1 and choose Free Tetrahedral.
Size 1
1 In the Model Builder window, right-click Free Tetrahedral 1 and choose Size.
2 Go to the Settings window for Size.
3 Locate the Geometric Scope section. From the Geometric entity level list, select
Domain.
4 Select Domain 1 only.
5 Locate the Element Size section. From the Predefined list, select Finer.
6 Click the Build All button.
DEFINITIONS
Selection 1
1 In the Model Builder window, right-click Model 1>Definitions and choose Selection.
2 Go to the Settings window for Selection.
3 Locate the Geometric Scope section. From the Geometric entity level list, select
Boundary.
4 Right-click Selection 1 and choose Rename.
5 Go to the Rename Selection dialog box and type walls in the New name edit field.
6 Click OK.
7 Right-click Selection 1 and choose Select Box.
8 Select Boundaries 3 and 5114 only.
HEAT SINK
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 1 and choose
Add Selection.
2 Go to the Settings window for Selection.
3 Locate the Geometric Scope section. From the Geometric entity level list, select
Boundary.
4 From the Selection list, select walls.
3D Plot Group 1
1 In the Model Builder window, click Surface 1.
2 Go to the Settings window for Surface.
3 Locate the Coloring and Style section. From the Color table list, select Thermal.
4 In the Model Builder window, right-click 3D Plot Group 1 and choose Arrow Volume.
5 Go to the Settings window for Arrow Volume.
6 In the upper-right corner of the Expression section, click Replace Expression.
7 From the menu, choose Conjugate Heat Transfer (Laminar Flow)>Velocity field (u, v,
w).
8 Locate the Arrow Positioning section. Find the x grid points subsection. In the Points
8 |
HEAT SINK
2011 COMSOL
1 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Note: If you have already built the short model version described in Static and
Eigenfrequency Analyses of an Elbow Bracket, you can proceed directly to the section
Time-Dependent Analysis.
Model Definition
The geometry for this part, see Figure 1, has been created with a CAD software, and
it is available for you to import into COMSOL Multiphysics.
Material
Structural steel, as taken from the material library, with Youngs modulus of 200 GPa,
Poissons ratio of 0.33, and thermal expansion coefficient 12.310-6 K1.
Damping
The Structural Mechanics Module supports Rayleigh damping and loss factor
damping. You can also use no damping, which is the default option.
In some of the analyses here you will use Rayleigh damping, where you specify
damping parameters that are proportional to the mass (dM) and stiffness (dK) in the
following way:
C = dM M + dK K
where C is the damping matrix, M is the mass matrix, and K is the stiffness matrix. The
damping is specified locally in each domain; this means that you can specify different
damping parameters in different parts of the model.
To find the values for the Rayleigh damping, you can use the relations between the
critical damping ratio and the Rayleigh damping parameters. It is often easier to
interpret the critical damping ratios, which are given by
dM
--------- i + dK i
i = -------------------------------------------2
where i is the critical damping ratio at a specific angular frequency i. Knowing two
pairs of corresponding i and i results in a system of equations
2 |
VA R I O U S A N A LY S E S O F A N E L B O W B R A C KE T
2011 COMSOL
1 -
-----------------------1
( 2 1 ) 2 dM
dK
1
------------------- ------2
( 2 2 ) 2
1
2
2011 COMSOL
3 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Fixed face
Loaded face
Modeling Instructions
MODEL WIZARD
4 |
VA R I O U S A N A LY S E S O F A N E L B O W B R A C KE T
2011 COMSOL
6 Click Finish.
GEOMETRY 1
Import 1
1 In the Model Builder window, right-click Model 1>Geometry 1 and choose Import.
2 Go to the Settings window for Import.
3 Locate the Import section. From the Geometry import list, choose COMSOL
Multiphysics file.
4 Click the Browse button.
5 Browse to the models Model Library folder and double-click the file
elbow_bracket.mphbin.
The view in the Graphics window should look like that in the image below.
8 Click the Wireframe Rendering button on the Graphics toolbar to return to the
2011 COMSOL
5 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
MESH 1
Size
1 In the Model Builder window, right-click Model 1>Mesh 1 and choose Free
Tetrahedral.
The default free mesher has nine predefined combinations of mesh parameter
settings. They range from Extremely fine to Extremely coarse, with Normal as the
default setting. Unless any other mesh parameters are set, this is the setting that is
used if you use Build All or Build Selected to generate the mesh.
2 Go to the Settings window for Size.
3 Locate the Element Size section. From the Predefined list, choose Coarse.
4 Click the Build All button.
MATERIALS
Next, specify the material properties. You can do this either by explicitly typing them
in or by selecting a library material in the Material Browser. For this model, use a
library material.
1 In the Model Builder window, right-click Model 1>Materials and choose Open Material
Browser.
2 Go to the Material Browser window.
3 Locate the Materials section. In the Materials tree, select Built-In>Structural steel.
4 Right-click and choose Add Material to Model from the menu.
Static Analysis
A static analysis has no explicit or implicit time dependencies. This situation
corresponds to the steady state with constant (in time) boundary conditions and
material properties.
The purpose of such analysis can be to find the maximum stress level and compare it
with the materials yield strength, as well as to check that the deformation of the
component is within the limits of the design criteria.
6 |
VA R I O U S A N A LY S E S O F A N E L B O W B R A C KE T
2011 COMSOL
2011 COMSOL
7 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
8 |
VA R I O U S A N A LY S E S O F A N E L B O W B R A C KE T
2011 COMSOL
Modeling Instructions
SOLID MECHANICS
Fixed Constraint 1
1 In the Model Builder window, right-click Model 1>Solid Mechanics and choose Fixed
Constraint.
2 Select Boundary 1 only.
Boundary Load 1
1 In the Model Builder window, right-click Solid Mechanics and choose Boundary Load.
2 Select Boundary 29 only.
3 Go to the Settings window for Boundary Load.
4 Locate the Force section. Specify the FA vector as
3[MPa]
3[MPa]
STUDY 1
In this model, where there are many different studies, it is a good idea to assign manual
names to some features.
1 In the Model Builder window, right-click Study 1 and choose Rename.
2 Go to the Rename Study dialog box and type Study 1 (Static) in the New name
edit field.
3 Click OK.
The default settings in the generated solver sequence are OK for this model.
STUDY 1 (STATIC)
1 In the Model Builder window, right-click Study 1 (Static) and choose Compute.
Solver 1
1 In the Model Builder window, expand the Study 1 (Static)>Solver Configurations node.
2 Right-click Study 1 (Static)>Solver Configurations>Solver 1 and choose Rename.
2011 COMSOL
9 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
3 Go to the Rename Solver dialog box and type Static Sequence in the New name
edit field.
4 Click OK.
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 1 and choose
Rename.
2 Go to the Rename Solution dialog box and type Static Solution in the New name
edit field.
3 Click OK.
In the Results branch, you can create various plot types, evaluate expressions, or
animate the results. The result features can visualize any expression containing, for
example, the solution variables, their derivatives, and the space coordinates. Many
frequently used expressions are predefined as postprocessing variables, and they are
directly available in the Expression section menus for the various plot types.
When the solver finishes, two default plots appear. One shows total displacement as a
surface plot and the other shows the same quantity as a slice plot. Re-use these plot
groups, beginning by creating a volume plot of the von Mises stress with markers for
maximum and minimum values together with the deformed shape of the component.
For this purpose, modify the first plot group.
Stress (solid)
1 In the Model Builder window, right-click Results>Stress (solid) and choose Rename.
2 Go to the Rename 3D Plot Group dialog box and type Static Stress Contour in
Maximum 1
1 In the Model Builder window, right-click Model 1>Definitions and choose Maximum.
2 Go to the Settings window for Maximum.
10 |
2011 COMSOL
3 Locate the Source Selection section. From the Geometric entity level list, choose
Boundary.
4 From the Selection list, choose All boundaries.
Variables 1a
1 In the Model Builder window, right-click Definitions and choose Variables.
2 Go to the Settings window for Variables.
3 Locate the Variables section. In the Variables table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
U_max
maxop1(solid.disp)
Maximum deflection
STUDY 1 (STATIC)
Static Sequence
1 In the Model Builder window, right-click Study 1 (Static)>Solver Configurations>Static
Sequence and choose Solution>Update.
This step is necessary in order to access variables that were created after the solution
was performed.
RESULTS
Derived Values
1 In the Model Builder window, right-click Results>Derived Values and choose Global
Evaluation.
2 Go to the Settings window for Global Evaluation.
3 In the upper-right corner of the Expression section, click Replace Expression.
4 From the menu, choose Definitions>Maximum deflection (U_max).
5 Locate the Expression section. From the Unit list, choose mm.
6 Click the Evaluate button.
3D Plot Group 2
1 In the Model Builder window, right-click Results and choose 3D Plot Group.
2 Right-click Results>3D Plot Group 2 and choose Isosurface.
2011 COMSOL
11 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
With the following steps you can reproduce the principal stress arrow plot shown in
Figure 5:
3D Plot Group 3
1 Right-click Results and choose 3D Plot Group.
2 In the Model Builder window, right-click Results>3D Plot Group 3 and choose More
Plots>Principal Stress Volume.
3 Go to the Settings window for Principal Stress Volume.
4 Locate the Positioning section. Find the X grid points subsection. In the Points edit
10 Click OK.
11 Click the Go to Default 3D View button on the Graphics toolbar.
Eigenfrequency Analysis
An eigenfrequency analysis finds the eigenfrequencies and modes of deformation of a
component. The eigenfrequencies f in the structural mechanics field are related to the
eigenvalues returned by the solvers through
12 |
2011 COMSOL
f = --------2i
(1)
FREQUENCY
f1
417 Hz
f2
571 Hz
f3
1930 Hz
f4
2450 Hz
f5
3110 Hz
f6
3930 Hz
The mode shapes corresponding to the two lowest eigenfrequencies are shown in
Figure 6. The deformed plot indicates an oscillation in the xy-plane for the lowest
eigenfrequency, while the second lowest eigenmode shows an oscillation in the
yz-plane.
2011 COMSOL
13 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Modeling Instructions
Add a new study to your model.
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 Find the Studies subsection. In the tree, select Preset Studies>Eigenfrequency.
4 Click Finish.
STUDY 2
Solver 2
1 In the Model Builder window, right-click Study 2 (Eigenfrequency) and choose
Compute.
2 Expand the Study 2 (Eigenfrequency)>Solver Configurations node.
3 Right-click Study 2 (Eigenfrequency)>Solver Configurations>Solver 2 and choose
Rename.
4 Go to the Rename Solver dialog box and type Eigenfrequency Sequence in the
New name edit field.
5 Click OK.
14 |
2011 COMSOL
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 2 and choose
Rename.
2 Go to the Rename Solution dialog box and type Eigenfrequency Solution in the
New name edit field.
3 Click OK.
The displacement values do not have any real significance for an eigenmode plot such
as this one.
Take a look at the second mode as well.
4 In the Model Builder window, click Mode Shape (solid).
5 Go to the Settings window for 3D Plot Group.
6 Locate the Data section. From the Eigenfrequency list, choose 570.790707.
7 Click the Plot button.
edit field.
10 Click OK.
11 Right-click Mode Shape (solid) and choose Player to create a movie showing how the
elbow bracket would deform if subjected to a harmonic load with a frequency near
the selected eigenfrequency, in this case 570.6 Hz.
To play the movie again, click the Play button on the Graphics toolbar.
2011 COMSOL
15 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Export
The default sweep type is dynamic data extension. If you set the Sweep type to Stored
solutions and then click the Generate Frame button, you get an animation where each
frame corresponds to an eigenmode in the Eigenfrequency list. By using the Frame
number slider in the Frames section you can browse the eigenmodes.
1 In the Model Builder window, right-click Results>Export>Player 1 and choose
Rename.
2 Go to the Rename Player dialog box and type Mode Shapes in the New name edit
field.
3 Click OK.
FREQUENCY
UNDAMPED
FREQUENCY
f1
415+41.3i Hz
417 Hz
f2
568+56.6i Hz
571 Hz
f3
1885+397i Hz
1930 Hz
f4
2372+629i Hz
2450 Hz
f5
2946+996i Hz
3110 Hz
f6
3600+1577i Hz
3930 Hz
The relative damping of a certain mode is the ratio between the imaginary and the real
part. It can be seen that the relative damping increases rapidly as the natural frequency
increases. This is an effect of the Rayleigh damping model.
16 |
2011 COMSOL
Modeling Instructions
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 Find the Studies subsection. In the tree, select Preset Studies>Eigenfrequency.
4 Click Finish.
SOLID MECHANICS
Damping 1
1 In the Model Builder window, right-click Linear Elastic Material Model 1 and choose
Damping.
2 Go to the Settings window for Damping.
3 Locate the Damping Settings section. In the dM edit field, type 300.
4 In the dK edit field, type 3.2e-5.
STUDY 3
Solver 3
1 In the Model Builder window, right-click Study 3 (Damped Eigenfrequency) and choose
Compute.
2 Expand the Study 3 (Damped Eigenfrequency)>Solver Configurations node.
2011 COMSOL
17 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
choose Rename.
4 Go to the Rename Solver dialog box and type Damped Eigenfrequency Sequence
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 3 and choose
Rename.
2 Go to the Rename Solution dialog box and type Damped Eigenfrequency
Solution in the New name edit field.
3 Click OK.
The mode shape is very similar to the one obtained when solving the undamped
problem.
click Surface 1.
2 Go to the Settings window for Surface.
18 |
2011 COMSOL
3 Locate the Coloring and Style section. Clear the Color legend check box.
Time-Dependent Analysis
This analysis solves for the transient solution of the displacements and velocities as
functions of time. The material properties, forces, and boundary conditions can vary
in time.
The purpose of this analysis is to find the transient response from a harmonic load
during the first five periods. The excitation frequency is 500 Hz, which is between the
first and second eigenfrequencies found in the eigenfrequency analysis.
This load is applied on the face indicated in Figure 2. The expression for the load can
be written as
F x = 1.5 [ 1 + sin ( 2 500 t 2 ) ] MPa
(2)
2011 COMSOL
19 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
The following plot shows the x-displacement at a point on the loaded face:
20 |
2011 COMSOL
Modeling Instructions
If you are working from the beginning of this example, ignore the next four
instructions. If you are starting from the short model version described in Static and
Eigenfrequency Analyses of an Elbow Bracket, load that model as described here:
1 From the View menu, choose Model Library.
2 Go to the Model Library window.
3 In the Model Library tree, select Structural Mechanics Module>Tutorial Models>elbow
bracket brief.
4 Click Open.
MODEL WIZARD
Solving for five periods with an excitation frequency of 500 Hz means solving for 10
ms. Save the solution every 0.2 ms.
2011 COMSOL
21 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Solver 4
1 In the Model Builder window, expand the Study 4 (Time-Dependent)>Solver
Configurations node.
2 Right-click Study 4 (Time-Dependent)>Solver Configurations>Solver 4 and choose
Rename.
3 Go to the Rename Solver dialog box and type Time-Dependent Sequence in the
New name edit field.
4 Click OK.
Time-Dependent Sequence
1 In the Model Builder window, expand the Study 4 (Time-Dependent)>Solver
Configurations>Time-Dependent Sequence node, then click Time-Dependent Solver 1.
2 Go to the Settings window for Time-Dependent Solver.
3 Click to expand the Absolute Tolerance section.
4 In the Tolerance edit field, type 1e-5.
5 Click to expand the Time Stepping section.
6 Select the Time step increase delay check box. Keep the default value of 15.
This setting instructs the solver not to increase the time step until 15 consecutive
steps have been successful.
7 In the Amplification for high frequency edit field, type 0.95.
By raising this value from its default value of 0.75 you reduce the damping of high
frequencies.
You can reduce the file size significantly by not storing time derivatives when not
needed.
22 |
2011 COMSOL
Before computing the solution, prepare a plot for displaying the results during the
solution process.
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 4 and choose
Rename.
2 Go to the Rename Solution dialog box and type Time-Dependent Solution in the
New name edit field.
3 Click OK.
1D Plot Group 6
1 Right-click Results and choose 1D Plot Group.
2 Go to the Settings window for 1D Plot Group.
3 Locate the Data section. From the Data set list, choose Time-Dependent Solution.
4 Right-click Results>1D Plot Group 6 and choose Point Graph.
5 Select Point 30 only.
6 Go to the Settings window for Point Graph.
7 In the upper-right corner of the y-Axis Data section, click Replace Expression.
8 From the menu, choose Solid Mechanics>Displacement>Displacement field
(Material)>Displacement field, X component (u).
9 Locate the y-Axis Data section. From the Unit list, choose mm.
10 Select the Description check box.
11 In the associated edit field, type X displacement on loaded face.
12 In the Model Builder window, right-click 1D Plot Group 6 and choose Rename.
13 Go to the Rename 1D Plot Group dialog box and type Time-Dependent
Displacement Graphs in the New name edit field.
14 Click OK.
STUDY 4 (TIME-DEPENDENT)
2011 COMSOL
23 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
A new load is needed for this study. You could just change the existing one, but when
you have multiple studies it is better to have individual load features and disable the
ones not currently used.
Boundary Load 1
1 In the Model Builder window, right-click Boundary Load 1 and choose Rename.
2 Go to the Rename Boundary Load dialog box and type Static Load in the New name
edit field.
3 Click OK.
4 Right-click Boundary Load 1 and choose Disable.
Boundary Load 2
1 Right-click Solid Mechanics and choose Boundary Load.
2 In the Model Builder window, right-click Boundary Load 2 and choose Rename.
3 Go to the Rename Boundary Load dialog box and type Time-Dependent Load in the
New name edit field.
4 Click OK.
5 Select Boundary 29 only.
6 Go to the Settings window for Boundary Load.
7 Locate the Force section. Specify the FA vector as
1.5[MPa]*(1+sin(2*pi*500[Hz]*t-pi/2))
STUDY 4 (TIME-DEPENDENT)
In the Model Builder window, right-click Study 4 (Time-Dependent) and choose Compute.
24 |
2011 COMSOL
RESULTS
3D Plot Group 7
1 In the Model Builder window, right-click Results and choose 3D Plot Group.
2 Right-click Results>3D Plot Group 7 and choose Surface.
3 Go to the Settings window for Surface.
4 In the upper-right corner of the Expression section, click Replace Expression.
5 From the menu, choose Solid Mechanics>Stress>von Mises stress (solid.mises).
6 Right-click Surface 1 and choose Deformation.
7 In the Model Builder window, click 3D Plot Group 7.
8 Go to the Settings window for 3D Plot Group.
9 Locate the Data section. From the Data set list, choose Time-Dependent Solution.
10 From the Time list, choose 0.0036.
11 Click the Plot button.
Before generating a movie of the solution, you need to fix the scale factor for the
deformation; otherwise this factor is automatically adjusted for each movie frame in
such a way that the elbow does not move in the Graphics window.
12 In the Model Builder window, click Surface 1>Deformation 1.
13 Go to the Settings window for Deformation.
14 Locate the Scale section. Select the Scale factor check box.
15 In the Model Builder window, right-click 3D Plot Group 7 and choose Rename.
16 Go to the Rename 3D Plot Group dialog box and type Time-Dependent Stress
Contour in the New name edit field.
17 Click OK.
18 Right-click 3D Plot Group 7 and choose Player.
2011 COMSOL
25 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
You solve the same problem as in the previous section. Just as for the direct solution,
it is important that you set the absolute tolerance small enough.
Figure 9: x-displacement at a point on the loaded surface for full and modal analyses.
Figure 10 below shows the von Mises stress in the bracket at 0.0036 s. The maximum
value is 237 MPa, which can be compared with the 252 MPa computed using the
direct solution above. In general, more modes than what is needed to compute
accurate displacements are required to obtain good stress solutions.
26 |
2011 COMSOL
Modeling Instructions
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
2011 COMSOL
27 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
3 Find the Studies subsection. In the tree, select Custom Studies>Empty Study.
4 Click Finish.
SOLID MECHANICS
Time-Dependent Load
In the Model Builder window, right-click Model 1>Solid Mechanics>Time-Dependent Load
and choose Disable.
Boundary Load 3
1 Right-click Solid Mechanics and choose Boundary Load.
2 In the Model Builder window, right-click Boundary Load 3 and choose Rename.
3 Go to the Rename Boundary Load dialog box and type Modal Time-Dependent
Load in the New name edit field.
4 Click OK.
5 Select Boundary 29 only.
6 Go to the Settings window for Boundary Load.
7 Locate the Force section. Specify the FA vector as
1.5[MPa]
STUDY 5
28 |
2011 COMSOL
Solver 5
1 In the Model Builder window, right-click Study 5 (Modal Time-Dependent) and choose
Show Default Solver.
2 Expand the Study 5 (Modal Time-Dependent)>Solver Configurations node.
3 Right-click Study 5 (Modal Time-Dependent)>Solver Configurations>Solver 5 and
choose Rename.
4 Go to the Rename Solver dialog box and type Modal Time-Dependent Sequence
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 5 and choose
Rename.
2 Go to the Rename Solution dialog box and type Modal Time-Dependent Solution
Stress (solid)
Reproduce the plot in Figure 10 by following these instructions:
1 In the Model Builder window, click Stress (solid).
2 Go to the Settings window for 3D Plot Group.
3 Locate the Data section. From the Time list, choose 0.0036.
2011 COMSOL
29 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
7 Click OK.
Add the results from this study to the graph of the direct time dependent results, so
that the methods can be compared.
180
(3)
where F(f) is the amplitude and FPh(f) is the phase shift of the load.
The result of a frequency response analysis is a complex time-dependent displacement
field, which can be interpreted as an amplitude, uamp, and a phase angle, uphase. The
actual displacement at any point in time is the real part of the solution
30 |
2011 COMSOL
(4)
The software can visualize the amplitudes and phases as well as the solution at a specific
i
angle (time). When plotting, COMSOL Multiphysics multiplies the solution by e ,
where is the angle in radians that corresponds to the angle specified in degrees in
the Solution at angle (phase) edit field in the solution feature under the Data sets. The
plot then shows the real part of the evaluated expression
u = u amp cos ( + u phase )
(5)
The angle is available as the variable phase (radians) and can be used in plot
expressions.
The purpose of this analysis is to find the response from a harmonic load with an
excitation frequency in the range 350650 Hz, which includes the first two
eigenfrequencies found in the eigenfrequency analysis. The loads are
F x = 3 10
F z = 3 10
N/m
N/m
2
2
2011 COMSOL
31 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
32 |
2011 COMSOL
Modeling Instructions
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 Find the Studies subsection. In the tree, select Preset Studies>Frequency Domain.
4 Click Finish.
The load is the same as in the stationary study, so you can reuse the first load feature.
SOLID MECHANICS
Static Load
1 In the Model Builder window, right-click Model 1>Solid Mechanics>Modal
Time-Dependent Load and choose Disable.
2 Right-click Static Load and choose Enable.
STUDY 6
Solver 6
1 In the Model Builder window, right-click Study 6 (Frequency Domain) and choose
Compute.
2 Expand the Study 6 (Frequency Domain)>Solver Configurations node.
3 Right-click Study 6 (Frequency Domain)>Solver Configurations>Solver 6 and choose
Rename.
2011 COMSOL
33 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
4 Go to the Rename Solver dialog box and type Frequency Domain Sequence in the
New name edit field.
5 Click OK.
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 6 and choose
Rename.
2 Go to the Rename Solution dialog box and type Frequency Domain Solution in
Stress (solid)
1 In the Model Builder window, expand the Stress (solid) node, then click Surface 1.
2 Go to the Settings window for Surface.
3 Locate the Expression section. From the Unit list, choose MPa.
4 Click the Plot button.
5 In the Model Builder window, right-click Stress (solid) and choose Rename.
6 Go to the Rename 3D Plot Group dialog box and type Frequency-Response Stress
Contour in the New name edit field.
34 |
2011 COMSOL
7 Click OK.
Add a 1D plot group and reproduce the displacement amplitude graphs in Figure 11.
1D Plot Group 10
1 Right-click Results and choose 1D Plot Group.
2 Go to the Settings window for 1D Plot Group.
3 Locate the Data section. From the Data set list, choose Frequency Domain Solution.
4 Locate the Title section. From the Title type list, choose Manual.
5 In the Title text area, type Displacement amplitudes.
6 Right-click Results>1D Plot Group 10 and choose Rename.
7 Go to the Rename 1D Plot Group dialog box and type Frequency Response
Displacement Graphs in the New name edit field.
8 Click OK.
10 In the Model Builder window, right-click Frequency Response Displacement Graphs and
2011 COMSOL
35 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
19 In the Model Builder window, right-click Frequency Response Displacement Graphs and
Click the Plot button.Compare the resulting plot with that in Figure 11.
36 |
2011 COMSOL
Figure 12: Displacement amplitudes vs. excitation frequency for direct and modal
frequency-response analyses.
Modeling Instructions
SOLID MECHANICS
Static Load
In the Model Builder window, right-click Model 1>Solid Mechanics>Static Load and
choose Disable.
Boundary Load 4
1 Right-click Solid Mechanics and choose Boundary Load.
2 In the Model Builder window, right-click Boundary Load 4 and choose Rename.
3 Go to the Rename Boundary Load dialog box and type Modal Frequency Load in
2011 COMSOL
37 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
4 Click OK.
5 Select Boundary 29 only.
6 Go to the Settings window for Boundary Load.
7 Locate the Force section. Specify the FA vector as
linper(3)[MPa]
linper(3)[MPa]
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 In the Studies tree, select Custom Studies>Empty Study.
4 Click Finish.
STUDY 7
3 Click OK.
STUDY 7 (MODAL FREQUENCY RESPONSE)
Solver 7
1 In the Model Builder window, right-click Study 7 (Modal Frequency Response) and
choose Rename.
38 |
2011 COMSOL
4 Go to the Rename Solver dialog box and type Modal Frequency-Domain Sequence
choose Compute.
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 7 and choose
Rename.
2 Go to the Rename Solution dialog box and type Modal Frequency-Domain
Solution in the New name edit field.
3 Click OK.
Stress (solid)
1 In the Model Builder window, expand the Stress (solid) node, then click Surface 1.
2 Go to the Settings window for Surface.
3 Locate the Expression section. From the Unit list, select MPa.
2011 COMSOL
39 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
5 In the Model Builder window, right-click Stress (solid) and choose Rename.
6 Go to the Rename 3D Plot Group dialog box and type Modal Frequency-Response
Stress Contour in the New name edit field.
7 Click OK.
40 |
2011 COMSOL
9 Find the Line markers subsection. From the Marker list, choose Asterisk.
10 Locate the Legends section. Select the Show legends check box.
11 From the Legends list, choose Manual.
12 In the table, enter the following settings:
LEGENDS
X (modal)
13 In the Model Builder window, right-click Frequency Response Displacement Graphs and
Y(modal)
25 In the Model Builder window, right-click Frequency Response Displacement Graphs and
2011 COMSOL
41 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Z(modal)
Parametric Analysis
A parametric analysis solves for the response as a function of a parameter. You can freely
define the parameter name and what it affects; it can be a material property, a load
parameter, or some other expression.
The purpose of this example is to find the response to static loading of the bracket as
a function of the direction of the load parameterized by the angle .
Apply the load on the face shown in Figure 2. To control the direction of the load,
introduce a parameter in the load expressions:
F x = 3 cos ( 180 ) MPa
F z = 3 sin ( 180 ) MPa
(6)
where is the angle of the load direction in the xz-plane. Let 45 45.
42 |
2011 COMSOL
Modeling Instructions
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 Find the Studies subsection. In the tree, select Preset Studies>Stationary.
4 Click Finish.
STUDY 8
2011 COMSOL
43 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
2 Go to the Rename Study dialog box and type Study 8 (Parametric Static) in
It is necessary to define the parameters to be used. The values given here do not
influence the parametric solver, but can be used for tests outside it.
GLOBAL DEFINITIONS
Parameters
1 In the Model Builder window, right-click Global Definitions and choose Parameters.
2 Go to the Settings window for Parameters.
3 Locate the Parameters section. In the Parameters table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
alpha
-45
Solver parameter
Boundary Load 5
1 Right-click Solid Mechanics and choose Boundary Load.
2 In the Model Builder window, right-click Boundary Load 5 and choose Rename.
3 Go to the Rename Boundary Load dialog box and type Parametric Load in the New
name edit field.
4 Click OK.
5 Select Boundary 29 only.
6 Go to the Settings window for Boundary Load.
7 Locate the Force section. Specify the FA vector as
44 |
3[MPa]*cos(alpha*pi/180)
3[MPa]*sin(alpha*pi/180)
2011 COMSOL
Parametric Sweep
1 In the Model Builder window, click Study 8 (Parametric Static)>Parametric Sweep.
2 Go to the Settings window for Parametric Sweep.
3 Locate the Study Settings section. Under Parameter names, click Add.
4 Go to the Add dialog box.
5 In the Parameter names list, select alpha (Solver parameter).
6 Click the OK button.
7 Go to the Settings window for Parametric Sweep.
8 Locate the Study Settings section. In the Parameter values edit field, type
range(-45,5,45).
Solver 8
1 In the Model Builder window, right-click Study 8 (Parametric Static) and choose
Compute.
2 Expand the Study 8 (Parametric Static)>Solver Configurations node.
3 Right-click Study 8 (Parametric Static)>Solver Configurations>Solver 8 and choose
Rename.
4 Go to the Rename Solver dialog box and type Parametric Static Sequence in the
New name edit field.
5 Click OK.
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 8 and choose
Rename.
2 Go to the Rename Solution dialog box and type Parametric Static Solution in
Stress (solid)
In the Model Builder window, right-click Results>Stress (solid) and choose Delete.
1D Plot Group 12
1 Right-click Results and choose 1D Plot Group.
2011 COMSOL
45 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
46 |
2011 COMSOL
26 Locate the Legends section. In the table, enter the following settings:
LEGENDS
30 Click OK.
2011 COMSOL
47 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
Modeling Instructions
MODEL WIZARD
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 Find the Studies subsection. In the tree, select Preset Studies>Linear Buckling.
4 Click Finish.
48 |
2011 COMSOL
SOLID MECHANICS
Next, set up the buckling pre-load, beginning by disabling the parametric load.
Parametric Load
In the Model Builder window, right-click Parametric Load and choose Disable.
Boundary Load 6
1 Right-click Solid Mechanics and choose Boundary Load.
2 In the Model Builder window, right-click Boundary Load 6 and choose Rename.
3 Go to the Rename Boundary Load dialog box and type Buckling Pre-Load in the
New name edit field.
4 Click OK.
5 Select Boundary 29 only.
6 Go to the Settings window for Boundary Load.
7 Locate the Force section. From the Load type list, choose Total force.
8 Specify the Ftot vector as
0
1[kN]
STUDY 9
Solver 9
1 In the Model Builder window, right-click Study 9 (Linear Buckling) and choose
Compute.
2 Expand the Study 9 (Linear Buckling)>Solver Configurations node.
3 Right-click Study 9 (Linear Buckling)>Solver Configurations>Solver 9 and choose
Rename.
4 Go to the Rename Solver dialog box and type Linear Buckling Sequence in the
New name edit field.
2011 COMSOL
49 |
VA R I O U S A N A LY S E S O F A N E L B OW B R A C KE T
5 Click OK.
RESULTS
Data Sets
1 In the Model Builder window, right-click Results>Data Sets>Solution 9 and choose
Rename.
2 Go to the Rename Solution dialog box and type Linear Buckling Solution in the
New name edit field.
3 Click OK.
4 Right-click Solution 10 and choose Rename.
5 Go to the Rename Solution dialog box and type Linear Buckling Pre-Load
Solution in the New name edit field.
6 Click OK.
Export
1 In the Model Builder window, right-click Results>Export>Player 2 and choose
Rename.
2 Go to the Rename Player dialog box and type Time-Dependent Stress Contour
50 |
2011 COMSOL
Tube Connection
Introduction
A tube connection consisting of a flange with four prestressed bolts is subjected to
tensile forces. A sketch of the connection is shown below.
Model Definition
The tube is made of steel and has an outer diameter of 220 millimeters and an inner
diameter of 200 millimeters. The flange has a diameter of 360 millimeters and it is
30 millimeters thick. The connection consists of four prestressed M24 bolts. The bolts
are prestressed to 80% of the yield strength. The tensile force in the tube varies from 0
to 500 kN.
To compute the influence of the tensile force on the stress level in the bolt, the model
includes a parametric analysis. Because of symmetry in both load and geometry, you
only need to analyze one eighth of one of the flanges. The geometry has been created
in the CAD software SolidWorks and is available as an IGES file.
Two contact regions are modeled. One contact pair acts between the bottom surface
of the flange and the top surface of an additional fixed solid which supplies the
symmetry condition with respect to contact. The other contact pair acts between the
washer under the bolt head and the flange.
TU B E C O N N E C T I O N
Note: This model requires both the Structural Mechanics Module and the CAD
Import Module.
2 |
TU B E C O N N E C T I O N
constant over the cross section. Furthermore a stress of the order 300 MPa has
developed at the outer edge of the flange.
TU B E C O N N E C T I O N
Figure 4: The development of the bolt stress at two different positions in the cross section.
4 |
TU B E C O N N E C T I O N
The plots of the contact pressure between the mating flanges shown in Figure 5 and
Figure 6 are informative. In the first plot the contact pressure after bolt pretensioning
is shown. It can be seen that there are too few bolts, since almost no contact pressure
is established over a large part of the flange. When the full external load is applied, the
flanges are separating even directly under the bolts and the contact region has moved
outwards. This explains the high stress seen at the outer edge of the flange.
TU B E C O N N E C T I O N
6 |
TU B E C O N N E C T I O N
Modeling Instructions
MODEL WIZARD
Parameters
1 In the Model Builder window, right-click Global Definitions and choose Parameters.
2 Go to the Settings window for Parameters.
3 Locate the Parameters section. In the Parameters table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
A_tube
pi/
4*(0.22^2-0.2^2)[m^
2]
Tube area
S_pre
800[MPa]*0.8*0.8
Di_wash
25[mm]
Do_wash
45[mm]
T_wash
4[mm]
Washer thickness
Do_bolthead
38[mm]
Bolthead diameter
H_bolthead
15[mm]
Bolthead height
As_bolt
353[mm^2]
Ds_bolt
sqrt(4/pi*As_bolt)
F_pre
S_pre*As_bolt
Pretension force
R_bc
150[mm]
TU B E C O N N E C T I O N
NAME
EXPRESSION
F_tube
500[kN]
DESCRIPTION
loadpar
GEOMETRY 1
Import 1
1 In the Model Builder window, right-click Model 1>Geometry 1 and choose Import.
2 Go to the Settings window for Import.
3 Locate the Import section. Click the Browse button.
4 Browse to the models Model Library folder and double-click the file
tube_connection.igs.
Cut out 1/8 of the structure to make use of the repetitive symmetry.
Work Plane 1
1 In the Model Builder window, right-click Geometry 1 and choose Work Plane.
2 Click the Zoom Extents button on the Graphics toolbar.
Rectangle 1
1 In the Model Builder window, right-click Work Plane 1>Geometry and choose
Rectangle.
2 Go to the Settings window for Rectangle.
3 Locate the Position section. In the y edit field, type -0.1.
4 Locate the Size section. In the Width edit field, type 0.2.
5 In the Height edit field, type 0.3.
6 Click the Build All button.
Revolve 1
1 In the Model Builder window, right-click Work Plane 1 and choose Revolve.
2 Go to the Settings window for Revolve.
3 Locate the Revolution Angles section. In the End angle edit field, type 45.
4 Click the Build All button.
8 |
TU B E C O N N E C T I O N
Intersection 1
1 In the Model Builder window, right-click Geometry 1 and choose Boolean
Operations>Intersection.
2 Select the objects imp1 and rev1 only.
3 Click the Build All button.
4 Click the Zoom Extents button on the Graphics toolbar.
Work Plane 2
1 In the Model Builder window, right-click Geometry 1 and choose Work Plane.
2 Click the Zoom Extents button on the Graphics toolbar.
Bzier Polygon 1
1 In the Model Builder window, right-click Work Plane 1>Geometry and choose Bzier
Polygon.
2 Go to the Settings window for Bzier Polygon.
3 Locate the Polygon Segments section. Click the Add Linear button.
4 Find the Control points subsection. In row 1, set x to R_bc.
5 In row 1, set y to -0.03.
6 In row 2, set x to R_bc+Ds_bolt/2 and y to -0.03.
7 Click the Add Linear button.
8 In row 2, set y to T_wash.
9 Click the Add Linear button.
10 In row 2, set x to R_bc+Di_wash/2.
11 Click the Add Linear button.
12 In row 2, set y to 0.
13 Click the Add Linear button.
14 In row 2, set x to R_bc+Do_wash/2.
15 Click the Add Linear button.
16 In row 2, set y to T_wash.
17 Click the Add Linear button.
18 In row 2, set x to R_bc+Do_bolthead/2.
19 Click the Add Linear button.
20 In row 2, set y to T_wash+H_bolthead.
TU B E C O N N E C T I O N
Add a region for prestrain application. The size is not important, but it is reasonable
to make it of same order as the bolt diameter, in order not to impose any unnecessary
constraints on the mesh size.
Rectangle 1
1 In the Model Builder window, right-click Work Plane 2>Geometry and choose
Rectangle.
2 Go to the Settings window for Rectangle.
3 Locate the Position section. In the x edit field, type R_bc.
4 In the y edit field, type -0.03.
5 Locate the Size section. In the Width edit field, type Ds_bolt/2.
6 In the Height edit field, type 10[mm].
7 Click the Build All button.
Copy 1
1 In the Model Builder window, right-click Work Plane 2>Geometry and choose
Transforms>Copy.
2 Select the object r1 only.
3 Go to the Settings window for Copy.
4 Locate the Displacement section. In the y edit field, type 0.01.
5 Click the Build All button.
Union 1
1 In the Model Builder window, right-click Work Plane 2>Geometry and choose Boolean
Operations>Union.
2 Select the objects r1, copy1, and b1 only.
3 Click the Build All button.
Revolve 2
1 In the Model Builder window, right-click 1>Work Plane 2 and choose Revolve.
2 Go to the Settings window for Revolve.
10 |
TU B E C O N N E C T I O N
3 Locate the Revolution Angles section. In the End angle edit field, type 180.
4 Locate the Point on the Revolution Axis section. In the x edit field, type R_bc.
5 Click the Build All button.
Form Union
1 In the Model Builder window, click Form Union.
2 Go to the Settings window for Finalize.
3 Locate the Finalize section. From the Finalization method list, select Form an assembly.
4 Click the Build All button.
Block 1
1 In the Model Builder window, right-click Geometry 1 and choose Block.
2 Go to the Settings window for Block.
3 Locate the Size and Shape section. In the Width edit field, type 0.15.
4 In the Depth edit field, type 0.01.
5 In the Height edit field, type 0.15.
6 Locate the Position section. In the x edit field, type 0.05.
7 In the y edit field, type -0.04.
8 In the z edit field, type -0.14.
9 Click the Build All button.
10 Click in the Graphics window, Press Ctrl+A, and then right-click to select all objects.
11 Click the Zoom Selected button on the Graphics toolbar.
TU B E C O N N E C T I O N
11
This completes the geometry modeling stage. The geometry should now look like that
in the figure below.
DEFINITIONS
1 In the Model Builder window, right-click Model 1>Definitions and choose Contact Pair.
2 Select Boundary 5 only.
3 Go to the Settings window for Contact Pair.
4 In the upper-right corner of the Destination Boundaries section, click Activate
Selection.
5 Select Boundary 9 only.
6 In the Model Builder window, right-click Definitions and choose Contact Pair.
7 Select Boundary 13 only.
8 Go to the Settings window for Contact Pair.
9 In the upper-right corner of the Destination Boundaries section, click Activate
Selection.
10 Select Boundaries 20 and 43 only.
Set up an integration through the bolt, so that the axial force can be computed from
the stress.
12 |
TU B E C O N N E C T I O N
Integration 1
1 In the Model Builder window, right-click Definitions and choose Model
Couplings>Integration.
2 Go to the Settings window for Integration.
3 Locate the Operator Name section. In the Operator name edit field, type IntSec.
4 Locate the Source Selection section. From the Geometric entity level list, select
Boundary.
5 Select Boundaries 33 and 40 only.
Create a variable for the current bolt force, taking the symmetry into account.
Variables 1
1 In the Model Builder window, right-click Definitions and choose Variables.
2 Go to the Settings window for Variables.
3 Locate the Variables section. In the Variables table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
F_bolt
2*IntSec(solid.sy)
Bolt force
MATERIALS
1 In the Model Builder window, right-click Model 1>Materials and choose Open Material
Browser.
2 Go to the Material Browser window.
3 Locate the Materials section. In the Materials tree, select Built-In>Structural steel.
4 Right-click and choose Add Material to Model from the menu.
SOLID MECHANICS
Fixed Constraint 1
1 In the Model Builder window, right-click Model 1>Solid Mechanics and choose
More>Fixed Constraint.
2 Select Domain 1 only.
Symmetry 1
1 In the Model Builder window, right-click Solid Mechanics and choose Symmetry.
TU B E C O N N E C T I O N
13
2 Select Boundaries 8, 14, 17, 18, 27, 28, 30, 34, 36, 39, and 42 only.
You can do this by first copying the text 8, 14, 17, 18, 27, 28, 30, 34, 36, 39, and
42 and then clicking the Paste Selection button next to the Selection box or clicking
in the box and pressing Ctrl+V.
Contact 1
1 In the Model Builder window, right-click Solid Mechanics and choose Pairs>Contact.
2 Go to the Settings window for Contact.
3 Locate the Pair Selection section. In the Pairs list, select Contact Pair 1.
4 Locate the Normal Contact section. In the pn edit field, type
min(1e-3*5^segiter,1)*solid.E/h*50.
5 Locate the Initial Values section. In the Tn edit field, type S_pre/30.
Contact 2
1 In the Model Builder window, right-click Solid Mechanics and choose Pairs>Contact.
2 Go to the Settings window for Contact.
3 Locate the Pair Selection section. In the Pairs list, select Contact Pair 2.
4 Locate the Normal Contact section. In the pn edit field, type
min(1e-3*5^segiter,1)*solid.E/h*50.
5 Locate the Initial Values section. In the Tn edit field, type S_pre/3.
Boundary Load 1
1 In the Model Builder window, right-click Solid Mechanics and choose Boundary Load.
2 Select Boundary 10 only.
3 Go to the Settings window for Boundary Load.
4 Locate the Force section. Specify the F vector as
0
loadpar*F_tube/A_tube
14 |
TU B E C O N N E C T I O N
Global Equations 1
1 In the Model Builder window, expand the ODEs and DAEs node, then click Global
Equations 1.
2 Go to the Settings window for Global Equations.
3 Locate the Global Equations section. In the table, enter the following settings:
NAME
EQUATION F(U,UT,UTT,T)
eps_p
F_pre-F_bolt
-S_pre/2E11[Pa]*0.75*7
A reasonable initial guess for the prestrain is based on that 75% of the deformation
occurs in the bolt, and that the region you are using for prestrain here is roughly 1/
7 of the total bolt length.
SOLID MECHANICS
settings:
0
eps_p
MESH 1
Mapped 1
1 In the Model Builder window, right-click Model 1>Mesh 1 and choose More
Operations>Mapped.
2 Select Boundary 5 only.
Size 1
1 Right-click Mapped 1 and choose Size.
2 Go to the Settings window for Size.
TU B E C O N N E C T I O N
15
3 Locate the Element Size section. From the Predefined list, select Coarse.
4 Click the Build All button.
Swept 1
1 In the Model Builder window, right-click Mesh 1 and choose Swept.
2 Go to the Settings window for Swept.
3 Locate the Domains section. From the Geometric entity level list, select Domain.
4 Select Domain 1 only.
Distribution 1
1 Right-click Swept 1 and choose Distribution.
2 Go to the Settings window for Distribution.
3 Locate the Distribution section. In the Number of elements edit field, type 1.
4 Click the Build All button.
Free Tetrahedral 1
1 In the Model Builder window, right-click Mesh 1 and choose Free Tetrahedral.
2 Go to the Settings window for Free Tetrahedral.
3 Locate the Domains section. From the Geometric entity level list, select Domain.
4 Select Domain 2 only.
5 Click the Build All button.
Edge 1
1 In the Model Builder window, right-click Mesh 1 and choose More Operations>Edge.
2 Select Edge 98 only.
Distribution 1
1 Right-click Edge 1 and choose Distribution.
2 Select Edge 98 only.
3 Go to the Settings window for Distribution.
4 Locate the Distribution section. In the Number of elements edit field, type 3.
Swept 2
1 In the Model Builder window, right-click Mesh 1 and choose Swept.
2 Go to the Settings window for Swept.
3 In the upper-right corner of the Source Faces section, click Activate Selection.
4 Click to expand the Source Faces section.
16 |
TU B E C O N N E C T I O N
Size 1
1 Right-click Swept 2 and choose Size.
2 Go to the Settings window for Size.
3 Locate the Element Size section. From the Predefined list, select Extremely fine.
Distribution 1
1 In the Model Builder window, right-click Swept 2 and choose Distribution.
2 Go to the Settings window for Distribution.
3 Locate the Distribution section. In the Number of elements edit field, type 8.
4 Click the Build All button.
STUDY 1
1 In the Model Builder window, right-click Study 1 and choose Show Default Solver.
2 Expand the Study 1>Solver Configurations node.
Solver 1
1 In the Model Builder window, expand the Solver Configurations>Solver 1 node, then
TU B E C O N N E C T I O N
17
The default solver sequence segregates the ODE variable from the displacement
variables, which is not what you want to do. Modify the segregated groups as
follows:
13 In the Model Builder window, expand the Stationary Solver 1>Segregated 1 node.
14 Right-click Stationary Solver 1>Segregated 1>Segregated Step 1 and choose Delete.
15 In the Confirm Delete dialog box, click Yes.
16 Go to the Settings window for Segregated Step.
17 Locate the General section. Under Variables, click Add.
18 Go to the Add dialog box.
19 In the Variables list, select mod1_ODE1.
20 Click the OK button.
21 In the Model Builder window, right-click Stationary Solver 1>Segregated 1>Lumped
Step 1 and choose Delete.
22 In the Confirm Delete dialog box, click Yes.
23 In the Model Builder window, right-click Stationary Solver 1>Segregated 1 and choose
Segregated Step.
24 Go to the Settings window for Segregated Step.
25 Locate the General section. Under Variables, click Add.
26 Go to the Add dialog box.
27 In the Variables list, select mod1_solid_Tn_p1 and mod1_solid_Tn_p2.
28 Click the OK button.
29 In the Model Builder window, right-click Study 1 and choose Compute.
RESULTS
3D Plot Group 1
1 In the Model Builder window, expand the Results>3D Plot Group 1 node, then click
Surface 1.
2 Go to the Settings window for Surface.
3 In the upper-right corner of the Expression section, click Replace Expression.
4 From the menu, choose Solid Mechanics>Stress tensor>Stress tensor y (solid.sy).
5 Click to expand the Range section.
18 |
TU B E C O N N E C T I O N
1 In the Model Builder window, right-click the root node and choose Add Study.
2 Go to the Model Wizard window.
3 In the Studies tree, select Preset Studies for Selected Physics>Stationary.
4 Click Finish.
STUDY 2
In the Model Builder window, right-click Study 2 and choose Show Default Solver.
Solver 2
1 In the Model Builder window, expand the Study 2>Solver Configurations>Solver 2
The pre-tension strain is to be kept constant during the application of the external
load, so it should not be solved for.
13 In the Model Builder window, click Dependent Variables 1>mod1_ODE1.
14 Go to the Settings window for State.
15 Locate the General section. Clear the Solve for this state check box.
TU B E C O N N E C T I O N
19
16 In the Model Builder window, expand the Stationary Solver 1>Segregated 1 node.
17 Right-click Stationary Solver 1>Segregated 1>Segregated Step 1 and choose Disable.
18 Right-click Stationary Solver 1>Segregated 1>Lumped Step 1 and choose Delete.
19 In the Confirm Delete dialog box, click Yes.
20 In the Model Builder window, right-click Stationary Solver 1>Segregated 1 and choose
Segregated Step.
21 Go to the Settings window for Segregated Step.
22 Locate the General section. Under Variables, click Add.
23 Go to the Add dialog box.
24 In the Variables list, select mod1_solid_Tn_p1 and mod1_solid_Tn_p2.
25 Click the OK button.
26 In the Model Builder window, right-click Stationary Solver 1 and choose Parametric.
27 Go to the Settings window for Parametric.
28 Locate the General section. In the Parameter names edit field, type loadpar.
29 In the Parameter values edit field, type range(0,0.1,1).
Because the contact is well established, the contact iterations do not need the
smooth ramping of the penalty factor.
SOLID MECHANICS
Contact 1
1 In the Model Builder window, click Contact 1.
2 Go to the Settings window for Contact.
3 Locate the Normal Contact section. In the pn edit field, type solid.E/
solid.hmin_dst*50.
Contact 2
1 In the Model Builder window, click Contact 2.
2 Go to the Settings window for Contact.
3 Locate the Normal Contact section. In the pn edit field, type solid.E/
solid.hmin_dst*50.
STUDY 2
20 |
TU B E C O N N E C T I O N
RESULTS
3D Plot Group 3
1 In the Model Builder window, expand the Results>3D Plot Group 3 node, then click
Surface 1.
2 Go to the Settings window for Surface.
3 In the upper-right corner of the Expression section, click Replace Expression.
4 From the menu, choose Solid Mechanics>von Mises stress (solid.mises).
5 Go to the Settings window for Surface.
6 Locate the Range section. Select the Manual color range check box.
7 In the Maximum edit field, type 5e8.
8 Click the Plot button.
Proceed to plot the bolt force as a function of the tensile force as in Figure 3.
1D Plot Group 5
1 In the Model Builder window, right-click Results and choose 1D Plot Group.
2 Go to the Settings window for 1D Plot Group.
3 Locate the Data section. From the Data set list, select Solution 2.
4 Right-click Results>1D Plot Group 5 and choose Global.
5 Go to the Settings window for Global.
6 Locate the Expressions section. In the Expressions table, enter the following settings:
EXPRESSION
F_bolt/1000
TU B E C O N N E C T I O N
21
16 Locate the Plot Settings section. In the x-axis label edit field, type Axial force on
tube (kN).
17 In the y-axis label edit field, type Axial force in bolt (kN).
18 Click the Plot button.
1D Plot Group 6
1 In the Model Builder window, right-click Results and choose 1D Plot Group.
2 Go to the Settings window for 1D Plot Group.
3 Locate the Data section. From the Data set list, select Solution 2.
4 Right-click Results>1D Plot Group 6 and choose Point Graph.
5 Select Vertices 33 and 51 only.
6 Go to the Settings window for Point Graph.
7 In the upper-right corner of the Expression section, click Replace Expression.
8 From the menu, choose Solid Mechanics>Stress tensor>Stress tensor y (solid.sy).
9 Locate the Expression section. From the Unit list, select MPa.
10 Locate the X-Axis Data section. From the Parameter list, select Expression.
11 In the Expression edit field, type 500*loadpar.
12 Click to expand the Coloring and Style section.
13 Find the Line style subsection. From the Line list, select Cycle.
14 In the Width edit field, type 2.
15 Click to expand the Legends section.
16 Select the Show legends check box.
17 From the Legends list, select Manual.
18 In the table, enter the following settings:
LEGENDS
Outside
Inside
22 |
TU B E C O N N E C T I O N
Finally, reproduce the contact pressure plots shown in Figure 5 and Figure 6:
3D Plot Group 7
1 In the Model Builder window, right-click Results and choose 3D Plot Group.
2 Right-click Results>3D Plot Group 7 and choose Surface.
3 Go to the Settings window for Surface.
4 In the upper-right corner of the Expression section, click Contact pressure, contact
pair p1 (solid.Tn_p1).
5 Locate the Range section. Select the Manual color range check box.
6 In the Maximum edit field, type 1e8.
7 Click the Plot button.
8 Locate the Data section. From the Data set list, select Solution 2.
9 Click the Plot button.
TU B E C O N N E C T I O N
23
24 |
TU B E C O N N E C T I O N
Tutorial: 6
A L E Flui d- S t r uc t u re In t erac t i on
Introduction
The following example demonstrates techniques for modeling fluid-structure
interactions in COMSOL Multiphysics. It illustrates how fluid flow can deform
structures and how to solve for the flow in a continuously deforming geometry using
the arbitrary Lagrangian-Eulerian (ALE) technique.
The model geometry consists of a horizontal flow channel in the middle of which is an
obstacle, a narrow vertical structure (Figure 1). The fluid flows from left to right,
except where the obstacle forces it into a narrow path in the upper part of the channel,
and it imposes a force on the structures walls resulting from the viscous drag and fluid
pressure. The structure, being made of a deformable material, bends under the applied
load. Consequently, the fluid flow also follows a new path, so solving the flow in the
original geometry would generate incorrect results.
The ALE method handles the dynamics of the deforming geometry and the moving
boundaries with a moving grid. COMSOL Multiphysics computes new mesh
coordinates on the channel area based on the movement of the structures boundaries
and mesh smoothing. The Navier-Stokes equations that solve the flow are formulated
for these moving coordinates.
The structural mechanics portion of the model does not require the ALE method, and
COMSOL Multiphysics solves it in a fixed coordinate system as usual. However, the
strains the model computes in this way are the only source for computing the
deformed coordinates with ALE.
Figure 1: Fluid flows into this horizontal flow channel from the left, and it enters with a
parabolic velocity profile. A narrow vertical structure in the channel (the straight vertical
structure) forces the flow into a narrow path. Due to fluid pressure and viscous drag, the
originally vertical structure bends. This simulation models the fluid flow in a deformed,
moving mesh that follows the movement of the bending structure.
Model Definition
In this example the flow channel is 100 m high and 300 m long. The vertical
structure5 m wide, 50 m high, and with a semicircular topsits 100 m away
from the channels left boundary. Assume that the structure is long in the direction
perpendicular to the image.
The fluid is a water-like substance with a density = 1000 kg/m3 and dynamic
viscosity = 0.001 Pas. To demonstrate the desired techniques, assume the structure
consists of a flexible material with a density = 7850 kg/m3 and Youngs modulus
E = 200 kPa.
FLUID FLOW
u
T
[ p I + ( u + ( u ) ) ] + ( ( u um ) )u = F
t
(1)
u = 0
In these equations, I denotes the unit diagonal matrix and F is the volume force
affecting the fluid. Assume that no gravitation or other volume forces affect the fluid,
so that F = 0. The coordinate system velocity is um = (um, vm).
At the channel entrance on the left, the flow has fully developed laminar characteristics
with a parabolic velocity profile but its amplitude changes with time. At first flow
increases rapidly, reaching its peak value at 0.215 s; thereafter it gradually decreases to
a steady-state value of 5 cm/s. The centerline velocity in the x direction, uin (see
Figure 4), with the steady-state amplitude U comes from the equation
2
Ut
u in = ----------------------------------------------------------2 2
2
( 0.04 t ) + ( 0.1t )
(2)
The structural deformations are solved for using an elastic formulation and a nonlinear
geometry formulation to allow large deformations.
The obstacle is fixed to the bottom of the fluid channel. All other object boundaries
experience a load from the fluid, given by
T
F T = n ( p I + ( u + ( u ) ) )
(3)
where n is the normal vector to the boundary. This load represents a sum of pressure
and viscous forces.
MOVING MESH
The Navier-Stokes equations are solved on a freely moving deformed mesh, which
constitutes the fluid domain. The deformation of this mesh relative to the initial shape
of the domain is computed using Winslow smoothing. This is the default smoothing
when using the Fluid-Structure Interaction interface. For more information, please
refer to the chapter The Fluid-Structure Interaction Interface in the MEMS Module
Users Guide. Inside the obstacle, the moving mesh follows the deformations of the
obstacle. At the exterior boundaries of the flow domain, the deformation is set to zero
in all directions.
Figure 2: Flow velocity and geometry deformation at t = 4 s. The streamlines indicate the
flow direction and the color indicates flow-velocity magnitude.
Figure 3 shows the mesh velocity at t = 0.15 s. The boundaries of the narrow structure
are the only moving boundaries of the flow channel. Therefore the mesh velocity also
has its largest values near the structure. Depending on the current state of the
deformationwhether it is increasing, decreasing or stationarythe mesh velocity can
have a very different distribution. Figure 4 further illustrates this point; it compares the
average inflow velocity to the horizontal mesh velocity and the horizontal mesh
displacement just beside the top of the structure. Most of the time the deformation
follows the inflow velocity quite closely. Whenever the inflow velocity starts to
decrease, the deformation also decreases, which you can observe as the negative values
on the horizontal mesh velocity. Toward the end of the simulation, when inflow and
structure deformation approach their steady-state values, the mesh velocity also
decreases to zero.
Figure 3: Mesh velocity (arrows) and mesh and geometry deformation at t = 0.15 s.
Figure 4: Inflow velocity, horizontal mesh velocity, and mesh deformation. The curve with
triangles shows the average x direction velocity at the inflow boundary (m/s); the curve
with circles shows 104 mesh displacement in the x direction (dx_ale; m) at the geometry
point (1.0510-4, 0.510-4); and the curve with squares shows 103 mesh velocity in the
x direction (xt; m/s), also at the point (1.0510-4, 0.510-4).
Figure 5 compares the meshes at different times. The first image shows the initial
mesh, which you generate prior to solving the model. This mesh is equally distributed
around the top of the structure. The second image shows the mesh in its deformed
form. Because the structure deforms more in the horizontal direction, the mesh also
changes more in this direction: On the left, the mesh elements are stretched; on the
right, they are compressed in the x direction.
Figure 5: Geometry and mesh near the top of the structure at t = 0 s and 2 s.
Modeling Instructions
MODEL WIZARD
Parameters
1 In the Model Builder window, right-click Global Definitions and choose Parameters.
2 Go to the Settings window for Parameters.
3 Locate the Parameters section. In the Parameters table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
3.33[cm/s]
Variables 1
1 In the Model Builder window, right-click Global Definitions and choose Variables.
2 Go to the Settings window for Variables.
3 Locate the Variables section. In the Variables table, enter the following settings:
NAME
EXPRESSION
DESCRIPTION
u_in
U*t^2/
sqrt(t^4-0.07[s^2]*t^2+
0.0016[s^4])
GEOMETRY 1
Rectangle 1
1 Right-click Model 1>Geometry 1 and choose Rectangle.
2 Go to the Settings window for Rectangle.
3 Locate the Size section. In the Width edit field, type 300.
4 In the Height edit field, type 100.
5 Click the Build All button.
Rectangle 2
1 In the Model Builder window, right-click Geometry 1 and choose Rectangle.
Fillet 1
1 In the Model Builder window, right-click Geometry 1 and choose Fillet.
2 On the object r2, select Vertices 3 and 4 only.
3 Go to the Settings window for Fillet.
4 Locate the Radius section. In the Radius edit field, type 2.5.
5 Click the Build All button. The geometry should look like that in the figure below.
FLUID-STRUCTURE INTERACTION
By default the Fluid-Structure Interaction interface treats all domains as fluid. Add the
appropriate domain selection to the default node for the solid domain and proceed to
the material specification.
Material 1
1 In the Model Builder window, right-click Model 1>Materials and choose Material.
2 Select Domain 1 only.
3 Go to the Settings window for Material.
4 Locate the Material Contents section. In the Material Contents table, enter the
following settings:
PROPERTY
NAME
VALUE
Density
rho
1e3
Dynamic viscosity
mu
1e-3
Material 2
1 In the Model Builder window, right-click Materials and choose Material.
2 Select Domain 2 only.
3 Go to the Settings window for Material.
4 Locate the Material Contents section. In the Material Contents table, enter the
following settings:
PROPERTY
NAME
VALUE
Young's modulus
2e5
Poisson's ratio
nu
0.33
Density
rho
7850
FLUID-STRUCTURE INTERACTION
Inlet 1
1 In the Model Builder window, right-click Fluid-Structure Interaction and choose the
Outlet 1
1 In the Model Builder window, right-click Fluid-Structure Interaction and choose the
Fixed Constraint 1
1 In the Model Builder window, right-click Fluid-Structure Interaction and choose the
Free Triangular 1
1 In the Model Builder window, right-click Model 1>Mesh 1 and choose Free Triangular.
2 Go to the Settings window for Free Triangular.
3 Locate the Domains section. From the Geometric entity level list, select Entire
geometry.
Size
1 In the Model Builder window, click Size.
2 Go to the Settings window for Size.
3 Locate the Element Size section. From the Calibrate for list, select Fluid dynamics.
4 Click the Build All button.
STUDY 1
6 In the Model Builder window, right-click Study 1 and choose Show Default Solver.
Solver 1
You can improve the displacement scaling by changing the scale to 105.
1 In the Model Builder window, expand the Study 1>Solver Configurations>Solver
1>Dependent Variables 1 node, then click Dependent Variables 1>mod1_u_solid.
2 Go to the Settings window for Field.
3 Locate the Scaling section. From the Method list, select Manual.
4 In the Scale edit field, type 1.0e-5.
5 In the Model Builder window, right-click Study 1 and choose Compute. You can
2D Plot Group 1
The default plot shows the pressure distribution in the fluid domain. To reproduce
Figure 1, plot the velocity field.
1 Go to the Settings window for 2D Plot Group.
2 Locate the Data section. From the Time list, select 2.
3 In the Model Builder window, expand the 2D Plot Group 1 node, then click Surface 1.
4 Go to the Settings window for Surface.
5 In the upper-right corner of the Expression section, click Replace Expression.
6 From the menu, choose Fluid-Structure Interaction (Laminar Flow)>Velocity
magnitude (fsi.U).
7 Locate the Coloring and Style section. Select the Wireframe check box.
8 Clear the Color legend check box.
9 Click the Plot button.
10 In the Model Builder window, right-click 2D Plot Group 1 and choose Arrow Surface.
11 Go to the Settings window for Arrow Surface.
12 In the upper-right corner of the Expression section, click Replace Expression.
13 From the menu, choose Fluid-Structure Interaction (Laminar Flow)>Velocity field
(u_fluid, v_fluid).
14 Locate the Coloring and Style section. In the Scale factor edit field, type 1.5.
2D Plot Group 2
Proceed to reproduce Figure 2, which shows flow velocity and streamlines.
1 In the Model Builder window, right-click Results and choose 2D Plot Group.
2 Go to the Settings window for 2D Plot Group.
3 Locate the Plot Settings section. From the Frame list, select Spatial (x, y, z).
4 Right-click Results>2D Plot Group 2 and choose Surface.
5 Go to the Settings window for Surface.
6 In the upper-right corner of the Expression section, click Replace Expression.
7 From the menu, choose Fluid-Structure Interaction (Laminar Flow)>Velocity
magnitude (fsi.U).
8 Click the Plot button.
9 In the Model Builder window, right-click 2D Plot Group 2 and choose Streamline.
10 Go to the Settings window for Streamline.
11 In the upper-right corner of the Expression section, click Replace Expression.
12 From the menu, choose Fluid-Structure Interaction (Laminar Flow)>Velocity field
(u_fluid, v_fluid).
13 Locate the Streamline Positioning section. From the Entry method list, select
Coordinates.
14 In the x edit field, type 0^(range(1,15)) 125*1^(range(1,2)).
15 In the y edit field, type range(0,100/14,100) 20 5.
16 Locate the Coloring and Style section. From the Color list, select Red.
17 Click the Plot button.
Report
To animate flow around the structure, do the following:
1 In the Model Builder window, right-click Results>Report and choose Player.
2 Go to the Settings window for Player.
3 Locate the Scene section. From the Subject list, select 2D Plot Group 2.
4 Locate the Parameter Sweep section. From the Select via list, select Interpolated
times.
5 In the Times edit field, type range(0.025,0.025,0.5).
6 Right-click Player 1 and choose Play.
To inspect the deformed geometry and deformed mesh near the top of the structure
(Figure 5), proceed with the following steps.
Data Sets
1 In the Model Builder window, right-click Results>Data Sets and choose Solution.
2 Right-click Solution 2 and choose Add Selection.
3 Go to the Settings window for Selection.
4 Locate the Geometric Scope section. From the Geometric entity level list, select
Domain.
5 Select Domain 2 only.
2D Plot Group 3
1 In the Model Builder window, right-click Results and choose 2D Plot Group.
2 Go to the Settings window for 2D Plot Group.
3 Locate the Plot Settings section. From the Frame list, select Spatial (x, y, z).
4 Locate the Data section. From the Time list, select 0.
5 Right-click Results>2D Plot Group 3 and choose Surface.
6 Go to the Settings window for Surface.
7 Locate the Expression section. In the Expression edit field, type 1.
8 Locate the Coloring and Style section. From the Coloring list, select Uniform.
9 From the Color list, select Blue.
10 Select the Wireframe check box.
11 Click to expand the Quality section.
12 Click the Plot button.
13 In the Model Builder window, right-click 2D Plot Group 3 and choose Surface.
14 Go to the Settings window for Surface.
15 Locate the Data section. From the Data set list, select Solution 2.
16 From the Time list, select 0.
17 Locate the Expression section. In the Expression edit field, type 1.
18 Locate the Coloring and Style section. From the Coloring list, select Uniform.
19 Click the Zoom Box button on the Graphics toolbar and then use the mouse to zoom
in on the obstacle.
20 In the Model Builder window, click 2D Plot Group 3.
21 Go to the Settings window for 2D Plot Group.
Finally, plot the horizontal mesh velocity, the mesh deformation at the point beside the
top of the structure, and inflow velocity (Figure 4).
1D Plot Group 4
1 In the Model Builder window, right-click Results and choose 1D Plot Group.
2 Right-click Results>1D Plot Group 4 and choose Global.
3 Go to the Settings window for Global.
4 In the upper-right corner of the Expressions section, click Replace Expression.
5 From the menu, choose Definitions>Inlet mean velocity (u_in).
6 Click the Plot button.
Data Sets
1 In the Model Builder window, right-click Results>Data Sets and choose Cut Point 2D.
2 Go to the Settings window for Cut Point 2D.
3 Locate the Point Data section. In the x edit field, type 105.
4 In the y edit field, type 50.
1D Plot Group 4
1 In the Model Builder window, right-click Results>1D Plot Group 4 and choose Point
Graph.
2 Go to the Settings window for Point Graph.
3 Locate the Data section. From the Data set list, select Cut Point 2D 1.
4 Locate the Expression section. In the Expression edit field, type xt.
5 From the Unit list, select mm/s.
6 Locate the Legends section. Select the Show legends check box.
7 From the Legends list, select Manual.
8 In the table, enter the following settings:
LEGENDS