Skip to content
Snippets Groups Projects

Update README.md

Merged Sebastian Weiss requested to merge sebastian.weiss-main-patch-37608 into main
1 file
+ 11
6
Compare changes
  • Side-by-side
  • Inline
+ 11
6
@@ -7,23 +7,28 @@ In this repository, a new real gas model for hydrogen based on the Reference Flu
@@ -7,23 +7,28 @@ In this repository, a new real gas model for hydrogen based on the Reference Flu
## OpenFOAM folder structure
## OpenFOAM folder structure
![](OpenFOAM_folder_structure.PNG)
<img src="OpenFOAM_folder_structure.PNG" width="800">
## Tutorial
## Tutorial
In a tutorial case of the flow through a critical flow Venturi nozzle, the usage of the new real gas model is shown.
In a tutorial case of the flow through a critical flow Venturi nozzle, the usage of the new real gas model is shown.
![](CFVN.PNG)
For the start of the simulation, do the following steps:
For the start of the simulation, do the following steps:
1. run `blockMesh && extrudeMesh`
1. run `blockMesh && extrudeMesh` to create the mesh
2. run either:
2. run either:
- `sonicFoam` or
- `sonicFoam > log &` or
- `decomposePar` and then `mpirun -np 4 sonicFoam -parallel`
- `decomposePar` (default number of processors is 4) and then `mpirun -np 4 sonicFoam -parallel > log &` to run the simulation
For the post-processing, you might need to:
For the post-processing, you might need to:
 
3. run `reconstructPar` (if your case was decomposed before)
3. run `reconstructPar` (if your case was decomposed before)
 
4. select the file "nozzle.foam" for the visualization in e. g. ParaView
 
 
The distribution of the real gas Mach number is displayed in the figure below.
 
 
<img src="CFVN.PNG" width="800">
 
## Acknowledgments
## Acknowledgments
This work was supported through the Joint Research Project “Metrology infrastructure for high-pressure gas and liquified hydrogen flows”. This project (20IND11 MetHyInfra) has received funding from the EMPIR programme co-financed by the Participating States and from the European Union's Horizon 2020 research and innovation programme.
This work was supported through the Joint Research Project “Metrology infrastructure for high-pressure gas and liquified hydrogen flows”. This project (20IND11 MetHyInfra) has received funding from the EMPIR programme co-financed by the Participating States and from the European Union's Horizon 2020 research and innovation programme.
Loading