Skip to main content

Prime Mesh Python client library 2024 R1 SP1

ansys.meshing.prime.HardSizingParams

Last update: 17.07.2025

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.

Methods

HardSizingParams.print_default() Print the default values of HardSizingParams.
HardSizingParams.set_default([min, growth_rate]) Set the default values of HardSizingParams.

Attributes

HardSizingParams.growth_rate Growth rate used for transitioning from one element size to neighbor element size.
HardSizingParams.min Minimum size used for computing edge and face size using hard size control.

Connect with Ansys