Scoped prism controls allow you to apply prism layer parameters to specific regions of the mesh object. Accessible through the Auto Mesh volume-meshing tool, the scoped prism process first creates boundary layers based on the defined controls, and then proceeds to generating the tet/hexcore mesh.
Volumetric regions need to be computed prior to object based volume meshing. The computing of regions includes topology checks, re-orienting of normals, and baffle identification and handling before generating the volume mesh.
The direction of prism growth does not need to be set up separately. The prism layers are always grown into the regions selected; normals are re-oriented accordingly when the regions are computed.
The scoped prisms method does not use any of the settings
made in the Prisms dialog box or using the commands
in the /mesh/prism menu.
To set up scoped prism controls, select scoped from the Grow Prisms drop-down list in the Auto Mesh dialog box and click to open the Scoped Prisms dialog box.
You use the Scope To drop down list to select fluid or solid regions.
You can select fluid-regions, solid-regions, or named-regions. If named-regions is selected, you can enter
the region name (wildcards supported) in the Volume Scope field or click the button (
) and select the
regions in the Volume Scope dialog box.
Within the selected regions, you use the Grow On drop-down list to select the boundary type on which to grow prism layers.
You can use all-zones for unrestricted boundary type. Alternatively, use only-walls to scope prism growth by wall boundary type. To scope prisms by
boundary name, use selected-labels, selected-face-zones, or solid-fluid-interface and enter the name or pattern in the Boundary Scope field, or click the Browse button (
) to use the Boundary Scope dialog box.
If interior baffles exist, the Grow on both sides of baffles option will be available. You can choose to grow prisms on both sides (default) or on a single side. In case of single side, use the Color by Normal option (hot-key combination Ctrl+Shift+C and Ctrl+N) to see on what side (gray) the prisms will grow.
You use the Offset Method drop down list to select from uniform, aspect-ratio, or last-ratio as the prism offset method. The geometric growth method is used; you can specify the growth rate as appropriate.
A meaningful Name is recommended.
Important: Fluent Meshing supports multiple scoped prism controls, however only one scoped prism control can be applied to a face zone in a given region.
In Figure 15.23: Use of Multiple Scoped Prism Controls, prism layers are grown on adjacent zones within the fluid region, but with multiple scoped controls defined. The prism layers are stair stepped to obtain a gradual transition between the layers. Also, solid-fluid-interface is selected from the Grow On drop-down list, to enable growth of different number of layers in the solid and fluid regions.
The scoped prism controls can be read from a previously
saved file (*.pzmcontrol) or can be written
to a file for further use.
The command /mesh/scoped-prisms/set-no-imprint-zones enables you to specify boundary zones which should not be imprinted
during the prism generation.
Once the initial prism layers are generated, the prism mesh is improved by a combination of optimization-based smoothing and node movement to smooth the prism cell layers. The scoped prisms approach includes two steps of collision avoidance—layer compression and stair stepping. Use the Growth Options button to setup controls to avoid collision of prism layers in proximal regions.
Enable Keep First Layer Offsets to preserve the first offset height as other layers are modified to prevent collisions.
In regions of close proximity the prism layers are first compressed to resolve gaps and sharp corners, based on the Gap Factor and Max Aspect Ratio specified.
After this, cells are identified for stair stepping — a post prism meshing process carried out to avoid prism layer collision and maintain mesh quality. In areas where it is not possible to meet the quality limit specified by the Stair Stepping Threshold, or where intersections are detected, the higher prism layers will be removed and filled with pyramids and tetrahedra as transition elements between the remaining layers and the volume fill. A list of locations where the prism layers were stair stepped is printed in the console. For prism meshing, it is recommended to use ICEM CFD Quality as the quality method since it is more stringent than the Skewness metric.
If the final mesh quality is not acceptable, you can use the Auto Node Move tool with ICEM CFD quality measure to improve the mesh.
Figure 15.24: Stair Stepped Prism Layers in Sharp Corner shows an example of a sharp corner where the prism layers have been stair stepped.