{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.elbow_meter/1.0.0/input.json",
  "title": "Elbow flow 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 pipe-bend K, not Pitot."
    },
    "D": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe inside diameter in m. Required. Envelope [25 mm, 600 mm]. Alternatives: D_m, pipe, pipe_D. Do not send nozzle D1+D2 or orifice d+D."
    },
    "R": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Bend centerline radius in m. Required unless rd. Alternatives: R_m, R_c, Rc, R_centerline, bend_radius. Not Chezy hydraulic radius."
    },
    "rd": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Centerline R/D. Alternative to R. Envelope [1.0, 3.0]. Alternatives: R_over_D, RD, r_over_d, R_D."
    },
    "dP": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Inner-to-outer tap 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"
  ],
  "description": "90° elbow tap meter Q=C A √(2Δp/ρ) with C=√((R/D)/2). Not pipe-bend K, not Pitot C=1, not venturi, not ISO 5167-6 wedge, not Q=Av, not Darcy. (calculation_version 1.0.0)"
}
