hydrogen pump cell application
This is a test case for hydrogen pump cell.
Chemical reaction:
- Anode side:
- Cathode side:
- Overall Reaction:
Operating conditions
```none
Temperature: 343 K, 70 oC
Pressure: 1 bar/1 bar (anode/cathode)
gases: (H2 & H2O)/(No gas) (anode/cathode)
Active area 0.8 cm2
Mean current density 8000 A/m3
```
To run the case:
-
In serial
# Generate the meshes with 'blockMesh' make mesh # or Generate the meshes with 'salome' # make salomeMesh # Run in serial make srun
-
In parallel
# Generate the meshes with 'blockMesh' make mesh # or Generate the meshes with 'salome' # make salomeMesh # Edit values of 'nx' and 'ny' in constant/cellProperties export NPROCS=nx*ny # (value of 'nx' times 'ny') # Generate the cellID # For manual decomposition make decompose # Decomposition for multiple regions make parallel # Run in parallel make run #( the value of 'nx' times 'ny' needs to be changed in 'Makefile') # or # mpirun -np nx*ny fuelCell0Foam -parallel -fileHandler collated | tee log.run
To view the result:
-
In serial
-
Residual plot
make plot #or gnuplot ResidualPlot
-
Simulation results
make view paraview
-
-
In parallel
-
Residual plot
make plot or gnuplot ResidualPlot
-
Simulation results
make reconstruct make view paraview
-