HardSizingParams#
- class ansys.meshing.prime.HardSizingParams(model=None, min=None, growth_rate=None, json_data=None, **kwargs)#
Size field computed using hard size control enables you to maintain a uniform size based on the size specified.
The hard sizing will override any other specified size.
- Parameters:
- model: Model
Model to create a
HardSizingParams
object with default parameters.- min: float, optional
Minimum size used for computing edge and face size using hard size control.
- growth_rate: float, optional
Growth rate used for transitioning from one element size to neighbor element size.
- json_data: dict, optional
JSON dictionary to create a
HardSizingParams
object with provided parameters.
Examples
>>> hard_sizing_params = prime.HardSizingParams(model = model)
Methods
Print the default values of
HardSizingParams
object.HardSizingParams.set_default
([min, growth_rate])Set the default values of the
HardSizingParams
object.Attributes
Growth rate used for transitioning from one element size to neighbor element size.
Minimum size used for computing edge and face size using hard size control.