Main Content

Interface (2P-TL)

Two-phase fluid and thermal liquid network interface

  • Library:
  • Simscape / Fluids / Fluid Network Interfaces

Description

The Interface (2P-TL) block represents a flow connection between a two-phase fluid network and a thermal liquid network. Pressure, temperature, and mass flow rate are equal at the interface. The fluid properties of each network are not transmitted across the interface. To conserve fluid properties, ensure that the 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 subcooled. If the fluid vapor fraction at the two-phase fluid port becomes nonzero during a simulation, the block returns an error.

Mass and Momentum Balance

Mass is conversed through the block:

m˙TL+m˙2P=0,

where:

  • m˙TL is the mass flow rate at port TL.

  • m˙2P is the mass flow rate at port 2P.

The internal and port pressures are equal:

PTL=PI=P2P.

Energy Balance

The temperature is maintained between the two fluid ports. The energy balance over the interface is calculated as:

ΦTL+Φ2P=m˙TL(uI,TL+pIvI,TL)+m˙2P(uI,2P+pIvI,2P+wI,2P22),

where:

  • ΦTL is the energy flow rate at port TL.

  • Φ2P is the energy flow rate at port 2P.

  • uI,TL is the specific energy of the thermal liquid at the internal node I.

  • pI is the pressure of the fluids at the internal node I.

  • vI,TL is the specific volume of the thermal liquid 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 the internal node I:

    wI,2P=m˙2PvI,2PS,

    where S is the value of the Cross-sectional area at ports 2P and TL parameter.

Ports

Conserving

expand all

Entry or exit port to the two-phase fluid network.

Entry or exit port to the thermal liquid network.

Parameters

expand all

Cross-sectional area of the thermal liquid and two-phase fluid ports.

Introduced in R2021a