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

Calculator : 1D Transient Conduction FDM Solver
Category   : Conduction

Files Included:
  - transient_fdm_solver.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_fdm_solver.f90 -o fdm_solver_calc

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

  fdm_solver_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Geometry (1=Slab, 2=Cylinder, 3=Sphere)
Length/Radius L [m]
Number of nodes N
Time step dt [s]
Solver method (1=Explicit, 2=Implicit Euler, 3=Crank-Nicolson)
Thermal conductivity k0 [W/m-K]
Density rho [kg/m3]
Specific heat Cp0 [J/kg-K]
Temp-dependency beta_k [1/K]
Temp-dependency beta_cp [1/K]
Left/Inner BC type (1=Temp, 2=Flux, 3=Convection, 4=Insulated)
Left BC param 1
Left BC param 2
Right/Outer BC type
Right BC param 1
Right BC param 2
Initial temperature type (1=Uniform, 2=Linear)
Initial temp param 1
Initial temp param 2
Simulation time t_sim [s]

Website : https://thermofluidcalc.com
