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

Calculator : Shell-and-Tube HX Design
Category   : Exchangers

Files Included:
  - shell_tube_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 shell_tube_design.f90 -o shell_tube_calc

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

  shell_tube_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Number of shell passes (1, 2, 4)
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 specific heat [J/kg-K]
Cold specific heat [J/kg-K]
Overall heat transfer coefficient U [W/m2-K]

Website : https://thermofluidcalc.com
