-
Notifications
You must be signed in to change notification settings - Fork 8
ABLATE to Curve Files
Matt McGurn edited this page Jun 15, 2023
·
1 revision
This guide will explain how to convert the ABLATE output files to the curve format.
-
Run your ablate simulation with Hdf5MultiFileSerializer
timestepper: io: !ablate::io::Hdf5MultiFileSerializer interval: 0
-
Clone the post-processing repo to your local machine.
git clone https://github.com/UBCHREST/post-processing.git
-
Setup your python environment as needed.
- UB CCR:
module load python/py38-anaconda-2021.05 - LLNL Quartz:
module load python/3.10.8
The following paths are just examples. Update with paths on your system.
-
Run the following command to view script options:
usage: cuveFile.py [-h] --file FILE Generate curve files from ablate files optional arguments: -h, --help show this help message and exit --file FILE The path to the ablate hdf5 file(s) containing the ablate data. A wild card can be used to supply more than one file.
-
Export the path to the post processing repo
- UB CCR:
export POST_PROCESSING=/projects/academic/chrest/mtmcgurn/post-processing/ - LLNL Quartz:
export POST_PROCESSING=/usr/workspace/ubchrest/post-processing/
- Generate the curve files from the ABLATE hdf5 files. You must specify the file(s) and fields.
# From within the result directory like 6G-280x40-pmma-rad-12844839 # the domain files python3 $POST_PROCESSING/chrest/ablateData.py --file "domain/domain*.hdf5" # A new folder with curve in the name will be created in the directory containing the curve files.