Verified calculation capability
Hydraulic diameter D_h=4A/P_w. Full circular pipe D_h=D, closed rectangular duct 2ab/(a+b), annulus D_o−D_i. Not Q=Av, not Manning Q, not Reynolds, not Darcy. · Physics · Fluid
Capability ID physics.fluid.hydraulic_diameter · version 1.0.0
General
D_h = 4 A / P_wD_h = DD_h = 2 a b / (a + b)Solve modes: general · circular · rectangular · annular
Canonical symbols for this capability. Agent schemas remain the contract.
| Symbol | Quantity | Unit | Role |
|---|---|---|---|
A | Flow area in m². General mode, with Pw or Dh. | — | input / output |
Pw | Wetted perimeter in m. Alias P. General mode. | — | input / output |
R | Hydraulic radius A/P_w in m. Alternative to A+Pw. D_h=4R. Not a Manning n solve. | — | input / output |
Dh | Hydraulic diameter in m. Inverts Pw or A in general mode. | — | input / output |
D | Inside diameter in m. Circular full-pipe mode. D_h=D. | — | input / output |
a | Internal width in m. Closed rectangular duct. | — | input / output |
b | Internal height in m. Closed rectangular duct. | — | input / output |
D_o | Annulus outer diameter in m. | — | input / output |
D_i | Annulus inner diameter in m. Must be smaller than D_o. | — | input / output |
model | — | — | output |
Declared scope for this capability. Do not use it outside this domain.
Assumptions
Not supported
One numerical check. The calculator page holds worked steps and FAQ.
A=0.01 Pw=0.4 → D_h=0.1 m
Review-policy: engine tested — automated tests, sources, version lock, and evidence published. Supplemental to CVP; not Domain Expert Review. See CVP and Review policy.
Human page, REST, and MCP share the same engine and calculation_version.
Build verified hashes workspace artifacts only. After deploy, attest:production GETs canonical URLs twice — the public/cached view an Agent actually hits, and origin — including every /capabilities/{id} HTML page. Public Capability HTML version must match catalog before production attestation passes. Live Trust rows above fetch /.well-known/calculatorx-production-attestation.json
and the output schema const. Build hashes: release integrity. That proves currently published page / engine / schema / evidence / MCP agree — not that a historical version is independently immutable. Reference Calculation Standard — Production surface contract 3/3.
Human-readable sources plus CVP reference evidence classes.
Sources
Inspect this capability via same-origin MCP, then call execute_calculation.
curl -sS -X POST 'https://www.calculatorx.com/mcp' \
-H 'Content-Type: application/json' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: tools/call' \
-H 'Mcp-Name: inspect_capability' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inspect_capability","arguments":{"capability_id":"physics.fluid.hydraulic_diameter"}}}'
Inspect the trust tier and required assurance level before execution. Pin calculation_version (1.0.0) when reproducibility matters. Full protocol notes: MCP docs.