{
  "capability_id": "physics.fluid.pipe_entrance",
  "tool_id": "pipe-entrance",
  "engine": "pipe-entrance",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-17T14:46:34.520Z",
  "engine_build": "2026-09-17",
  "test_count": 5,
  "passed": 5,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 0,
      "passed": 0
    },
    "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/pipe-entrance",
  "api": "https://www.calculatorx.com/api/v1/calc/pipe-entrance",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.pipe_entrance.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.pipe_entrance.output.json",
  "assumptions": [
    "Geometric pipe inlet: h = K v² / (2g); flush K=0.5, reentrant K=0.8, rounded K=0.5/[1+36(rᵢ/D)^1.2]; K is reported, not an input",
    "Require kind flush|reentrant|rounded; rounded needs 0 < rᵢ/D ≤ 1; default g=9.80665 m/s²; default ρ=1000 kg/m³; incompressible; from a large reservoir",
    "Not catalog minor-loss K given, not circular-arc R/D, not mitered n, not Darcy f, not orifice C_d, not Q=Av"
  ],
  "limitations": [
    "Geometric pipe inlet: h = K v² / (2g); flush K=0.5, reentrant K=0.8, rounded K=0.5/[1+36(rᵢ/D)^1.2]; K is reported, not an input",
    "Require kind flush|reentrant|rounded; rounded needs 0 < rᵢ/D ≤ 1; default g=9.80665; default ρ=1000 for Δp; incompressible; from a large reservoir",
    "Not catalog minor-loss K given, not circular-arc R/D, not mitered n, not Darcy f, not orifice C_d, not Q=Av"
  ],
  "boundary_conditions": [
    "missing v_m_s, h, or ri_d when required → MISSING_REQUIRED_INPUT",
    "v_m_s ≤ 0, h ≤ 0, or ri_d ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "ri_d > 1 → VALUE_OUT_OF_RANGE",
    "K, k, rd, n_miters, θ, f, Q, C_d, v1/v2 → MIXED_INPUT_ENCODING",
    "minor, circular, mitered, or unknown kind → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Length, speed, pressure",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "h is a head; v is a speed; Δp is a pressure",
      "kind": "standard"
    },
    {
      "title": "White — Fluid Mechanics",
      "section": "Entrance loss coefficients",
      "supports": "Flush sharp inlet K=0.5; thin-walled reentrant / inward-projecting K=0.8. Not a catalog K input",
      "kind": "reference"
    },
    {
      "title": "Swamee — rounded pipe inlet",
      "section": "K = 0.5 / [1 + 36 (r/D)^1.2]",
      "supports": "Flush-mounted rounded entrance; r/D=0 recovers K=0.5. Not Idelchik circular-arc B1, not mitered n",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:d3a97e9d256b28959eca4fa901eb6eebac9b238db02c03d0506384c951e4258a",
  "tests": [
    {
      "id": "property-ent-h",
      "ok": true,
      "kind": "property",
      "detail": "h=K v²/(2g) flush",
      "expect": 0.10197162129779283,
      "actual": 0.10197162129779283
    },
    {
      "id": "property-ent-K",
      "ok": true,
      "kind": "property",
      "detail": "K=0.5 flush",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-ent-roundtrip-v",
      "ok": true,
      "kind": "property",
      "detail": "v invert",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-ent-rounded",
      "ok": true,
      "kind": "property",
      "detail": "Swamee rounded",
      "expect": 0.15283759314131717,
      "actual": 0.15283759314131717
    },
    {
      "id": "property-ent-model",
      "ok": true,
      "kind": "property",
      "detail": "pipe_inlet",
      "expect": true,
      "actual": "pipe_inlet"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 5,
      "total": 5,
      "golden": 0,
      "boundary": 0,
      "property": 5
    },
    "contract_checks": {
      "passed": 1,
      "total": 1
    }
  },
  "evidence_core_generated_at": "2026-09-17T14:38:15.470Z",
  "rendered_at": "2026-09-17T14:46:34.520Z",
  "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": "66af4e772b5ed65950ce6e8283822bab6a7f57f7b7306dede64bf41b853707ce",
      "output_schema_sha256": "8de4af1549910a5dfae4131047c13eaa8d0e8c471d00b2ded89c8bee8f00351f",
      "evidence_sha256": "e290b20177cf256ec9554cf04d3349238d3fa0d2e6175c40df93c8ef59d0092c",
      "evidence_core_sha256": "e290b20177cf256ec9554cf04d3349238d3fa0d2e6175c40df93c8ef59d0092c",
      "capability_sha256": "30c9f8dba786cf86188f04ef75c381045e6aa617d35ffb214c44e4a25e7d522b",
      "engine_sha256": "874f411844f83d688e44ba513ac5dfeedc8229a4d525047423a1adce688aecc0",
      "mcp_contract_sha256": "8e3f4d63fc73fac8f314b2f86fa538da1bbc4d670af5f11ee7a7d9cf66dca709"
    },
    "contract_checks": {
      "total": 1,
      "passed": 1,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
