The CutCell meshing process involves the following approach:
Objects, material points (optional), and size functions are defined.
The initial size of the Cartesian grid is computed based on the minimum and maximum size set for the size functions.
A uniform Cartesian grid is created within the bounding box for the geometry.
The base size for the Cartesian grid is computed from the minimum and maximum size specified in the Size Functions dialog box as follows:
Note: You should maintain the ratio between the base size and the global minimum size such that Base Size = 2n × Min Size. This ensures that the correct minimum size is used during the CutCell meshing.
Warning: During initialization, the Cartesian grid created will
contain the maximum number of Cartesian cells possible for the computed
base size. If the cell count of the initial Cartesian grid exceeds
the limit, use the command /mesh/cutcell/set/max-initial-cells to set a more appropriate number.
The size function values are computed and the grid is then adaptively refined based on the local size function values.
Figure 19.1: Schematic Representation of the Cartesian Grid Refinement Using Size Functions shows a schematic representation of the refinement using size functions. The size source specified via the size functions will be assimilated into the size function octree. The final mesh at respective locations will reflect an interpolated size based on the size functions.
Figure 19.2: Mesh After Refinement shows the mesh after refining the initial grid based on size functions.
The cells intersected by the geometry are marked. Only nodes on marked cells are considered for projection. The nodes are projected to the geometry (corner, edge, and face in order of reducing priority).
Figure 19.3: Mesh After Projection shows the mesh after node projection.
The edges intersected by the geometry are identified. Mesh edges to be preserved/recovered are determined, and are used to construct mesh faces. Once the mesh faces are identified, cells are decomposed to recover these faces. The cells are decomposed based on a number of templates.
Note: The CutCell mesher may have problems capturing features like acute internal and external face angles (for example, trailing edges of fins, wheel-ground intersections). If such features are not recovered properly, the prisms generated at such locations are most likely to have bad quality.
In such cases, you can use
the set-thin-cut-edge-zones command (see Resolving Thin Regions) and specify the edges where
the feature capturing fails, and then regenerate the mesh.
The quality of the cells thus generated is improved.
You can set the default parameters to be used for
improving the CutCell mesh using the command /mesh/cutcell/set/set-post-snap-parameters. This command sets the quality limits and other parameters relevant
to the node movement and cavity remeshing that are performed to improve
quality.
Cells are separated into cell zones based on the respective objects and material points (if any). When a cell has a vertex that lies out of the object while the other lies within the object, the cell will be decomposed further to represent the boundary crossing the cell. A cell included in multiple objects will be included with the object having the highest priority.
Figure 19.4: Cells Separated After Decomposition shows the cells separated into respective cell zones after decomposition.
Dead zones are generally deleted (auto-delete-dead-zones? is enabled by default). Solid zones will be retained or deleted,
depending on the setting of auto-delete-solid-zones? (disabled by default).
The boundary mesh is recovered and separated based on the underlying geometry.
Faces whose adjacent neighboring cells are in different cell zones automatically constitute the boundary mesh.
The neighboring cells of a face on an internal baffle are in the same cell zone. In such cases, faces close to and nearly parallel to the baffle surface are recovered to represent the baffle surface.
As each cell zone is a closed region, the mesh boundary is conformal.
The boundary zone types are assigned based on the underlying geometry zone type. Figure 19.5: CutCell Mesh After Boundary Recovery shows the CutCell mesh after the boundary mesh is recovered.
Note: The CutCell mesher will assign the type wall on the surface recovered over a geometry zone of the type internal (for example, baffles) and the type geometry.