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

Calculator : Submerged Orifice & Weir Flow
Category   : Fluid

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

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

  submerged_orifice_weir < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
wt_init\nHead above crest / upstream depth H [m]\nCrest height / gate opening P [m]\nCrest width b [m]\nNotch angle Î¸ [Â°]\nOverride Cd (0 = auto)\nGravity g [m/sÂ²]\ntw_init

Website : https://thermofluidcalc.com
