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

Calculator : Stefan Problem — Phase Change
Category   : Conduction

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

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

  stefan_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Stefan Mode (1=Freezing/Solidification, 2=Melting/Liquefaction)
Melting Temperature Tm [Â°C]
Latent Heat of Fusion L [kJ/kg]
Initial Liquid Temp Ti [Â°C]
Applied Surface Temp Ts [Â°C]
Solid phase thermal conductivity ks [W/m-K]
Solid phase density rhos [kg/m3]
Solid phase specific heat Cps [J/kg-K]
Liquid phase thermal conductivity kl [W/m-K]
Liquid phase density rhol [kg/m3]
Liquid phase specific heat Cpl [J/kg-K]
Target freeze depth [mm]
Evaluation depth x_eval [mm]
Simulation time t [s]

Website : https://thermofluidcalc.com
