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

Calculator : Mass Diffusion — Fick's Law & Stagnant Film
Category   : Masstransfer

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

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

  mass_diff < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Diffusion Mode (1=Equimolar Counter-Diffusion, 2=Stagnant Gas B)
System Temperature [Â°C]
Total Pressure [kPa]
Binary Diffusivity D_AB [m2/s]
Film Thickness L [m]
Boundary 1 Solute Partial Pressure [kPa]
Boundary 2 Solute Partial Pressure [kPa]
Solute Molecular Weight [g/mol]

Website : https://thermofluidcalc.com
