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

Calculator : Convective Mass Transfer
Category   : Masstransfer

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

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

  convective_mass_transfer < 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 (Geometry (1=Flat Plate, 2=Circular Pipe, 3=Sphere, 4=Single Cylinder)): 2
  Line 2 (Flow Regime (1=Laminar, 2=Turbulent, 3=Mixed)): 1
  Line 3 (Characteristic Length L [m]): 1.0
  Line 4 (Pipe Inner Diameter D [m]): 0.05
  Line 5 (Plate Width W [m]): 0.5
  Line 6 (Free-stream/Mean Velocity U [m/s]): 2.0
  Line 7 (Fluid Density rho [kg/m3]): 1.2
  Line 8 (Fluid Dynamic Viscosity mu [Pa-s]): 1.8e-5
  Line 9 (Binary Diffusivity Dab [m2/s]): 2.5e-5
  Line 10 (Bulk Solute Concentration C_bulk [mol/m3]): 0.0
  Line 11 (Surface Solute Concentration C_surface [mol/m3]): 1.0
  Line 12 (Solute Molecular Weight [g/mol]): 28.97
  Line 13 (Pipe / Plate Length [m]): 5.0

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