- 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.pyis 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/liband/usr/local/include
- Create and enter directory
build - type
cmake .. - type
makeormake -j8 - type
make install- This puts the code in the
rundirectory
- This puts the code in the
- type
cd ../run - type
./psr.x- This creates a
.datfile and a.png(image) file.
- This creates a