{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.iso_wedge.input.json",
  "title": "ISO 5167 wedge meter — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "flow",
        "pressure",
        "coefficient"
      ],
      "description": "flow (default), pressure, or coefficient. Not given C_d, not cone, not Q=Av."
    },
    "D": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe inside diameter in m. Required. Envelope [50 mm, 600 mm]. Alternatives: D_m, pipe, pipe_D. Do not send nozzle D1+D2, orifice d+D, or cone d_c."
    },
    "h": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Wedge gap in m. Required unless h_over_D or beta. Alternatives: h_m, gap, wedge_gap, wedge_h. Do not send tank head H."
    },
    "h_over_D": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Wedge gap ratio h/D. Alternative to h. Envelope [0.20, 0.60]. Alternatives: hd, hD, wedge_ratio."
    },
    "beta": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "ISO wedge β from the circular-segment of h/D, not d/D and not √(1−(d_c/D)²). Alternative to h. Envelope [0.377, 0.791]."
    },
    "Re_D": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe Reynolds number on D. Required as the ISO envelope [1e4, 9e6], not a term in C. Alternatives: Re, ReD. Do not send ρ, μ, v."
    },
    "dP": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Differential pressure in Pa. Required for flow. Alternatives: deltaP, dP_Pa, dp."
    },
    "rho": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Density in kg/m³. Required for flow and pressure."
    },
    "Q": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Volume flow in m³/s. Required for pressure invert. Alternative: flow, Q_m3_s."
    }
  },
  "required": [
    "D",
    "Re_D"
  ],
  "description": "ISO 5167-6 uncalibrated wedge Q=C E A √(2Δp/ρ) with C=0.77−0.09β and β from circular-segment h/D. Not cone C=0.82, not ISA 1932, not RHG orifice, not ISO 5167-4 type C, not long-radius, not given C_d, not Q=Av, not Darcy. (calculation_version 1.0.0)"
}
