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

Calculator : Manning Open Channel Uniform Flow
Category   : Fluid

Files Included:
  - manning_equation.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 -ffree-line-length-none manning_equation.f90 -o manning_equation_calc

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

  manning_equation_calc < 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 (Channel Geometry Code (1=Rectangular, 2=Trapezoidal, 3=Triangular, 4=Circular)): 2
  Line 2 (Width ($b$) / Diameter ($D$) [m]): 6.0
  Line 3 (Side Slope ($z$) [H:V] (ignored for rect/circular)): 2.0
  Line 4 (Manning n Roughness): 0.025
  Line 5 (Bed Slope ($S_0$) [m/m]): 0.001
  Line 6 (Flow Discharge ($Q$) [m³/s]): 30.0

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