Main Content

Area Change (MA)

R2026b

Area expansion or contraction in a moist air network

Since R2026b

  • Area Change (MA) block

Libraries:
Simscape / Fluids / Moist Air / Pipes & Fittings

Description

The Area Change (MA) block models a sudden or a gradual area change in a moist air network. When moist air flows from port A to port B, it experiences an area contraction. When moist air flows from port B to port A, it experiences an area expansion. You can use semi-empirical, tabular, or constant parameterizations to model losses. The component is assumed adiabatic. There is no heat exchange with the surroundings.

Semi-Empirical Parameterizations

If you set Local loss parameterization to either of the semi-empirical correlation settings, the hydraulic loss coefficient, K, characterizes losses in pressure and velocity based on the Contraction correction factor, Ccontraction, and Expansion correction factor, Cexpansion, parameters. The block calculates the area change coefficient from both expansion and contraction loss factors and based on the flow rate through the block.

When Local loss parameterization is Semi-empirical correlation - gradual area change, the loss factor depends on the value of the Cone angle parameter.

For area contractions where the value of the Cone angle parameter, θ, is between 0 and 45 degrees, the contraction loss factor is

Kcontraction=0.8Ccontractionsin(θ2)(1−R),

where R is the port area ratio AsmallerAbigger. For area contractions where the value of the Cone angle parameter is between 45 and 180 degrees, the contraction loss factor is

Kcontraction=Ccontraction2sin(θ2)(1−R).

For area expansions where the value of the Cone angle parameter is between 0 and 45 degrees, the expansion loss factor is

Kexpansion=2.6Cexpansionsin(θ2)(1−R)2,

and for expansions where the value of the Cone angle parameter is between 45 and 180 degrees, the expansion loss factor is

Kexpansion=Cexpansion(1−R)2.

When Local loss parameterization is Semi-empirical correlation - sudden area change, the contraction loss factor is

Kcontraction=Ccontraction2(1−R).

The expansion loss factor is

Kexpansion=Cexpansion(1-R)2.

For both semi-empirical settings, the hydraulic loss coefficient is

K=Kexpansion+Kcontraction−Kexpansion2(tanh(3m˙Am˙th)+1),

where:

  • m˙A is the mass flow rate through port A.

  • m˙th is the threshold mass flow rate for flow reversal, which the block calculates from the Critical Reynolds number parameter, Rec,

    m˙th=RecARνρ¯Dh,

    where:

    • AR is the restriction area, which is the Cross-sectional area at port B parameter.

    • ν is the fluid kinematic viscosity.

    • ρ¯ is the average fluid density.

    • Dh is the hydraulic diameter at the restriction area, Dh=4ARπ.

Constant Loss Parameterization

Set Local loss parameterization to Constant loss efficient to directly specify the loss coefficients with the Contraction loss coefficient and Expansion loss coefficient parameters.

Tabulated Data Parameterization

Set Local loss parameterization to Tabulated data - loss coefficient vs. Reynolds number to parameterize the loss factor by using data interpolated from the Reynolds number at the smallest area, which is a function of the Critical Reynolds number parameter,

K=TLU(Re).

The block uses linear interpolation between data points, and nearest-neighbor extrapolation beyond the table boundaries.

Pressure Differential

The pressure differential over the area change is

pA−pB=m˙22ρAR2(1−R2)+Δploss,

where ρ is the fluid density at the inlet.

The pressure loss is

Δploss=K2ρAR2m˙Am˙A2+m˙th2.

Energy Balance

The energy conservation equation in the area change is

ϕA+ϕB=0,

where:

  • ΦA and ΦB are the energy flow rates into the block through ports A and B.

Assumptions and Limitations

  • This component is adiabatic. It does not exchange heat with its surroundings.

  • The cross-sectional area at port A must be greater than or equal to the cross-sectional area at port B.

  • The flow is incompressible and the Mach number is small.

Ports

Conserving

expand all

Moist air conserving port associated with the larger cross-sectional area.

Programmatic Use

Port: A

