generate_fluent_mesh#
- Icepak.generate_fluent_mesh(object_lists=None, meshtype='tetrahedral', min_size=None, max_size=None, inflation_layer_number=3, inflation_growth_rate=1.2, mesh_growth_rate=1.2)#
Generate a Fluent mesh for a list of selected objects and assign the mesh automatically to the objects.
Warning
Do not execute this function with untrusted function argument, environment variables or pyaedt global settings. See the security guide for details.
- Parameters:
- object_lists
list,optional List of objects to compute the Fluent mesh on. The default is
None, in which case all fluids objects are used to compute the mesh.- meshtype
str,optional Mesh type. Options are
"tethraedral"or"hexcore".- min_size
float,optional Minimum mesh size. Default is the smallest edge of objects/20.
- max_size
float,optional Maximum mesh size. Default is the smallest edge of objects/5.
- inflation_layer_number
int,optional Inflation layer number. Default is
3.- inflation_growth_rate
float,optional Inflation layer size. Default is
1.2.- mesh_growth_rate
float,optional Growth rate. Default is
1.2.
- object_lists
- Returns:
ansys.aedt.core.modules.mesh.MeshOperation