MultiZoneSweepMeshParams#

class ansys.meshing.prime.MultiZoneSweepMeshParams(model=None, source_and_target_scope=None, sweep_mesh_size=None, n_divisions=None, thin_sweep=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.

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

MultiZoneSweepMeshParams.print_default()

Print the default values of MultiZoneSweepMeshParams object.

MultiZoneSweepMeshParams.set_default([...])

Set the default values of the MultiZoneSweepMeshParams object.

Attributes

MultiZoneSweepMeshParams.n_divisions

Number of divisions in the sweep direction.

MultiZoneSweepMeshParams.source_and_target_scope

Source and target faces used to determine the direction of sweep in MultiZone meshing.

MultiZoneSweepMeshParams.sweep_mesh_size

Sweep mesh size used to determine the mesh size and number of divisions in the sweep direction.

MultiZoneSweepMeshParams.thin_sweep

Thin sweep option set to True will generate sweep mesh in thin volumes by respecting nDivisions.