Cathode side:
Overall Reaction:
The water may exist in vapor and liquid in PEM water electrolyzer cells
```none
Temperature: 443 K, 140 oC
Pressure: 1 bar/1 bar (anode/cathode)
supply: Water vapor
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