{
  "capability_id": "physics.fluid.poiseuille",
  "tool_id": "hagen-poiseuille",
  "engine": "hagen-poiseuille",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-17T08:49:50.940Z",
  "engine_build": "2026-09-17",
  "test_count": 17,
  "passed": 17,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 2,
      "passed": 2
    },
    "boundary": {
      "total": 10,
      "passed": 10
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/physics/hagen-poiseuille",
  "api": "https://www.calculatorx.com/api/v1/calc/hagen-poiseuille",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.poiseuille.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.poiseuille.output.json",
  "assumptions": [
    "Laminar Hagen–Poiseuille: Q = π Δp D⁴ / (128 μ L); circular, fully developed, Newtonian",
    "Mean speed v = 4Q/(π D²) is reported, not an input",
    "Not Darcy f, not Colebrook, not Q=Av, not Manning"
  ],
  "limitations": [
    "Laminar Hagen–Poiseuille: Q = π Δp D⁴ / (128 μ L); circular, fully developed, Newtonian",
    "Mean speed v = 4Q/(π D²) is reported, not an input",
    "Not Darcy f, not Colebrook, not Q=Av, not Manning"
  ],
  "boundary_conditions": [
    "missing Δp, Q, D, μ, or L when required → MISSING_REQUIRED_INPUT",
    "Δp, Q, D, μ, or L ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "f/Re/ε, n, A/v, K/Cd → MIXED_INPUT_ENCODING",
    "darcy, colebrook, reynolds, or manning as mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Dynamic viscosity",
      "supports": "μ has dimension pressure × time; Q volume/time; D and L length; Δp pressure",
      "kind": "standard"
    },
    {
      "title": "White, F.M. Fluid Mechanics",
      "section": "Hagen–Poiseuille flow",
      "supports": "Fully developed laminar flow in a circular tube Q = π Δp D⁴ / (128 μ L)",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:5c2b390b1ebf7c4e98ef29aa95123384b668fa66f705723b285313811e373173",
  "tests": [
    {
      "id": "golden-hp-q",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001
      },
      "expect": {
        "Q": 3.9269908169872417e-7,
        "dP": 1000,
        "D": 0.002,
        "mode": "flow",
        "model": "poiseuille"
      },
      "expectWarning": null,
      "actual": {
        "mode": "flow",
        "Q": 3.9269908169872417e-7,
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "v": 0.125,
        "model": "poiseuille"
      },
      "tol": 1e-12
    },
    {
      "id": "golden-hp-dP",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "pressure",
        "Q": 3.9269908169872417e-7,
        "D": 0.002,
        "L": 1,
        "mu": 0.001
      },
      "expect": {
        "dP": 1000,
        "model": "poiseuille"
      },
      "expectWarning": null,
      "actual": {
        "mode": "pressure",
        "Q": 3.9269908169872417e-7,
        "dP": 999.9999999999999,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "v": 0.125,
        "model": "poiseuille"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-hp-D",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "diameter",
        "Q": 3.9269908169872417e-7,
        "dP": 1000,
        "L": 1,
        "mu": 0.001
      },
      "expect": {
        "D": 0.002,
        "model": "poiseuille"
      },
      "expectWarning": null,
      "actual": {
        "mode": "diameter",
        "Q": 3.9269908169872417e-7,
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "v": 0.125,
        "model": "poiseuille"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-hp-mu",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "viscosity",
        "Q": 3.9269908169872417e-7,
        "dP": 1000,
        "D": 0.002,
        "L": 1
      },
      "expect": {
        "mu": 0.001,
        "model": "poiseuille"
      },
      "expectWarning": null,
      "actual": {
        "mode": "viscosity",
        "Q": 3.9269908169872417e-7,
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "v": 0.125,
        "model": "poiseuille"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-hp-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "D": 0.002,
        "L": 1,
        "mu": 0.001
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "dP is required"
    },
    {
      "id": "boundary-hp-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0,
        "L": 1,
        "mu": 0.001
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "D must be greater than zero"
    },
    {
      "id": "boundary-hp-f",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "f": 0.03
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Hagen–Poiseuille does not take Darcy f, Reynolds Re, or Colebrook ε/rel_roughness"
    },
    {
      "id": "boundary-hp-Re",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "Re": 200
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Hagen–Poiseuille does not take Darcy f, Reynolds Re, or Colebrook ε/rel_roughness"
    },
    {
      "id": "boundary-hp-n",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "n": 0.013
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Hagen–Poiseuille does not take Manning n or Chezy C/R/S"
    },
    {
      "id": "boundary-hp-A",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "A": 1
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Hagen–Poiseuille does not take Q=Av A/v. Mean speed is reported from Q and D"
    },
    {
      "id": "boundary-hp-eps",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "eps_m": 0.00001
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Hagen–Poiseuille does not take Darcy f, Reynolds Re, or Colebrook ε/rel_roughness"
    },
    {
      "id": "boundary-hp-darcy",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dP": 1000,
        "D": 0.002,
        "L": 1,
        "mu": 0.001,
        "mode": "darcy"
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be flow|pressure|diameter|viscosity. Not Darcy, Colebrook, Reynolds, or Q=Av"
    },
    {
      "id": "property-hp-Q",
      "ok": true,
      "kind": "property",
      "detail": "Poiseuille Q",
      "expect": 3.9269908169872417e-7,
      "actual": 3.9269908169872417e-7
    },
    {
      "id": "property-hp-v",
      "ok": true,
      "kind": "property",
      "detail": "v=4Q/(πD²)",
      "expect": 0.125,
      "actual": 0.125
    },
    {
      "id": "property-hp-roundtrip-dP",
      "ok": true,
      "kind": "property",
      "detail": "Δp invert",
      "expect": 1000,
      "actual": 999.9999999999999
    },
    {
      "id": "property-hp-roundtrip-D",
      "ok": true,
      "kind": "property",
      "detail": "D invert",
      "expect": 0.002,
      "actual": 0.002
    },
    {
      "id": "property-hp-model",
      "ok": true,
      "kind": "property",
      "detail": "poiseuille",
      "expect": true,
      "actual": "poiseuille"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 17,
      "total": 17,
      "golden": 2,
      "boundary": 10,
      "property": 5
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-17T07:58:48.971Z",
  "rendered_at": "2026-09-17T08:49:50.940Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "33225c3bfe160c9613a783ce6d8b8126dee629ea35f436e39397562555e05cba",
      "output_schema_sha256": "fcc12ab2170b5c0db3532ef56c7294cbf991dbcf2f6951f04fc7ed080562b400",
      "evidence_sha256": "123b5c6a2885a9807b12c61a8419ec4a81ec622c08c22d08af370294bb32a115",
      "evidence_core_sha256": "123b5c6a2885a9807b12c61a8419ec4a81ec622c08c22d08af370294bb32a115",
      "capability_sha256": "fb6ba733741f15cb0bccb545b99adff3d9c6b1ddb19bcf38a8bebe832f487763",
      "engine_sha256": "0c0851fab70abbeebfe07916fc4e23f4718babe41882681bdfec8e4f0768b97f",
      "mcp_contract_sha256": "e444fb05e9379f4f2492792d89493686e8dd71c0a104ae00acbe73364b370c5c"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
