Interface (2P-MA)
Two-phase fluid and moist air network interface
- Library:
Simscape / Fluids / Fluid Network Interfaces
Description
The Interface (2P-MA) block represents a flow connection between a two-phase fluid network and moist air network. Pressure, temperature, and mass flow rate are equal at the interface. The block does not transfer the fluid properties of each fluid network across the interface. When moist air leaves port MA, the block assigns the values of the Interface relative humidity and Interface trace gas mass fraction parameters to the signal. However, when moist air enters port MA, the block retains the upstream values.
You can choose whether to maintain constant moisture and trace gas amounts at the interface or to specify them using the W and TG ports respectively. The fluid at the 2P port must remain superheated. You can use the Two-phase fluid superheated vapor check parameter to choose what action the block performs if the fluid does not meet this condition.
Equations
The block conserves mass such that
where:
ṁ2P is the mass flow rate into port 2P.
ṁMA is the mass flow rate into port MA.
The block maintains equal port pressures and temperatures such that
The block calculates the energy balance over the interface as
where:
Φ2P is the energy flow rate into port 2P.
ΦMA is the energy flow rate into port MA.
h2P is the specific enthalpy at port 2P.
hMA is the specific enthalpy at port MA.
v2P is the specific volume at port 2P.
vMA is the specific volume at port MA.
w2P is the flow velocity at port 2P.
wMA is the flow velocity at port MA.
For a given cross-sectional area, S, the block defines w2P as
and wMA as
where
You specify S using the Cross-sectional area at ports 2P and MA parameter. The block computes the specific gas constant of the interface mixture, RI, as a function of the fluid on either side such that
where:
RA is the dry air specific gas constant.
RW is the water vapor specific gas constant.
RG is the trace gas specific gas constant.
xWI is the interface specific humidity. When the flow exits port MA, the block assigns this value based on the value of the Interface relative humidity parameter or the input that you supply at port W.
xGI is the interface trace gas mass fraction. When the flow exits port MA, the block assigns this value based on the value of the Interface trace gas mass fraction parameter or the input that you supply at port TG.
Ports
Input
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2022a