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

Calculator : Two-Phase Flow Patterns & Lockhart-Martinelli
Category   : Fluid-mechanics

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

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

  two_phase_lockhart_martinelli < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Pipe Orientation (1=Horizontal, 2=Vertical)\nTotal Mass Flow Rate [kg/s]\nVapor Mass Quality x [0 to 1]\nPipe Inner Diameter [mm]\nPipe Length [m]\nLiquid Density [kg/m³]\nGas Density [kg/m³]\nLiquid Viscosity [Pa·s]\nGas Viscosity [Pa·s]

Website : https://thermofluidcalc.com
