Professional Documents
Culture Documents
The Meshing Sequence: Meshing With Default Settings
The Meshing Sequence: Meshing With Default Settings
The Meshing Sequence: Meshing With Default Settings
This example demonstrates how to use the meshing sequence. On a realistic geometry
you create a mesh consisting of different element types. You learn how to mesh certain
parts of a geometry, modify this mesh, change the parameters to your liking, and
rebuild the mesh.
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.
The geometry represents a small part of a circuit board with an electronic
component mounted by means of several solder ball joints.
Electronic component
Solder joints
Circuit board
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
board and the electronic component.
According to the Messages window the mesh now consists of approximately 24,000
elements.
The swept mesher operates on a 3D subdomain by first meshing a source face, and then
sweeping the resulting face mesh through the subdomain to an opposite target face.
For straight and circular sweep paths, you can use several connected faces as source
To make selection easier click the Wireframe Rendering ( ) button. Click it again
to turn of wireframe rendering.
8 Right-click the Free Triangular 1 node and select Size.
9 From the Predefined list select Coarser.
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
10 Click the Build All ( ) button to build the mesh.
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.
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
2 Click the Build All ( ) button to build the mesh.
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.
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