pgrete / energy-transfer-analysis

BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Changelog

Requirements

General usage

The run_analysis.py script is the main file that needs to be run.

In general the following parameters are available

Energy transfer analysis

Sample usage

Use the run_analysis.py script with the --flow transfer option. For example (to run the transfer analysis on the regression data set),

srun -n 8 python ./run_analysis.py --terms All FU PU BUPbb UBPbb --res 128 --data_path DD0024/data0024 --data_type Enzo --binning test --type transfer --outfile test-out.pkl --eos adiabatic --gamma 1.0001  -forced -b

Turbulent flow analysis

Features

Usage

Use the run_analysis.py script with the --flow flow option. For example (to analyze a driven turbulence hydro simulation with an isothermal equation of state), For example,

srun -n 8 python ./run_analysis.py --res 256 --data_path /PATH/TO/SIM/DUMP  --data_type Athena --type flow --eos isothermal --outfile /PATH/TO/OUTFILE.hdf5 -forced --kernels Gauss

Sample analysis

The notebook sample_flow_analysis.ipynb contains examples on how to analyze/visualize/plot the data from the flow analysis.

Current limitations

Adding new simulation output