# Nozzle Mass Flow Calculator AI Agent Connect

> Nozzle Mass Flow Calculator MCP gives your AI client the ability to solve complex compressible fluid flow problems. It handles choking status detection, mass flow rate calculations, and gas property validation. Instead of manual formulas, you can ask your agent to simulate pressure sensitivity or summarize flow regimes based on specific pressure ratios.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_hyDaA34vg1iccetYqfuFatlEDccNwg9VwfZDArP8/ai-agent-connect
- **Tags:** gas-dynamics, nozzle, mass-flow, compressible-flow, aerodynamics

## Description

You can use this MCP to handle the heavy lifting of gas dynamics calculations within your existing AI workflow. It provides the mathematical precision needed to determine if a nozzle is in a choked or unchoked state and calculates the resulting mass flow rate based on your specific configuration. If you are working with uncertain data, you can use it to check if your gas constants and specific heat ratios are physically plausible before running larger simulations. It also allows you to predict how changes in back pressure will affect mass flow, making it a practical tool for sensitivity analysis. Whether you are checking pressure ratios or looking for a qualitative summary of a flow regime, this MCP turns your AI client into a specialized fluid dynamics assistant.

## Tools

### calculate_nozzle_flow
This tool determines if a nozzle is choked and calculates the exact mass flow rate for your given setup.

### get_flow_regime_summary
Use this to get a qualitative description of the current flow regime based on pressure ratios.

### simulate_pressure_sensitivity
This tool predicts how the mass flow rate shifts when you adjust the back pressure.

### verify_gas_properties
This tool checks that your gas constants and specific heat ratios are physically valid.

## Prompt Examples

**Prompt:** 
```
Calculate the mass flow for a nozzle with 101325 Pa stagnation pressure, 300 K stagnation temperature, 0.01 m2 throat area, 0.95 discharge coefficient, 287 J/kgK gas constant, 1.4 specific heat ratio, and 50000 Pa back pressure.
```

**Response:** 
```
The nozzle is choked. The mass flow rate is 12.45 kg/s.
```

**Prompt:** 
```
Is a nozzle with 100000 Pa stagnation pressure and 80000 Pa back pressure choked if the critical pressure ratio is 0.528?
```

**Response:** 
```
No, the nozzle is unchoked because the back pressure ratio (0.8) is greater than the critical pressure ratio (0.528).
```

**Prompt:** 
```
Check if a gas constant of 287 and a specific heat ratio of 1.4 are valid.
```

**Response:** 
```
The gas properties are valid.
```

## Capabilities

### Choking Detection
Your agent identifies whether a nozzle has reached a choked state.

### Mass Flow Computation
The MCP calculates the mass flow rate for specific nozzle configurations.

### Gas Property Validation
Your AI client verifies that gas constants are physically plausible.

### Pressure Sensitivity Analysis
The tool predicts mass flow changes resulting from back pressure adjustments.

### Flow Regime Summarization
Your agent receives qualitative descriptions of flow based on pressure ratios.

## Use Cases

### Nozzle Design Verification
Check if a specific nozzle geometry will result in choked flow under target pressures.

### Gas Property Auditing
Ensure that the specific heat ratios and gas constants used in a model are physically accurate.

### Pressure Adjustment Modeling
Predict how much mass flow will change if the ambient or back pressure fluctuates.

### Flow Regime Identification
Get a quick qualitative summary of how gas is moving through a system based on pressure ratios.

## Benefits

- Replaces manual gas dynamics formulas with direct tool calls.
- Validates gas constants to prevent errors in downstream simulations.
- Provides instant choking status for any nozzle configuration.
- Enables rapid sensitivity testing for back pressure changes.

## How It Works

You connect the MCP to your AI client and start asking technical questions immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your nozzle parameters or gas constants to your AI agent.
3. Your agent calls the specific tool needed for the calculation.
4. The MCP executes the math and returns the result to your agent.
5. Your agent presents the final data or summary to you.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates mass flow rates, determines choking status, and predicts pressure sensitivity for nozzles.

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

**Does it validate gas constants?**
Yes, the verify_gas_properties tool checks if your gas constants and specific heat ratios are physically plausible.

**How does it handle back pressure changes?**
The simulate_pressure_sensitivity tool predicts how the mass flow rate changes when you adjust the back pressure.

**Do I need to host this myself?**
No, Vinkius hosts and manages the MCP so it is ready to use as soon as you connect your client.

**How do I know if my nozzle is choked?**
You can use the `calculate_nozzle_flow` tool. It compares the back pressure to the critical pressure ratio; if the ratio is low enough, the tool will report that the nozzle is choked.

**Can I validate my gas constants?**
Yes, the `verify_gas_properties` tool checks if your provided gas constant and specific heat ratio are within physically plausible bounds.

**What happens to mass flow if I decrease back pressure?**
If the nozzle is unchoked, decreasing the back pressure will increase the mass flow. If it is already choked, the mass flow will remain constant. You can use `simulate_pressure_sensitivity` to see this prediction.
