- Adiabatic, steady state
- Uses Cantera for thermochemical properties
- Note, Cantera was built with Sundials installed separately
- Uses Sundials Kinsol for solving the system of equations
- Solves for the full range of residence times.
- Solution is saved to file
tau_T.dat
. Fileplot.py
is called, which createstau_T.png
.
Solve the following equations:
For a given
- Install Sunduals (https://github.com/LLNL/sundials.git)
- Install Cantera (https://github.com/Cantera/cantera.git)
- Path:
/usr/local/lib
and/usr/local/include
- Create and enter directory
build
- type
cmake ..
- type
make
ormake -j8
- type
make install
- This puts the code in the
run
directory
- This puts the code in the
- type
cd ../run
- type
./psr.x
- This creates a
.dat
file and a.png
(image) file.
- This creates a