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

Calculator : Stefan Problem — Phase Change
Category   : Conduction

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

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

  stefan_calc < 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 (Stefan Mode (1=Freezing/Solidification, 2=Melting/Liquefaction)
): 1
  Line 2 (Melting Temperature Tm [Â°C]
): 0.0
  Line 3 (Latent Heat of Fusion L [kJ/kg]
): 333.5
  Line 4 (Initial Liquid Temp Ti [Â°C]
): 10.0
  Line 5 (Applied Surface Temp Ts [Â°C]
): -15.0
  Line 6 (Solid phase thermal conductivity ks [W/m-K]
): 2.22
  Line 7 (Solid phase density rhos [kg/m3]
): 917.0
  Line 8 (Solid phase specific heat Cps [J/kg-K]
): 2050.0
  Line 9 (Liquid phase thermal conductivity kl [W/m-K]
): 0.57
  Line 10 (Liquid phase density rhol [kg/m3]
): 1000.0
  Line 11 (Liquid phase specific heat Cpl [J/kg-K]
): 4184.0
  Line 12 (Target freeze depth [mm]
): 50.0
  Line 13 (Evaluation depth x_eval [mm]
): 10.0
  Line 14 (Simulation time t [s]): 3600.0

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