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

Calculator : Double-Pipe HX Design
Category   : Exchangers

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

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

  double_pipe_design < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Flow arrangement (1=Parallel, 2=Counter)
Hot fluid inlet temp [Â°C]
Hot fluid outlet temp [Â°C]
Cold fluid inlet temp [Â°C]
Cold fluid outlet temp [Â°C]
Hot fluid mass flow rate [kg/s]
Cold fluid mass flow rate [kg/s]
Hot fluid specific heat [J/kg-K]
Cold fluid specific heat [J/kg-K]
Inner tube inner diameter [m]
Inner tube outer diameter [m]
Outer pipe inner diameter [m]
Tube wall thermal conductivity [W/m-K]
Inner convection coefficient [W/m2-K]
Outer convection coefficient [W/m2-K]
Inner fouling factor [m2-K/W]
Outer fouling factor [m2-K/W]

Website : https://thermofluidcalc.com