Moist air conserving port associated with the smaller cross-sectional area.

Programmatic Use

Port: B

Parameters

expand all

Method to use to model the hydraulic losses due to area change. You can choose from two semi-empirical formulations, provide your own tabulated data, or directly specify constant loss coefficients.

Programmatic Use

Parameter: loss_spec
Values: "fluids.moist_air.pipes_fittings.enum.AreaChangeLossSpec.SemiEmpiricalSudden" | "fluids.moist_air.pipes_fittings.enum.AreaChangeLossSpec.SemiEmpiricalGradual" | "fluids.moist_air.pipes_fittings.enum.AreaChangeLossSpec.ConstantLossCoefficient" | "fluids.moist_air.pipes_fittings.enum.AreaChangeLossSpec.Table1DRe"

Angle of expansion for a gradual area change. The block models the gradual area change as an increasing cone from the smaller port to the larger port.

Dependencies

To enable this parameter, set Local loss parameterization to Semi-empirical correlation - gradual area change.

Programmatic Use

Parameter: cone_angle

Area at port A. This value must be greater than the Cross-sectional area at port B parameter.

Programmatic Use

Parameter: area_A

Area at port B. This value must be less than the Cross-sectional area at port A parameter.

Programmatic Use

Parameter: area_B

Reynolds number values for the tabular parameterization of the area change. The elements must correspond one-to-one with the elements of the Contraction loss coefficient vector and the Expansion loss coefficient vector parameters. The vector values must be positive and in ascending order.

Dependencies

To enable this parameter, set Local loss parameterization to Tabulated data - loss coefficient vs. Reynolds number.

Programmatic Use

Parameter: Re_TLU

Loss coefficients for an area contraction that correspond to the Reynolds number vector parameter. The elements must be greater than zero.

Dependencies

To enable this parameter, set Local loss parameterization to Tabulated data - loss coefficient vs. Reynolds number.

Programmatic Use

Parameter: loss_contraction_TLU

Loss coefficients for an area expansion that correspond to the Reynolds number vector parameter. The elements must be greater than zero.

Dependencies

To enable this parameter, set Local loss parameterization to Tabulated data - loss coefficient vs. Reynolds number.

Programmatic Use

Parameter: loss_expansion_TLU

Coefficient that the block uses in the semi-empirical calculation of the area contraction loss factor.

Dependencies

To enable this parameter, set Local loss parameterization to either:

  • Semi-empirical correlation - sudden area change

  • Semi-empirical correlation - gradual area change

Programmatic Use

Parameter: k_contraction

Coefficient that the block uses in the semi-empirical calculation of the area expansion loss factor.

Dependencies

To enable this parameter, set Local loss parameterization to either:

  • Semi-empirical correlation - sudden area change

  • Semi-empirical correlation - gradual area change

Programmatic Use

Parameter: k_expansion

Loss coefficient the block applies when moist air flows from port A to port B, experiencing an area contraction.

Dependencies

To enable this parameter, set Local loss parameterization to Constant loss coefficient.

Programmatic Use

Parameter: loss_coeff_contraction

Loss coefficient the block applies when moist air flows from port B to port A, experiencing an area expansion.

Dependencies

To enable this parameter, set Local loss parameterization to Constant loss coefficient.

Programmatic Use

Parameter: loss_coeff_expansion

Upper Reynolds number limit for laminar flow through the area change. The block uses this parameter to calculate the threshold mass flow rate for smoothing the flow reversal transition.

Programmatic Use

Parameter: Re_c

References

[1] Crane Co, editor. Flow of Fluids: Through Valves, Fittings and Pipe. Repr, Crane, 2009.

[2] Idelʹchik, I. E., and A. S. Ginevskiĭ. Handbook of Hydraulic Resistance. 4th ed. rev. and Augmented, Begell House, 2007.

[3] Wessel, D. J. 2001. ASHRAE Fundamentals Handbook 2001 (SI Edition). American Society of Heating, Refrigerating and Air-Conditioning Engineers.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2026b