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

Calculator : Manning Equation — Open Channel
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 -O3 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 shape (1=Trapezoidal, 2=Circular, 3=Rectangular, 4=Triangular)
): 1
  Line 2 (Bottom width b [m]
): 2.0
  Line 3 (Side slope z (z:1 horizontal:vertical)
): 1.5
  Line 4 (Diameter D [m]
): 0.0
  Line 5 (Manning roughness coefficient n
): 0.025
  Line 6 (Channel bed slope S0
): 0.001
  Line 7 (Solve mode (1=Solve Normal Depth, 2=Solve Discharge Q)
): 1
  Line 8 (Known parameter (Discharge Q [m3/s] or Depth y [m])): 5.0

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