Local Resistance (MA)
Libraries:
Simscape /
Fluids /
Moist Air /
Pipes & Fittings
Description
The Local Resistance (MA) block models the pressure loss due to user-defined pipe resistance in a moist air network. You can specify different loss coefficients for forward and reversed flows through the pipe segment.
You can parameterize the loss factor as either a constant relationship based on the pipe pressure or by specifying tabular data for loss coefficients based on the Reynolds number.
Constant Loss Factor
When you set Local loss parameterization to
Constant
, the losses remain constant over the range of flow
velocities. The loss factor is
where:
kloss,AB and kloss,BA are the values of the Forward flow loss coefficient (from A to B) and Reverse flow loss coefficient (from B to A) parameters, respectively.
Δp is the pressure difference, which is pA – pB.
The critical pressure difference, Δpcrit, is the pressure differential associated with the Critical Reynolds number parameter, Recrit, which is the flow regime transition point between laminar and turbulent flow,
where:
kloss,crit is the loss factor associated with the critical pressure. The value is based on an average of the forward and reverse loss coefficients.
ν is the fluid kinematic viscosity.
is the average fluid density.
Dh is the segment hydraulic diameter, which is the equivalent diameter of a pipe with a non-circular cross-section, , where Aflow is the value of the Flow area parameter.
Tabulated Loss Coefficient
When you set Local loss parameterization to Tabulated
data - loss coefficient vs. Reynolds number
, you can interpolate the loss
coefficient from the Reynolds number and the loss coefficient data. The vector of Reynolds
numbers can have both positive and negative values, which indicate forward and reverse flow,
respectively:
Mass Flow Rate
The block conserves mass such that
where:
B is the mixture mass flow rate at port B.
wA and wB are the water vapor mass flow rates at ports A and B, respectively.
gA and gB are the trace gas mass flow rates at ports A and B, respectively.
dA and dB are the water droplets mass flow rates at ports A and B, respectively.
The mass flow rate through the valve is
where kloss is the flow loss coefficient.
Energy Balance
The block balances energy such that
where:
ϕA is the energy flow rate at port A.
ϕB is the energy flow rate at port B.