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

Calculator : Gas Permeation Membrane Separation
Category   : Masstransfer

Files Included:
  - gas_permeation_membrane.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 gas_permeation_membrane.f90 -o gas_permeation_membrane

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

  gas_permeation_membrane < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Feed Gas Flow Rate [Nm³/h]\nFast Gas Feed Mole Fraction\nFeed Pressure [bar abs]\nPermeate Pressure [bar abs]\nFast Gas Permeance [GPU]\nMembrane Selectivity Alpha\nDesign Stage Cut Theta [fraction]

Website : https://thermofluidcalc.com
