Part#

class ansys.health.heart.objects.Part(name: str = None, part_type: PartType = PartType.UNDEFINED)#

Part class.

Overview#

get_point

Get a point from the part.

surfaces

List of surfaces belonging to the part.

surface_names

List of surface names belonging to the part.

name

Part name.

pid

Part ID.

mid

Material ID associated with the part.

part_type

Type of the part.

element_ids

Array holding element IDs that make up the part.

points

Points of interest belonging to the part.

caps

List of caps belonging to the part.

cavity

fiber

Flag indicating if the part has fiber/sheet data.

active

Flag indicating if active stress is established.

meca_material

Material model to assign in the simulator.

ep_material

EP material model to assign in the simulator.

Import detail#

from ansys.health.heart.objects import Part

Property detail#

property Part.surfaces: List[SurfaceMesh]#

List of surfaces belonging to the part.

property Part.surface_names: List[str]#

List of surface names belonging to the part.

Attribute detail#

Part.name = None#

Part name.

Part.pid = None#

Part ID.

Part.mid = None#

Material ID associated with the part.

Part.part_type: PartType#

Type of the part.

Part.element_ids: numpy.ndarray#

Array holding element IDs that make up the part.

Part.points: List[Point] = []#

Points of interest belonging to the part.

Part.caps: List[Cap] = []#

List of caps belonging to the part.

Part.cavity: Cavity = None#
Part.fiber: bool = False#

Flag indicating if the part has fiber/sheet data.

Part.active: bool = False#

Flag indicating if active stress is established.

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) Point#

Get a point from the part.