{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.iso_nozzle.input.json",
  "title": "ISO 5167 nozzle — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "flow",
        "pressure",
        "coefficient"
      ],
      "description": "flow (default), pressure, or coefficient. Not venturi invert Cd, not orifice, not Q=Av."
    },
    "D1": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Inlet diameter in m. Required. D1 ≥ 0.05 m. Alternative: D_inlet."
    },
    "D2": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Throat diameter in m. Required unless beta. Alternative: D_throat. Do not mix with beta."
    },
    "beta": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "D2/D1 in [0.30, 0.80]. Alternative to D2. Alternatives: diameter_ratio."
    },
    "Re_D": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe Reynolds number on D1 in [7e4, 1e7]. Required. Alternatives: Re, ReD. Do not send ρ, μ, v."
    },
    "dP": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Inlet-to-throat 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": [
    "D1",
    "Re_D"
  ],
  "description": "ISO 5167-3 ISA 1932 nozzle Q=C E A2 √(2Δp/ρ) with C from β and Re_D. Not a venturi wrap with C_d=0.98, not orifice C_d=0.61, not Q=Av, not Darcy. (calculation_version 1.0.0)"
}
