Part
#
- class ansys.health.heart.parts.Part(name: str = None, part_type: _PartType = _PartType.UNDEFINED)#
Base part class.
Overview#
Get a point from the part. |
|
Get element IDs that make up the part. |
List of surfaces belonging to the part. |
|
List of surface names belonging to the part. |
|
Get element IDs that make up the part. |
Part name. |
|
Part ID. |
|
Material ID associated with the part. |
|
Points of interest belonging to the part. |
|
Flag indicating if the part has fiber/sheet data. |
|
Flag indicating if active stress is established. |
|
Material model to assign in the simulator. |
|
EP material model to assign in the simulator. |
Return a string representation of the part. |
Import detail#
from ansys.health.heart.parts import Part
Property detail#
- property Part.surfaces: list[ansys.health.heart.objects.SurfaceMesh]#
List of surfaces belonging to the part.
- property Part.element_ids: numpy.ndarray#
Get element IDs that make up the part.
Attribute detail#
- Part.points: list[ansys.health.heart.objects.Point] = []#
Points of interest belonging to the part.
- Part.meca_material: ansys.health.heart.settings.material.material.MechanicalMaterialModel#
Material model to assign in the simulator.
- Part.ep_material: ansys.health.heart.settings.material.ep_material.EPMaterial#
EP material model to assign in the simulator.
Method detail#
- Part.get_point(pointname: str) ansys.health.heart.objects.Point | None #
Get a point from the part.
- Part.get_element_ids(mesh: ansys.health.heart.objects.Mesh = None) numpy.ndarray #
Get element IDs that make up the part.
- Parameters:
- mesh
Mesh
, default:None
The mesh object where to get the element IDs from.
- mesh
- Returns:
np.ndarray
Array of element IDs that make up the part.