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

Calculator : Manning Equation — Open Channel
Category   : Fluid

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

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

  manning_equation_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Channel shape (1=Trapezoidal, 2=Circular, 3=Rectangular, 4=Triangular)
Bottom width b [m]
Side slope z (z:1 horizontal:vertical)
Diameter D [m]
Manning roughness coefficient n
Channel bed slope S0
Solve mode (1=Solve Normal Depth, 2=Solve Discharge Q)
Known parameter (Discharge Q [m3/s] or Depth y [m])

Website : https://thermofluidcalc.com
