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

Calculator : Pinch Analysis & Process Integration
Category   : Exchangers

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

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

  hx_pinch < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Minimum temperature difference dT_min [K]
Number of process streams N
Stream 1: Type (1=Hot, 2=Cold), Ts [°C], Tt [°C], CP [kW/K]
Stream 2: Type (1=Hot, 2=Cold), Ts [°C], Tt [°C], CP [kW/K]
Stream 3: Type (1=Hot, 2=Cold), Ts [°C], Tt [°C], CP [kW/K]
Stream 4: Type (1=Hot, 2=Cold), Ts [°C], Tt [°C], CP [kW/K]

Website : https://thermofluidcalc.com
