pipe_pressure_drop
Compute Darcy-Weisbach pressure drop and head loss for pipe flow using laminar or turbulent friction factors, with defaults for water and optional roughness.
Instructions
Darcy friction factor (Colebrook-White for turbulent, 64/Re laminar) and Darcy-Weisbach pressure drop / head loss for pipe flow. Defaults are for water; set roughness (m) for rough pipes. Handy sanity check against CFD.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"velocity": "<velocity>",
"diameter": "<diameter>",
"length": "<length>"
},
"name": "pipe_pressure_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | ||
| density | No | ||
| diameter | Yes | ||
| velocity | Yes | ||
| roughness | No | ||
| kinematic_viscosity | No |