=========================================================================
  ThermoFluidCalc — Standalone Fortran Execution Guide
=========================================================================

Calculator : Fuel Cell Thermodynamics
Category   : Thermo

Files Included:
  - fuel_cell_thermo.f90 (Fortran 90/2008 Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have GNU Fortran (gfortran) or Intel Fortran (ifort) installed.
Run the following compilation command in your terminal:

  gfortran -O3 fuel_cell_thermo.f90 -o fuel_cell_thermo

-------------------------------------------------------------------------
2. How to Execute
-------------------------------------------------------------------------
Run the compiled binary and pipe the input.txt file into stdin:

  fuel_cell_thermo < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Cell type (1=PEM, 2=SOFC, 3=DMFC, 4=AFC)
Cell temperature T [K]
System pressure [atm]
Current density [A/cm2]
Active cell area [cm2]
Number of cells in stack
Hydrogen partial pressure pH2 [atm]
Oxygen partial pressure pO2 [atm]
Transfer coefficient alpha
Exchange current density i0 [A/cm2]
Area-specific resistance r [Ohm-cm2]
Limiting current density ilim [A/cm2]

Website : https://thermofluidcalc.com
