Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_mannings_open_channel_flow

Calculate open-channel discharge, flow velocity, hydraulic radius, and Froude regime from Manning inputs to replace manual arithmetic with deterministic results.

Instructions

Manning's Open Channel Flow Velocity & Discharge Capacity Calculator. Calculate discharge capacity in CFS, flow velocity in fps, and hydraulic radius for trapezoidal, rectangular, and circular open channels. Discipline: ENGINEERING. Governing mathematical model / formula: Flow Q = (1.486 / n) · Area · (Hydraulic Radius)^(2/3) · (Slope)^(1/2).

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of total_discharge_cfs (Channel Discharge Capacity (Q)), flow_velocity_fps (Average Flow Velocity (v)), flow_cross_section_sqft (Wetted Flow Area), froude_number_regime (Froude Number Flow State) using channel_bottom_width_ft (Channel Bottom Width (Feet) in ft), water_flow_depth_ft (Water Flow Depth (Feet) in ft), channel_bed_slope (Channel Bed Slope (ft/ft)), mannings_roughness_n (Manning's Roughness Coefficient (n)). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.

  • WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.

DISAMBIGUATION & BOUNDARIES:

  • Use this dedicated specialist tool for 'Manning's Open Channel Flow Velocity & Discharge Capacity Calculator' rather than generic dispatchers like omni_universal_query.

  • For multi-calculation chained jobs, use 'omni_batch_calculate'.

  • To inspect schema fields, see 'omni_describe_solver'.

BEHAVIOR & SAFETY:

  • Pure deterministic computation with machine floating-point precision.

  • Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.

  • Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.

RETURNS:

  • Structured JSON object containing:

    • status (string): "success" on valid execution or "error" if validation fails

    • calculator (string): "mannings-open-channel-flow"

    • category (string): "engineering"

    • name (string): "Manning's Open Channel Flow Velocity & Discharge Capacity Calculator"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.total_discharge_cfs (Channel Discharge Capacity (Q)): Formatted display string (e.g. '148.5 CFS')

      • metrics.flow_velocity_fps (Average Flow Velocity (v)): Formatted display string (e.g. '7.07 ft / second')

      • metrics.flow_cross_section_sqft (Wetted Flow Area): Formatted display string (e.g. '21.0 sq ft')

      • metrics.froude_number_regime (Froude Number Flow State): Formatted display string (e.g. 'Supercritical Flow (Fr = 1.15)')

    • execution_time_ms (number): Latency in milliseconds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "omni_mannings_open_channel_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_bed_slopeNoChannel Bed Slope (ft/ft). Longitudinal slope S (e.g. 0.005 = 0.5% grade = 5 ft drop per 1,000 ft). Default: 0.005. Min: 0.0001. Max: 0.05.
water_flow_depth_ftNoWater Flow Depth (Feet) (ft). Vertical flow depth y. Default: 2.5. Min: 0.2. Max: 20.
mannings_roughness_nNoManning's Roughness Coefficient (n). Smooth concrete = 0.013; Grass swale = 0.035; Natural stony stream = 0.050. Default: 0.035. Min: 0.01. Max: 0.1.
channel_bottom_width_ftNoChannel Bottom Width (Feet) (ft). Base width b of ditch or canal. Default: 6. Min: 1. Max: 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools