=========================================================================
  ThermoFluidCalc — Offline Fortran Execution Guide
=========================================================================

Calculator : Gas Absorption — Reactive Systems
Category   : Masstransfer

Files Included:
  - gas_absorption_reactive.f90 (Fortran Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have a Fortran compiler installed (like gfortran).
Run the following compilation command in your terminal:

  gfortran -O3 gas_absorption_reactive.f90 -o gas_absorption_reactive

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

  gas_absorption_reactive < input.txt

-------------------------------------------------------------------------
3. Input File Details
-------------------------------------------------------------------------
The input file 'input.txt' contains sequential parameters separated by
newlines. Here is the structure of the included 'input.txt':

  Line 1 (Reaction Model (1=Second-order A+B, 2=First-order A)): 1
  Line 2 (Physical Mass Transfer Coeff kL [m/s]): 2.0e-4
  Line 3 (Liquid Diffusivity DA [m2/s]): 1.9e-9
  Line 4 (Pseudo-first-order rate k1 [1/s]): 0.0
  Line 5 (Second-order rate k2 [m3/mol-s]): 8500.0
  Line 6 (Bulk Reactant B Concentration CB [mol/m3]): 100.0
  Line 7 (Interfacial A Concentration CAi [mol/m3]): 0.020
  Line 8 (Bulk A Concentration CAb [mol/m3]): 0.000
  Line 9 (Henry Coefficient H [mol/m3-Pa]): 0.034
  Line 10 (Gas Partial Pressure pA [Pa]): 10000.0
  Line 11 (Instantaneous Enhancement Limit Ei): 50.0
  Line 12 (Interfacial Area [m2]): 1.0

=========================================================================
ThermoFluidCalc — https://thermofluidcalc.com
