The pvloop.py
module#
Summary#
Write PV loop figures to a PNG file. |
|
Generate PV loop figures from the ICVOUT file. |
Description#
Get pressure-volume (PV) loop from the LS-DYNA ICVOUT file.
Module detail#
- pvloop.write_pvloop_pngs(pressure: numpy.ndarray, volume: numpy.ndarray, save_to: str) None #
Write PV loop figures to a PNG file.
- Parameters:
- pressure
np.ndarray
Pressure array.
- volume
np.ndarray
Volume array.
- save_to
str
Directory to save the file to.
- pressure
- pvloop.generate_pvloop(f: str, out_dir: str, t_to_keep: float = 800) None #
Generate PV loop figures from the ICVOUT file.
- pvloop.CV_NAME = ['LV', 'RV', 'LA', 'RA']#