The auto_process.py module#

Summary#

zerop_post

Postprocess the zero-pressure folder.

mech_post

Postprocess the mechanical simulation folder.

Description#

Script used to postprocess simulations automatically.

Module detail#

auto_process.zerop_post(directory: str, model: ansys.health.heart.models.HeartModel) tuple[dict, numpy.ndarray, numpy.ndarray]#

Postprocess the zero-pressure folder.

Parameters:
directorystr

Path to the simulation folder.

modelHeartModel

Model to postprocess.

Returns:
tuple[dict, np.ndarray, np.ndarray]

Dictionary with convergence information, stress free configuration, and computed end-of-diastolic configuration.

auto_process.mech_post(directory: str, model: ansys.health.heart.models.HeartModel) None#

Postprocess the mechanical simulation folder.

Parameters:
directorystr

Path to the d3plot folder.

modelHeartModel

Heart model.