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

Calculator : Heat Exchanger — ε-NTU Method
Category   : Exchangers

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

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

  heat_exchanger_ntu < 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 (Configuration (1=Parallel Flow, 2=Counter Flow, 3=Shell & Tube, 4=Cross Flow)
): 1
  Line 2 (Hot fluid inlet temp Thi [Â°C]
): 150.0
  Line 3 (Cold fluid inlet temp Tci [Â°C]
): 20.0
  Line 4 (Hot fluid mass flow rate mh [kg/s]
): 2.0
  Line 5 (Cold fluid mass flow rate mc [kg/s]
): 3.0
  Line 6 (Hot fluid specific heat Cph [J/kg-K]
): 4180.0
  Line 7 (Cold fluid specific heat Cpc [J/kg-K]
): 4180.0
  Line 8 (Overall heat transfer coefficient U [W/m2-K]
): 500.0
  Line 9 (Heat exchanger surface area A [m2]): 15.0

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