In this section, you can find a general presentation of Cantera as well as some tutorials :
- The first part is aimed to show Cantera infrastructure, how it works and how the user can interact with the code:
- Presentation (older version here)
- The different tutorials are gradually increasing in difficulty to provide the user knowledge about :
- Presentation (older version here)
- The second part is aimed to show the modification that have been applied to CERFACS code:
- Presentation (older version here)
- Explanation (pptx, txt) of which files are modified to get CERFACS version [private]
- Examples here :
- the counterflow-diffusion flamelet resolution [ipynb]
- the flame thickening resolution [ipynb]
- AVBP transport [ipynb]
- the Partial Equilibrium Assumption (PEA) [ipynb]
- how to deal with ARC mechanisms
- the handling of soot particles [pdf – zip] [private]
- Presentation (older version here)
Working on NFS with jupyter notebook
1. Connect on NFS. Type module load cantera
2. Create password for session, type mkdir $HOME/.jupiter and juptyter notebook password
3. Type jupyter notebook and get the port number used, here it is 8889
[I 15:36:48.209 NotebookApp] The Jupyter Notebook is running at
[I 15:36:48.209 NotebookApp] http://localhost:8889/
4. On a session on your device, create a tunnel between your device and NFS, for instance with baal :
ssh -N -f -L localhost:8888:localhost:8889 baal
5. Open your browser and type localhost:8888
To check that the port number is available, type :
netstat -an | grep 8888