AutoMeshParams#
- class ansys.meshing.prime.AutoMeshParams(model=None, size_field_type=None, max_size=None, prism_control_ids=None, thin_volume_control_ids=None, multi_zone_control_ids=None, volume_fill_type=None, prism=None, tet=None, hexcore=None, volume_control_ids=None, periodic_control_ids=None, json_data=None, **kwargs)#
Parameters for volume meshing.
- Parameters:
- model: Model
Model to create a
AutoMeshParams
object with default parameters.- size_field_type: SizeFieldType, optional
Type of sizing to be used to generate volume mesh.
- max_size: float, optional
Maximum cell size.
- prism_control_ids: Iterable[int], optional
Set prism control ids.
- thin_volume_control_ids: Iterable[int], optional
Set thin volume control ids.
- multi_zone_control_ids: Iterable[int], optional
Set MultiZone control ids.
- volume_fill_type: VolumeFillType, optional
Option to fill volume.
- prism: PrismParams, optional
Prism control parameters.
- tet: TetParams, optional
Parameters to control tetrahedral mesh generation.
- hexcore: HexCoreParams, optional
Parameters to control hexahedral mesh generation.
- volume_control_ids: Iterable[int], optional
Ids of the volume controls.
- periodic_control_ids: Iterable[int], optional
Ids of the periodic controls.
- json_data: dict, optional
JSON dictionary to create a
AutoMeshParams
object with provided parameters.
Examples
>>> auto_mesh_params = prime.AutoMeshParams(model = model)
Methods
Print the default values of
AutoMeshParams
object.AutoMeshParams.set_default
([...])Set the default values of the
AutoMeshParams
object.Attributes
Parameters to control hexahedral mesh generation.
Maximum cell size.
Set MultiZone control ids.
Ids of the periodic controls.
Prism control parameters.
Set prism control ids.
Type of sizing to be used to generate volume mesh.
Parameters to control tetrahedral mesh generation.
Set thin volume control ids.
Ids of the volume controls.
Option to fill volume.
Examples using AutoMeshParams#
Mesh a saddle bracket for a structural analysis
Mesh a generic F1 car rear wing for external aero simulation