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

Calculator : Packed Bed Absorption
Category   : Masstransfer

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

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

  absorption_packed_bed < 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 (Inlet gas solute mole fraction y_in): 0.10
  Line 2 (Target outlet gas mole fraction y_out): 0.02
  Line 3 (Lean solvent inlet mole fraction x_in): 0.0
  Line 4 (Henry slope m = y*/x): 1.25
  Line 5 (Gas molar flow G [mol/s]): 1.0
  Line 6 (Liquid molar flow L [mol/s]): 2.2
  Line 7 (Volumetric gas-side coefficient K_Ga [mol/m3-s]): 0.08
  Line 8 (Column cross-sectional area A [m2]): 0.25
  Line 9 (Packing safety factor): 1.0

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