Skip to main content

Prime Mesh Python client library 2024 R2

ansys.meshing.prime.SizeControl

Last update: 17.07.2025

SizeControl.set_hard_sizing_params(params)

Set the hard sizing parameters to compute volumetric size field.

  • Parameters: params : Parameters that enables you to set uniform size based on the specified size.
  • Returns: SetSizingResults : Return the SetSizingResults.
  • Return type: SetSizingResults

Examples

>>> size_control.set_hard_sizing_params(
>>>                  prime.HardSizingParams(model=model,
>>>                  min = 0.1, growth_rate = 1.2))

Connect with Ansys