Automated Postprocessing

Many of the simulation results and comparisons that are illustrated in this section of the guide have been automatically obtained using scripts.

The app runs post-processing scripts within the simulation template after a heart analysis is completed and create text files comparing the Model results for the second beat to the literature references cited. You can download the scripts and text files in the simulation process from the Content panel and the LH_Solve_OutputFiles folder in the Process Composer app.

Script Description Input Output
LHM_extract_PV.py Extracts time, pressure and volume for ventricle, atrium, and arterial and pulmonary systems

LH_Mechanical_Analysis.inp
LH_Mechanical_Analysis.odb

LH_Mechanical_Analysis_LV_allBeat.inp
LH_Mechanical_Analysis_LA_allBeat.inp
LH_Mechanical_Analysis_AC_allBeat.inp
LH_Mechanical_Analysis_PC_allBeat.inp

LHM_extract_PV_Range.py Extracts pressure and volume ranges

LH_Mechanical_Analysis_LV_allBeat.inp
LH_Mechanical_Analysis_LA_allBeat.inp
LH_Mechanical_Analysis_AC_allBeat.inp
LH_Mechanical_Analysis_PC_allBeat.inp

LH_Mechanical_Analysis_pressure_volume_range.inp

calcNodeCoords.py Extracts nodal coordinates at end diastole and end systole

LH_Mechanical_Analysis.odb
target frame

ED_nodes_PART-1.inp
ES_nodes_PART-1.inp

calculateAnnulus-native.py Calculates mitral annulus diameters, circumference, area, and height

LH_Mechanical_Analysis.odb
target frame

ED_annulus.inp
ES_annulus.inp

LHM_extract_strain_displacement.py Extracts strain and displacement

LH_Mechanical_Analysis.odb
ED_nodes_PART-1.inp
ES_nodes_PART-1.inp

LH_Mechanical_Analysis_strain_average.inp
LH_Mechanical_Analysis_displacement.inp