SizeControl#

class ansys.meshing.prime.SizeControl(model, id, object_id, name, local=False)#

Size control is used to compute the size field.

The size field is computed based on the size control defined. Different type of size controls provide control over how the mesh size is distributed on a surface or within the volume.

Parameters:
modelModel

Server model to create SizeControl object.

idint

Id of the SizeControl.

object_idint

Object id of the SizeControl.

namestr

Name of the SizeControl..

localbool, optional

Unused. The default is False.

Methods

SizeControl.get_boi_sizing_params()

Get the body of influence sizing parameters of size control.

SizeControl.get_curvature_sizing_params()

Get the curvature sizing parameters of size control.

SizeControl.get_hard_sizing_params()

Get the hard sizing parameters of size control.

SizeControl.get_meshed_sizing_params()

Get the meshed sizing parameters of size control.

SizeControl.get_proximity_sizing_params()

Get the proximity sizing parameters of size control.

SizeControl.get_scope()

Get the scope used by size control to evaluate entities.

SizeControl.get_sizing_type()

Gets the sizing type for the size control.

SizeControl.get_soft_sizing_params()

Get the soft sizing parameters of size control.

SizeControl.get_summary(params)

Get the size control summary along with the evaluated scope for the provided parameters..

SizeControl.set_boi_sizing_params(params)

Set the body of influence sizing parameters to compute volumetric size field.

SizeControl.set_curvature_sizing_params(params)

Set the curvature sizing parameters to compute volumetric size field.

SizeControl.set_hard_sizing_params(params)

Set the hard sizing parameters to compute volumetric size field.

SizeControl.set_meshed_sizing_params(params)

Set the meshed sizing parameters to compute volumetric size field.

SizeControl.set_proximity_sizing_params(params)

Set the proximity sizing parameters to compute volumetric size field.

SizeControl.set_scope(scope)

Set the scope for size control to evaluate.

SizeControl.set_soft_sizing_params(params)

Set the soft sizing parameters to compute volumetric size field.

SizeControl.set_suggested_name(name)

Set the unique name for the size control to a suggested name.

Attributes

SizeControl.id

Get the id of SizeControl.

SizeControl.name

Get the name of size control.

Examples using SizeControl#

Mesh a generic F1 car rear wing for external aero simulation

Mesh a generic F1 car rear wing for external aero simulation

Mesh a generic PCB geometry with multiple hexa layers

Mesh a generic PCB geometry with multiple hexa layers

Create a contact patch for wrapping between a wheel and ground interface

Create a contact patch for wrapping between a wheel and ground interface

Mesh a set of solder balls (beta)

Mesh a set of solder balls (beta)