General Mesher is used to generate a volume mesh in any arbitrary geometry using the Binary Tree Mesher technique. It can be used to generate meshes inside and outside very detailed and complex arbitrary shapes.
The General Mesher is accessed as follows:
Mesh Panel > General Mesher.
The parameters for General Mesher are available in the Properties Panel.
Setup OptionsThe two modes under Setup Options are: |
Figure 4.17 - Setup options |
|
Note: The user is free to switch between Advanced Mode and Normal Mode as needed. Switching back to Normal Mode does not reset the more complex settings, but rather keeps them in effect. |
|
The Normal Mode contains the following settings: |
Figure 4.19 - Normal mode options |
For brief description of each method, click the respective Method or click description below.
This creates meshes in the interior of all volumes as defined by the closed CAD Surfaces. The selection of CAD Surfaces must be such that the volume is “water tight.” If not, the exterior volume mesh will “leak” inside and no interior volume will be created.
In some cases, the relative position of the bounding box influences the resolution of the mesh formed in interior volumes. In some cases, an unwanted fine resolution of a boundary can be corrected by a slight displacement of the bounding box.
|
Note: Ensure that the interior volumes are “water tight.” |
This creates meshes on the exterior of all volumes as defined by selected closed CAD Surfaces.
|
Note: The General Mesher first creates all volumes and then deletes any interiors volume. |
This creates meshes on both the interiors and exterior of all volumes as defined by the selected CAD Surfaces.
Interior volumes, as defined by selection of CAD Surfaces , must be “water tight.” If not, the external volume mesh will “leak” inside and no interior volume will be formed.
|
Note: Only CAD Surfaces and associated Volumes that are selected in the Geometric Entities Panel will be meshed. |
|
Figure 4.21 - Interior volumes |
Figure 4.22 - Exterior volumes |
Figure 4.23 - All volumes |
|
Note: The bounding box influences the distribution of the mesh formed in interior volumes. In this regard, meshing multiple volumes or changing the bounding box options will result in different meshes. In some cases, an unwanted fine resolution of a boundary can be corrected by a slight displacement of the bounding box. |
Uniform Margins: The bounding box will be constructed using uniform margins. When it is selected, it requires to set the Size as a sub-parameter.
|
Figure 4.26 - Uniform-Relative size (0.5) |
Figure 4.27 - Uniform-Absolute size (0.5) |
|
Note: If the Cell Size Specification is Absolute Size, the thickness of all margins will be equal to the input value of Size in meters. |
|
|
Note: If the Cell Size Specification is Relative Size, the thickness of the margins will be equal to the input value of size times the dimension of the object in each direction. |
Nonuniform Margins:
The bounding box is constructed using non-uniform margins. When selected, it requires setting the Minimum Side Sizes and Maximum Side Sizes as a sub-parameter.
Diagonal Positions:
The bounding box is constructed using two points defining opposite corners of the box. When selected, it requires setting the Minimum Corner Position and Maximum Corner Position as a sub-parameter.
dimensions of the cylinder.|
Figure 4.28 - Minimum corner position = (0,0,0) and Maximum corner position = (1,1,1) |
Figure 4.29 - Minimum corner position = (-1,-1,-1) and Maximum corner position = (2,2,2) |
Cell Size Specification
|
Figure 4.30 - Cell size specification |
Figure 4.31 - Relative cell size specification
This means all coordinates and lengths (meters) to the model’s coordinate system.
This is used to specify the meshing parameters requiring length, such as the Bounding Box Margins, Maximum Cell Size, Minimum Cell Size, and Cell Size on Surfaces as a relative size to the CAD Surfaces.
This controls the accuracy with which the CAD Surfaces edge is resolved by the mesh.
|
Figure 4.32 - Critical edge angle |
Figure 4.33 - Critical edge angle (30° and 20°) |
This controls the accuracy with which the CAD Surfaces edge is resolved by the Mesh.
Figure 4.34 - Curvature resolution angle |
Figure 4.35 - Curvature resolution default (35°) and user defined (20°) |
Figure 4.36 - Curvature resolution (Boundary) default (35°) and user defined (20°) |
This controls the size of the cells throughout a mesh volume. Maximum Cell Size is a length scale specified in terms of Relative Size or Absolute Size.
|
Figure 4.37 - Maximum cell size |
|
This limits how small cells can be in attempting to resolve the geometry using the general mesher. Minimum Cell Size is a length scale specified in terms of Relative Size or Absolute Size. It applies to all the cells in a volume (see, Figure 4.38).
This controls the size of the cells for all surfaces of a mesh volume. Cell Size on Surfaces is a length scale specified in terms of Relative Size or Absolute Size. No cell on the surface can have a cell size larger than the Cell Size on Surfaces.
Usually the Cell Size on Surfaces is specified smaller than the maximum cell size to capture the geometric features with higher resolution.
Figure 4.39 - Refined setting |
Figure 4.40 - Coarse setting |
This controls the size of the mesh cells within defined zones of a volume. Any number of refinement zones can be created. Three types of zones are available: Cylindrical Zone Refinement, Box Zone Refinement and User Defined Refinement.
Cylindrical Zone Refinement and Box Zone Refinement
Once a refinement zone is created, the desired dimensions of the zone geometry and the Cell Size is set prior to the General Mesher operation. An example of two refinement zones (Box and Cylinder) is shown in Figure 4.41.
The specified value of Cell Size is applied inside the meshed zone.
Figure 4.41 - Example of refinement zones (Box and Cylinder)
User Defined Refinement
This option is used, when user wants to refine any arbitrary region in the domain. User need to write a expression to define a particular region and cell setting to be used.
An example of user defined refinement setting is shown in Figure 4.42. Here, rzone is the function used to refine the mesh in the triangular region.
The value of 0.01 m Cell Size setting is applied inside the refinement zone, elsewhere 0.04 m is used.
|
|
This limits how small the cells can be in attempting to resolve a CAD geometry using the General Mesher. It controls the limiting size of the boundary cells generated next to an individual CAD Surface. Unlike, Minimum Cell Size, which is used to control the smallest cells in the entire volume, the Minimum Cell Refinement on Boundaries is used to provide local refinement on CAD Surfaces that present small features such as tight gaps, sharp curvature etc.
|
The Min. Cell Refinement on Boundaries is specified for a selected CAD Surface prior to the General Mesher. The operation as follows: Mesh Panel > General Mesher Geometric Entities Panel > CAD Surface > [Desired Surface] Properties Panel > Geometry Tab > Min. Cell Refinement on Boundaries > [User Input]
Three different levels of limiting are offered under Min. Cell Refinement on Boundaries: Refine One Level, Refine Two Levels and Refine Three Levels.
|
Figure 4.45 - Min. cell refinement on boundaries-options |
|
The Advanced Mode options available are: |
Figure 4.46 - Advanced mode options |
For brief description of each parameters, click the respective Method or click Description drop-down list below.
This controls the size of the cells near a critical edge. It is a length scale specified in terms of Relative Size or Absolute Size. No interior cell adjacent to a critical edge can have a cell side larger than the specified value of the Cell Size near Critical Edges.
|
|
This controls the size of the interior cells near critical points. Cell Size near Critical Points is a length scale specified in terms of Relative Size or Absolute Size. No interior cell near a critical point can have a cell size larger than the Cell Size near Critical Points (see, Figure 4.48).
This controls the size of the boundary cells near the critical edge. It is a length scale specified in terms of Relative Size or Absolute Size.
This controls the size of the cells on edges near a critical points. It is a length scale specified in terms of Relative Size or Absolute Size.
This allows to activate naming of volumes based on the prefix of the CAD Surface names. In conjugate heat transfer analysis, CAD domain may contains multiple solid components and a fluid volume, in such cases Volume Name by Surface Prefix is helpful.
For example, if a mesh is generated with the CAD Surfaces: inlet_inlet, inlet_walls, inlet_mgi, volute_mgi, volute_outlet and volute_walls, the Volumes are automatically generated as inlet and volute.
Tree Orientation X-AxisThis gives the orientation of the bounding box used in the Binary Tree Mesh algorithm. The user provides the
|
Figure 4.51 - Tree orientation settings |
This gives the orientation of the bounding box used in the Binary Tree Mesh algorithm. The user provides the
,
and
components of a vector that will become the new orientation of the Y-axis (see, Figure 4.50) of the bounding box.
This sets the tolerance at which two nodes would be merged into a single point. Node Merge Tolerance is a length scale specified in terms of Relative Size or Absolute Size.
Figure 4.52 - Critical points merged |
|
This refines the cells in the transition from one boundary to the next such that they are of the same order in size.
This controls the aspect ratio of the cells created by the Binary Tree Mesher. Parallel Cell Aspect Ratio controls mesh density near the control volume surfaces and has a value between 1 and 8.
Figure 4.54 - Aspect ratio = 4 |
|
This limits the aspect ratio of the cells generated by the General Mesher. The aspect ratio of cells can be controlled in
,
and
direction. The default value for
is 1,1,1 respectively. The aspect ratio can be relaxed in a particular direction depending on the geometry and flow physics. For e.g., in the case of a long pipe with smaller diameter, the aspect ratio can be relaxed to 2,1,1 in order to reduce the cell count.
|
A sub-feature is a “stair-step” mesh created, when the Simerics Binary-Tree Mesh algorithm is unable to resolve a feature of the geometry. The Sub-feature Options are used to control the grouping of sub-features. The sub-features are grouped together as follows:
To the extent that a sub-feature is a small deviation in the precision of the mesh it will have only a minor effect on accuracy of the solution. They can be combined with the appropriate adjacent boundary.
|
Figure 4.56 - Sub-features options |
Figure 4.57 - Sub-features
This allows ordering of Volumes in the Geometric Entities Panel based on the cell count (bigger volume to smaller).
|
|
Copyright © 2023 Simerics Inc., |