Cavitating Venturi
Cavitating liquid venturi model.
CavitatingVenturi computes mass flow through a liquid venturi using a noncavitating restriction model or a cavitating venturi model. The active mode is selected using a critical downstream-to-upstream pressure ratio.
In cavitating mode, the throat pressure is assumed to be pinned to the vapor pressure corresponding to the upstream fluid state. If upstream temperature and critical temperature are both assigned, cavitation is disabled above the critical temperature.
Cavitation onset and stable cavitating flow are not identical. Incipient cavitation begins when the throat pressure first reaches saturation pressure, while fully established cavitating flow depends on geometry and empirical behavior.
Parameters
| Name | Type | Description |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
upstream_ | State | Upstream pressure |
downstream_ | State | Downstream pressure |
density | State | Fluid density |
throat_ | float | Venturi throat area |
vapor_ | State | Fluid vapor pressure |
critical_ | float, optional | Pressure ratio below which cavitating mode is activated |
cavitating_ | float, optional | Discharge coefficient used in cavitating mode |
noncavitating_ | float, optional | Discharge coefficient used in noncavitating mode |
upstream_ | State, optional | Upstream fluid temperature |
critical_ | State, optional | Fluid critical temperature |
Outputs
| Name | Type | Description |
|---|---|---|
mass_ | State, optional | Computed venturi mass flow rate |
is_ | bool, optional | Whether cavitating mode is active |