LeakPreventionParams#
- class ansys.meshing.prime.LeakPreventionParams(model=None, material_points=None, scope=None, max_hole_size=None, n_expansion_layers=None, json_data=None, **kwargs)#
LeakPreventionParams defines leakage prevention control parameters for wrapper.
- Parameters:
- model: Model
Model to create a
LeakPreventionParams
object with default parameters.- material_points: List[str], optional
Material points used for leak prevention control.
- scope: ScopeDefinition, optional
Scope used for leak prevention control.
- max_hole_size: float, optional
Maximum hole size to prevent leakage into region.
- n_expansion_layers: int, optional
Number of layers to expand leaking region.
- json_data: dict, optional
JSON dictionary to create a
LeakPreventionParams
object with provided parameters.
Examples
>>> leak_prevention_params = prime.LeakPreventionParams(model = model)
Methods
Print the default values of
LeakPreventionParams
object.Set the default values of the
LeakPreventionParams
object.Attributes
Material points used for leak prevention control.
Maximum hole size to prevent leakage into region.
Number of layers to expand leaking region.
Scope used for leak prevention control.