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

Calculator : Boiling & Condensation
Category   : Convection

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

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

  boiling_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 (Mode (1=Pool Boiling, 2=Film Condensation)
): 1
  Line 2 (Geometry (1=Horizontal Wire/Tube, 2=Flat Plate, 3=Sphere)
): 1
  Line 3 (Diameter/Height [m]
): 0.025
  Line 4 (Length/Width [m]
): 1.0
  Line 5 (Surface Temp Ts [Â°C]
): 110.0
  Line 6 (Saturation Temp Tsat [Â°C]
): 100.0
  Line 7 (Liquid Density rhol [kg/m3]
): 958.0
  Line 8 (Liquid Viscosity mul [Pa-s]
): 2.82e-4
  Line 9 (Liquid Conductivity kl [W/m-K]
): 0.68
  Line 10 (Liquid Prandtl Prl
): 1.75
  Line 11 (Liquid Specific Heat Cpl [J/kg-K]
): 4217.0
  Line 12 (Vapor Density rhov [kg/m3]
): 0.598
  Line 13 (Vapor Viscosity muv [Pa-s]
): 1.2e-5
  Line 14 (Vapor Conductivity kv [W/m-K]
): 0.025
  Line 15 (Vapor Prandtl Prv
): 1.0
  Line 16 (Vapor Specific Heat Cpv [J/kg-K]
): 2030.0
  Line 17 (Latent Heat hfg [J/kg]
): 2257000.0
  Line 18 (Surface Tension sigma [N/m]
): 0.0589
  Line 19 (Boiling correlation constant Csf (dummy)
): 0.013
  Line 20 (Surface Emissivity): 0.8

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