# Open Channel Manning Flow Calculator AI Agent Connect

> Open Channel Manning Flow Calculator MCP handles steady-state hydraulic analysis for rectangular, trapezoidal, and triangular channels. Your AI client uses this tool to calculate discharge, velocity, and depth, or to check if a specific channel design is physically stable and efficient.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_0oPBG6BmS1rGJUTsPJBx2zj0CXCvHpzCg96j6B13/ai-agent-connect
- **Tags:** manning, fluid-mechanics, hydrology, civil-engineering, flow-calculation

## Description

You can use this MCP to automate the heavy lifting of hydraulic modeling. Instead of manually running Manning's equation for each design iteration, you give your agent the channel dimensions, slope, and roughness. It then handles the math to find steady-state properties or geometric metrics like wetted perimeter and top width. 

It works well for gravity-driven flow scenarios in standard channel shapes. You can use it to compare different cross-sections to see which one handles water most efficiently for a given area. If you are worried about a design failing, the tool can check if your calculated parameters are physically realistic. It turns your AI client into a specialized hydraulic assistant that understands fluid mechanics and channel geometry.

## Tools

### analyze_section_efficiency
This tool compares different channel geometries. It finds which shape provides the most efficient flow for a specific area.

### calculate_normal_flow
This tool determines steady-state hydraulic properties. It uses your provided channel geometry and slope to find flow results.

### get_geometry_properties
This tool calculates geometric metrics like area, perimeter, and top width. It works with channel dimensions and water levels, including optional side slopes for trapezoidal shapes.

### validate_flow_conditions
This tool checks the physical stability of your design. It verifies if your calculated hydraulic parameters are realistic.

## Prompt Examples

**Prompt:** 
```
Calculate the normal flow for a rectangular channel with a bottom width of 5m, roughness of 0.013, and a slope of 0.001.
```

**Response:** 
```
The discharge is 12.45 m³/s with a velocity of 1.52 m/s at a depth of 1.67 m.
```

**Prompt:** 
```
What is the most efficient shape for a target area of 10 m² with a roughness of 0.02?
```

**Response:** 
```
For a 10 m² area with 0.02 roughness, the most efficient shape provides an optimal hydraulic radius of 1.45 m.
```

**Prompt:** 
```
Check if a flow with a depth of 2.5m in a 2.0m high channel is stable.
```

**Response:** 
```
The flow is not stable because it is overtopping the channel height.
```

## Capabilities

### Steady-state analysis
Your agent calculates discharge and velocity for specific channel geometries.

### Geometric calculations
Your agent finds area, perimeter, and top width based on water levels.

### Efficiency comparisons
Your client identifies the best channel shape for a required flow area.

### Stability verification
The tool checks if calculated hydraulic parameters are physically realistic.

## Use Cases

### Channel Design Optimization
Compare rectangular and trapezoidal shapes to find the best hydraulic efficiency for a project.

### Flow Capacity Estimation
Determine the discharge and velocity for a new irrigation ditch design.

### Stability Checking
Verify if a proposed water depth will cause a channel to overtop.

### Geometric Data Extraction
Get the exact area and perimeter for a specific water level in a channel.

## Benefits

- Calculates Manning's equation results without manual math.
- Compares channel shapes to find the most efficient geometry.
- Checks for overtopping or unstable flow conditions.
- Provides geometric properties like wetted perimeter and top width.

## How It Works

Connect the MCP to your AI client and start asking engineering questions.

1. Connect your client like Claude or Cursor to Vinkius.
2. Provide channel dimensions, slope, and roughness to your agent.
3. Your agent calls the necessary tool to run the Manning equation.
4. Your agent receives the hydraulic data and presents it to you.

## Frequently Asked Questions

**What channel shapes does this MCP support?**
The MCP supports rectangular, trapezoidal, and triangular channel geometries.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client including Claude, Cursor, and Windsurf.

**How does the tool handle trapezoidal channels?**
For trapezoidal shapes, you can provide a side slope, but it is treated as an optional parameter.

**Does it check for channel overtopping?**
Yes, the validate_flow_conditions tool checks if the calculated parameters are physically realistic and stable.

**What kind of flow does it model?**
This MCP is designed for modeling steady-state, gravity-driven flow in open channels.

**What kind of channel shapes are supported?**
The tool supports rectangular, trapezoidal, and triangular channel geometries.

**How do I check if my flow is stable?**
You can use the `validate_flow_conditions` tool to check for overtopping, stagnation, or high velocity warnings based on your calculated parameters.

**Can I calculate flow for a specific target discharge?**
Yes, by using `calculate_normal_flow` and providing a `dischargeTarget` value, the tool will solve for the required depth.
