ProximitySizingParams#
- class 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
Print the default values of
ProximitySizingParamsobject.ProximitySizingParams.set_default([min, ...])Set the default values of the
ProximitySizingParamsobject.Attributes
The number of elements per gap can be a real value.
Growth rate used for transitioning from one element size to neighbor element size.
The ignore orientation option can be used to ignore the face normal orientation during the proximity calculation.
Ignore proximity within zonelets.
Maximum size used for computing edge and face size using proximity size control.
Minimum size used for computing edge and face size using proximity size control.