LengthMeshOperation#

class ansys.edb.core.simulation_setup.mesh_operation.LengthMeshOperation(name='', net_layer_info=None, enabled=True, refine_inside=False, mesh_region='', solve_inside=False, max_length='1mm', restrict_max_length=True, max_elements='1000', restrict_max_elements=False)#

Represents a length mesh operation.

Attributes:
namestr, default: “”

str: Name of the mesh operation.

net_layer_infolist[tuple(str, str, bool)], default: None

list of tuple of (str, str, bool): List of net layer information for the mesh operation.

enabledbool, default: True

bool: Flag indicating if the mesh operation is enabled.

refine_insidebool, default: False

bool: Flag indicating if refining inside is enabled.

mesh_regionstr, default: “”

str: Name of the mesh region.

solve_insidebool, default: False

bool: Flag indicating if solve inside is enabled.

max_lengthstr, default: “1mm”

str: Maximum length of the mesh elements.

restrict_max_lengthstr, default: True

bool: Flag indicating if the maximum length of mesh elements is restricted.

max_elementsstr, default: “1000”

str: Maximum number of mesh elements.

restrict_max_elementsbool, default: False

bool: Flag indicating if the maximum number of mesh elements is restricted.

Methods

Attributes

LengthMeshOperation.enabled

bool: Flag indicating if the mesh operation is enabled.

LengthMeshOperation.max_elements

str: Maximum number of mesh elements.

LengthMeshOperation.max_length

str: Maximum length of the mesh elements.

LengthMeshOperation.mesh_region

str: Name of the mesh region.

LengthMeshOperation.name

str: Name of the mesh operation.

LengthMeshOperation.net_layer_info

list of tuple of (str, str, bool): List of net layer information for the mesh operation.

LengthMeshOperation.refine_inside

bool: Flag indicating if refining inside is enabled.

LengthMeshOperation.restrict_max_elements

bool: Flag indicating if the maximum number of mesh elements is restricted.

LengthMeshOperation.restrict_max_length

bool: Flag indicating if the maximum length of mesh elements is restricted.

LengthMeshOperation.solve_inside

bool: Flag indicating if solve inside is enabled.