Skip to main content

Prime Mesh Python client library 2024 R2

SoftSizingParams

Last update: 17.07.2025

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 SoftSizingParams object 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 SoftSizingParams object with provided parameters.

Examples

>>> soft_sizing_params = prime.SoftSizingParams(model = model)

Methods

Name Description
SoftSizingParams.print_default() Print the default values of SoftSizingParams object.
SoftSizingParams.set_default([max, growth_rate]) Set the default values of the SoftSizingParams object.

Attributes

Name Description
SoftSizingParams.growth_rate Growth rate used for transitioning from one element size to neighbor element size.
SoftSizingParams.max Maximum size used for computing edge and face size using soft size control.

Connect with Ansys