PeleRad is a module for modeling radiative transfer in reacting flows. It supports GPU performance portability and adaptive mesh refinement through AMReX and is coupled to PeleLMeX.
- Clone the repository:
git clone https://github.com/AMReX-Combustion/PeleRad.git - The example CMake scripts for Summit CUDA build and Frontier HIP build are in the '/scripts' folder.
- To enable the unit tests, PeleRad needs to build with the Boost library.
To build with the PeleLMeX flow solver, GNUMake is prefered. One example script to build a test case on Frontier is provided in the '/scripts' folder.
To run the script: './build_PeleLMeX_Fontier.sh'
PeleRad is designed for modeling radiative transfer in reacting flows. To activate and use PeleRad in conjunction with PeleLMeX, follow these steps:
- Add 'USE_PELERAD = TRUE' in the GNUmakefile in the case folder.
- If using the clang compiler on Frontier, link the c++ file system by adding 'LIBRARIES += -lstdc++fs'.
- Add the pelerad input keywords to the amrex-style input file in the case folder. Example keywords can be found in '/inputs/inputs.egLMeX'
- Specify the path of the spectral database ($PELERAD_HOME/data/kpDB/) is needed for the 'pelerad.kppath' keywords in the input file.
The license file is located at https://github.com/AMReX-Combustion/PeleMP/blob/master/license.txt