MultiZoneSweepMeshParams#
- class ansys.meshing.prime.MultiZoneSweepMeshParams(model=None, source_and_target_scope=None, sweep_mesh_size=None, n_divisions=None, thin_sweep=None, sweep_type=None, json_data=None, **kwargs)#
Defines MultiZone thin sweep mesh control parameters.
- Parameters:
- model: Model
Model to create a
MultiZoneSweepMeshParams
object with default parameters.- source_and_target_scope: ScopeDefinition, optional
Source and target faces used to determine the direction of sweep in MultiZone meshing.
This is a beta parameter. The behavior and name may change in the future.
- sweep_mesh_size: float, optional
Sweep mesh size used to determine the mesh size and number of divisions in the sweep direction.
This is a beta parameter. The behavior and name may change in the future.
- n_divisions: int, optional
Number of divisions in the sweep direction.
This is a beta parameter. The behavior and name may change in the future.
- thin_sweep: bool, optional
Thin sweep option set to True will generate sweep mesh in thin volumes by respecting nDivisions. Thin sweep option set to False will generate sweep mesh whose number of divisions in the direction of sweep is determined by sweepMeshSize.
This is a beta parameter. The behavior and name may change in the future.
- sweep_type: SweepType, optional
Option to specify the sweep mesh decomposition type.
This is a beta parameter. The behavior and name may change in the future.
- json_data: dict, optional
JSON dictionary to create a
MultiZoneSweepMeshParams
object with provided parameters.
Examples
>>> multi_zone_sweep_mesh_params = prime.MultiZoneSweepMeshParams(model = model)
Methods
Print the default values of
MultiZoneSweepMeshParams
object.Set the default values of the
MultiZoneSweepMeshParams
object.Attributes
Number of divisions in the sweep direction.
Source and target faces used to determine the direction of sweep in MultiZone meshing.
Sweep mesh size used to determine the mesh size and number of divisions in the sweep direction.
Option to specify the sweep mesh decomposition type.
Thin sweep option set to True will generate sweep mesh in thin volumes by respecting nDivisions.