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

Calculator : Double-Pipe HX Design
Category   : Exchangers

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

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

  double_pipe_design < 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 (Flow arrangement (1=Parallel, 2=Counter)
): 2
  Line 2 (Hot fluid inlet temp [Â°C]
): 120.0
  Line 3 (Hot fluid outlet temp [Â°C]
): 80.0
  Line 4 (Cold fluid inlet temp [Â°C]
): 20.0
  Line 5 (Cold fluid outlet temp [Â°C]
): 50.0
  Line 6 (Hot fluid mass flow rate [kg/s]
): 1.5
  Line 7 (Cold fluid mass flow rate [kg/s]
): 2.0
  Line 8 (Hot fluid specific heat [J/kg-K]
): 2200.0
  Line 9 (Cold fluid specific heat [J/kg-K]
): 4180.0
  Line 10 (Inner tube inner diameter [m]
): 0.025
  Line 11 (Inner tube outer diameter [m]
): 0.027
  Line 12 (Outer pipe inner diameter [m]
): 0.050
  Line 13 (Tube wall thermal conductivity [W/m-K]
): 385.0
  Line 14 (Inner convection coefficient [W/m2-K]
): 2500.0
  Line 15 (Outer convection coefficient [W/m2-K]
): 1800.0
  Line 16 (Inner fouling factor [m2-K/W]
): 0.0001
  Line 17 (Outer fouling factor [m2-K/W]): 0.0002

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