SoftSizingParams#
- class ansys.meshing.prime.SoftSizingParams(model=None, max=None, growth_rate=None, json_data=None, **kwargs)#
Size field computed using soft size control enables you to set the maximum size on the scoped zonelets .
When the soft sizing is computed for edges or faces, the size will be affected by size computed using other controls. The minimum size on the zonelet will be determined based on the influence of other size controls, else a uniform size will be maintained.
- Parameters:
- model: Model
Model to create a
SoftSizingParamsobject with default parameters.- max: float, optional
Maximum size used for computing edge and face size using soft 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
SoftSizingParamsobject with provided parameters.
Examples
>>> soft_sizing_params = prime.SoftSizingParams(model = model)
Methods
Print the default values of
SoftSizingParamsobject.SoftSizingParams.set_default([max, growth_rate])Set the default values of the
SoftSizingParamsobject.Attributes
Growth rate used for transitioning from one element size to neighbor element size.
Maximum size used for computing edge and face size using soft size control.
Examples using SoftSizingParams#
Mesh a generic PCB geometry with multiple hexa layers
Create a contact patch for wrapping between a wheel and ground interface