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

Calculator : Transient Diffusion in Solids
Category   : Masstransfer

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

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

  transient_diffusion_solid < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Geometry (1=Slab, 2=Cylinder, 3=Sphere)
Half-Thickness/Radius L [m]
Position x/r [m]
Area A [m2]
Diffusivity D [m2/s]
Convective Mass Transfer Coeff hm [m/s]
Initial Concentration C0 [mol/m3]
Ambient/Surface Concentration Cs [mol/m3]
Time t [s]
Solid Density rho_s [kg/m3]

Website : https://thermofluidcalc.com
