LaplaceWriter#

class ansys.health.heart.writer.laplace_writer.LaplaceWriter(model: ansys.health.heart.models.HeartModel, type: Literal['uvc', 'la_fiber', 'ra_fiber', 'D-RBM'], **kwargs)#

Bases: ansys.health.heart.writer.base_writer.BaseDynaWriter

Class for preparing the input for a Laplace LS-DYNA simulation.

Overview#

update

Update the keyword database.

add_case

Add a case to the keyword database.

type

Problem type.

landmarks

Landmarks are laa, raa, and top.

target

Target mesh related to the problem.

Import detail#

from ansys.health.heart.writer.laplace_writer import LaplaceWriter

Attribute detail#

LaplaceWriter.type#

Problem type.

LaplaceWriter.landmarks#

Landmarks are laa, raa, and top.

LaplaceWriter.target: pyvista.UnstructuredGrid = None#

Target mesh related to the problem.

Method detail#

LaplaceWriter.update() None#

Update the keyword database.

LaplaceWriter.add_case(case_id: int, case_name: str, set_ids: list[int], bc_values: list[float]) None#

Add a case to the keyword database.

Parameters:
case_idint

Case ID.

case_namestr

Case name, which is the d3plot filename.

set_idslist[int]

List of nodeset IDs for boundary conditions.

bc_valueslist[float]

List of boundary condition values.