GenerateTheVolumeMeshFTM#

class ansys.fluent.core.generated.datamodel_252.meshing.Root.GenerateTheVolumeMeshFTM(service, rules, command, path=None)#

Bases: PyCommand

This task will generate the volume mesh for all the fluid regions. It will generate the cell type based on the selection from the Volume Fill setting in the Update Region Settings task. Boundary layer prisms will also be generated if assigned for the fluid region. Use the Edit Volume Fill Setting option to view previous settings and edit them accordingly prior to creating the volume mesh. Parameters ———- MeshQuality : float OrthogonalQuality : float

This value sets the threshold for when mesh quality improvements are automatically invoked that employ the orthogonal quality limit, and is recommended to be around 0.04.

EnableParallelbool

Enable this option to perform parallel volume and continuous boundary layer (prism) meshing for fluid region(s). Applicable for poly, hexcore and poly-hexcore volume fill types.

SaveVolumeMeshbool

Select this option to save the volume mesh.

EditVolumeSettingsbool

Enable this option to review and/or edit the fill settings for your volume region(s).

RegionNameList : list[str] RegionVolumeFillList : list[str] RegionSizeList : list[str] OldRegionNameList : list[str] OldRegionVolumeFillList : list[str] OldRegionSizeList : list[str] AllRegionNameList : list[str] AllRegionVolumeFillList : list[str] AllRegionSizeList : list[str] AdvancedOptions : bool

Display advanced options that you may want to apply to the task.

SpikeRemovalAngle : float DihedralMinAngle : float QualityMethod : str

Choose from different types of mesh quality controls (aspect ratio, change in size, and so on). Choices include Orthogonal (the default for the workflows) and Enhanced Orthogonal. For more information, see More… .

AvoidHangingNodesstr

Specify whether or not you want to avoid any potential 1:8 cell transition in the hexcore or polyhexcore region of the volume mesh, replacing any abrupt change in the cell size with tetrahedral or polyhedral cells.

OctreePeelLayersint

Specify the number of octree layers to be removed between the boundary and the core. The resulting cavity will be filled with tet cells for hexcore meshes and with poly cells for polyhexcore meshes.

FillWithSizeFieldstr

Determine whether or not you want to use size fields when generating the volume mesh. Generating the volume mesh using size fields can require additional memory as you increase the number of processing cores. This is because the size field is replicated for each core as the size field is not properly distributed. When using size fields, you are limited by the size of the machine. When not using size fields, however, you require less memory and you can use a higher number of cores with limited RAM, leading to a faster mesh generation.

OctreeBoundaryFaceSizeRatiofloat

Specify the ratio between the octree face size and the boundary face size. The default is 2.5 such that the octree mesh near the boundary is 2.5 times larger than the boundary mesh.

GlobalBufferLayersint

Specify the number of buffer layers for the octree volume mesh. If size controls have not been defined previously, then the default is 2, otherwise the default is calculated based on the maximum growth size.

TetPolyGrowthRatefloat

Specify the maximum growth rate for tet and poly cells. By default, this corresponds to a growth rate of 1.2.

ThinVolumeMeshingMaxAspectRatio : float ConformalPrismSplit : str

Since neighboring zones with different numbers of layers will lead to conformal prism layers between them, use this field to determine whether you want to split the boundary layer cells conformally or not. When this option is set to Yes, the prism sides of the two zones will share nodes. This option is only available when stair-stepping is invoked. Note that adjacent regions should have an even ratio of prism layers when using this option.

TetPrismStairstepExposedQuadsstr

This option can be used when generating a tetrahedral mesh with prism cells and is set to No by default. Selecting Yes for this option will enable stair-stepping for exposed quadrilateral faces (exposed quads) on prism cells. Stair-stepping will prevent pyramids from being created on these exposed quads, which generally would lead to poor quality in the exposed quad location.

PrismNormalSmoothRelaxationFactorfloat

Specify the smoothness factor for normal prism layers. Increasing this value will generate more prism layers especially near sharp corners. Note that this option is only available when Enable Parallel Meshing for Fluids is turned on and when Stairstep is selected for the Post Improvement Method in the Add Boundary Layers task.

ShowSubTasks : str

Returns:
bool

Methods:

create_instance()

Create a command instance.

__init__(service, rules, command, path=None)#

__init__ method of PyCommand class.

create_instance()#

Create a command instance.