After generating the CutCell mesh, the face zones are separated by cell neighbor and normals on face zones connected to the fluid cell zones are oriented into the fluid zone. A face zone group is created for the face zones of each fluid cell zone. Additionally, the defaults for post volume mesh prism generation will be set. These include the following prism controls to reduce stair-stepping of prism layers:
Disable edge swapping.
/mesh/prism/controls/improve/edge-swap?
no
Disable face smoothing.
/mesh/prism/controls/face-smooth?
no
Set the skewness threshold for edge swapping and edge
and node smoothing to 0.95.
/mesh/prism/controls/improve/swap-smooth-skew 0.95
Ensure that shrinkage for prism layers is enabled.
/mesh/prism/controls/proximity/allow-shrinkage?
yes
Set the smoothing rate (rate at which shrinkage is
propagated laterally) to 1.2.
/mesh/prism/controls/proximity/smoothing-rate 1.2
Disable ignoring of nodes that have poor normals.
/mesh/prism/controls/normal/ignore-invalid-normals?
no
Set the cell quality criterion for smoothing and quality
checking to 0.999.
/mesh/prism/controls/improve/max-allowable-cell-skew 0.999
Enable smoothing of normals along the feature lines of the base face zones.
/mesh/prism/controls/improve/identify-feature-line?
yes
Set the maximum allowable skewness for cap faces after
smoothing to 0.999.
/mesh/prism/controls/improve/max-allowable-cap-skew 0.999
Set the quality method to Orthoskew.
/mesh/prism/quality-method orthoskew
Enable the improvement of cell quality for every prism layer. This will involve smoothing of normals in the current layer and perturbation smoothing to improve cell quality in the lower layer.
/mesh/prism/controls/improve/cell-quality-improve?
yes
Enable the adjustment of prism heights at prism cap corners to improve cell quality.
/mesh/prism/controls/improve/corner-height-weight?
yes
Disable forcible smoothing of cells if cell quality remains bad after regular smoothing.
/mesh/prism/improve/smooth-brute-force?
no
You can generate prism layers on the appropriate face zones as follows:
Click in the CutCell dialog box to open the Prisms dialog box.
Examine the face zone group created for the face zones of the fluid cell zones and determine the face zones for which prism meshing parameters are to be specified.
Specify the prism meshing parameters as appropriate and click
Note: Hanging-node cells on a boundary for which prism generation has been assigned, will be triangulated before the prism generation starts.
Important: Attempting to grow thicker prism layers in areas where the aspect ratio of the base to the prism cap is very large may result in an invalid mesh. In such cases, (for example, external flow problems) it is recommended that aspect ratio based growth be used to avoid problems with invalid meshes.
Click in the Prisms dialog box.
As the volume mesh already exists, a Question dialog box will appear, asking if you want to morph the existing volume mesh. Click Yes to generate the prism layers.
Alternatively, use the command /mesh/cutcell/create-prism to create the prism layers.
Specify the cell zones into which the prism layers are to be grown.
The gap factor controls the number of elements in regions of proximity.
Note: If the cell aspect ratio exceeds the specified maximum aspect ratio, a message will appear during the prism meshing process, indicating that shrinkage was limited by the maximum aspect ratio specified.
You could also reduce the gap factor to avoid the cell aspect ratio exceeding the specified maximum aspect ratio. Reducing the gap factor (for example, a value of 0.5) may improve the quality, but could have a negative impact on the robustness of the morphing. A higher value (for example, 1.5) is generally more robust, but may not result in the best mesh quality.
Note: During the surface mesh morphing, only the boundaries of face threads will be treated as features.
When prism layers are grown into cell zones sharing a face, the prisms will be imprinted on the shared face.
Figure 19.10: Generating Prisms for the CutCell Mesh shows the prism layers created for the CutCell mesh. The prism layers will be compressed in regions of proximity and bad normals. Note that local stair-stepping may occur in areas of poor quality.
When prism layers are grown into two volumes sharing an edge, stair-stepping will occur at the common vertex between the volumes (Figure 19.11: Prism Growth Limitations—Volumes Sharing an Edge).
When prism layers are grown into two volumes sharing an edge, stair-stepping will occur at the nodes on the common boundary (Figure 19.12: Prism Growth Limitations—Volumes Sharing an Edge).
Prism layers cannot be grown on both sides of a surface shared by adjacent volumes (Figure 19.13: Prism Growth Limitations—Volumes Sharing the Prism Base).
A combination of node movement and cavity remeshing
is carried out to improve the CutCell mesh quality after the prism
layers have been generated. The parameters for improving the CutCell
mesh quality can be specified using the command /mesh/cutcell/set/set-post-morph-parameters prior to creating the prism layers. The quality method considered
is that set by the /mesh/cutcell/set/set-cutcell-quality-method command.
Ensure that the quality of the prisms created is appropriate.
If the quality of the prism cells is low, you can use post-prism smoothing
to improve the quality. Use the options in the Prism Improve dialog box or text commands such as /mesh/prism/improve/smooth-improve-prism-cells to improve the prism cell quality.
To further improve the CutCell mesh using the command /mesh/cutcell/modify/post-morph-improve, modify the
relevant parameters using the command /mesh/cutcell/set/set-post-morph-parameters. The quality considered is that set by the /mesh/cutcell/set/set-cutcell-quality-method command.
Note: This operation uses a combination of node movement and cavity remeshing to improve the CutCell mesh quality. For details on the relevant parameters, refer to Moving Nodes and Cavity Remeshing.
Note: It is
recommended that you use the /mesh/cutcell/modify/post-morph-improve command for cell zones other than the prism cells.