Variable orifice

hydraulic.variable_orifice

Orifice whose flow area is the input signal times A_max. The input is clamped to 0..1. Same turbulent law and low-pressure blend as the orifice.

Ports

NameDomainDirection
usignalin
ahydraulic
bhydraulic

Parameters

NameUnitDefaultRangeDescription
Cd10.610 to ∞Discharge coefficient
Am20.000010 to ∞Flow area when fully open
rhokg/m38500 to ∞Fluid density
dp_regPa1000 to ∞Pressure drop below which the flow turns linear, so the slope stays finite at zero

Variables

NameUnit
dpPa
qm3/s

Equations

dp = a.p - b.p
0 = a.q + b.q
q = a.q
q = min(max(u, 0), 1) * Cd * A * (2 * dp / rho) / sqrt(sqrt((2 * dp / rho)^2 + (2 * dp_reg / rho)^2))