ProximitySizingParams
Last update: 10.09.2025class ansys.meshing.prime.ProximitySizingParams(model=None, min=None, max=None, growth_rate=None, elements_per_gap=None, ignore_self_proximity=None, ignore_orientation=None, json_data=None, **kwargs)
Size field using proximity size control computes edge and face sizes in gaps using the specified minimum number of element layers.
-
Parameters:
model: Model : Model to create a
ProximitySizingParamsobject with default parameters.min: float, optional : Minimum size used for computing edge and face size using proximity size control.
max: float, optional : Maximum size used for computing edge and face size using proximity size control.
growth_rate: float, optional : Growth rate used for transitioning from one element size to neighbor element size.
elements_per_gap: float, optional : The number of elements per gap can be a real value. This has the effect of stretching face elements with larger sizes along side faces, or gaps, thereby reducing the overall face count, and ultimately the cell count.
ignore_self_proximity: bool, optional : Ignore proximity within zonelets.
ignore_orientation: bool, optional : The ignore orientation option can be used to ignore the face normal orientation during the proximity calculation. The default is false.
json_data: dict, optional : JSON dictionary to create a
ProximitySizingParamsobject with provided parameters.
Examples
>>> proximity_sizing_params = prime.ProximitySizingParams(model = model)
Methods
| Name | Description |
|---|---|
ProximitySizingParams.print_default() |
Print the default values of ProximitySizingParams object. |
ProximitySizingParams.set_default([min, ...]) |
Set the default values of the ProximitySizingParams object. |
Attributes
| Name | Description |
|---|---|
ProximitySizingParams.elements_per_gap |
The number of elements per gap can be a real value. |
ProximitySizingParams.growth_rate |
Growth rate used for transitioning from one element size to neighbor element size. |
ProximitySizingParams.ignore_orientation |
The ignore orientation option can be used to ignore the face normal orientation during the proximity calculation. |
ProximitySizingParams.ignore_self_proximity |
Ignore proximity within zonelets. |
ProximitySizingParams.max |
Maximum size used for computing edge and face size using proximity size control. |
ProximitySizingParams.min |
Minimum size used for computing edge and face size using proximity size control. |