Two-phase fluid and gas network interface
Simscape / Fluids / Fluid Network Interfaces
The Interface (2P-G) block represents a flow connection between a two-phase fluid network and a gas network. Pressure, temperature, and mass flow rate are equal at the interface. The fluid properties of each fluid network are not transmitted across the interface. To conserve fluid properties, ensure that fluid properties blocks on either side of the interface block have the same network properties.
The fluid on the two-phase fluid side must be superheated. If the fluid vapor fraction at
the two-phase fluid port falls below
1 during a simulation, the block
will return an error.
Mass is conversed through the block:
is the mass flow rate at port G.
is the mass flow rate at port 2P.
The internal and port pressures are equal:
The temperature is maintained between the two fluid ports. The energy balance over the interface is calculated as:
ΦG is the energy flow rate at port G.
Φ2P is the energy flow rate at port 2P.
hI,G is the specific enthalpy of the gas at the internal node I.
pI is the pressure of the fluids at the internal node I.
vI,G is the specific volume of the gas at the internal node I.
uI,2P is the specific energy of the two-phase fluid at the internal node I.
vI,2P is the specific volume of the two-phase fluid at the internal node I.
wI,2P is the speed of the fluid on the two-phase fluid side at internal node I:
where S is the value of the Cross-sectional area at ports 2P and G parameter.
wI,G is the speed of the fluid on the gas side at internal node I:
2P— Fluid port
Entry or exit port to the two-phase fluid network.
G— Fluid port
Entry or exit port to the gas network.
Cross-sectional area at ports 2P and G— Port area
0.01m^2 (default) | positive scalar
Cross-sectional area of the thermal liquid and two-phase fluid ports.