Air Settings
Simulation settings for Air
Description
Parameters
See Also
By placing the Air Settings component, you can define the simulation settings for Air. All components in the Air component library have an Air simulation settings parameter. You need to specify which Air Settings component is assigned with the parameter by name.
For example, if you place this Air Settings in the model workspace, the name AirSettings1 is assigned to it as default. Then, after placing Air.Basic.AirVolume, you need to check the value of Air simulation settings. As default, the value is AirSettings1, so the simulation settings is defined by AirSettings1. To change the associated Air Setting component, specify it by name.
This framework allows you to define and change the simulation settings for multiple components simultaneously.
Fidelity of properties
Two types of fidelity can be used in the current version of the Heat Transfer Library. There is a trade-off between the capability of the physical phenomena expression and the simulation cost. Thus, you need to specify it with your purpose of simulation.
Constant
If you use this mode, the properties is assigned with the following constants.
Specific heat capacity at the constant pressure c__p Jkg⋅K :
c__p=1005.45
Molar mass MM kgmol :
MM=0.028965116
Gas constant R__gas Jkg⋅K :
R__gas=RMM
(*) R is Universal gas constant, and the value is 8.3144598Jmol⋅K
Specific heat capacity at the constant volume c__v Jkg⋅K :
c__v=c__p−R__gas
Dynamic viscosity μ Pa s :
μ=0.0000182
Thermal conductivity k Wm⋅K :
k=0.026
And, the specific enthalpy hflow is calculated with the following equation, and which is called as Function__hflow :
hflow=c__p⋅T+hflow__off
hflow__off=124648.4919
(*) The offset value of specific enthalpy is defined to be the same value as the other types of property at 273.15[K] and 101325[Pa]
Ideal Gas (NASA Polynomial)
If you use this mode, the properties is assigned with the following equations and constants.
Specific heat capacity at the constant pressure c__p Jkg⋅K,and which is called as Function__cp :
c__p=R__gas⋅alow__1T2+alow__2T+alow__3+alow__4⋅T+alow__5⋅T2+alow__6⋅T3+alow__7⋅T4T<1000ahigh__1T2+ahigh__2T+ahigh__3+ahigh__4⋅T+ahigh__5⋅T2+ahigh__6⋅T3+ahigh__7⋅T4others
(*) alow__1..alow__7 and ahigh__1..ahigh__7 are NASA Glenn coefficients[1]
MM=0.0289651159
Dynamic viscosity μ Pa s (Fitted equation), and which is called as Function__vis :
μ=8.582645242⁢10−6−0.0007885132499T+4.616415634 10−8⁢T−1.514928283⁢10−11⁢T2+2.766144637⁢10−15⁢T3
Thermal conductivity k Wm⋅K (Fitted equation) as Function__k :
k=0.004919497129−0.568804205481540T+0.00008519526051⁢T−2.658073105⁢10−8⁢T2+4.653561257⁢10−12⁢T3
And, the specific enthalpy hflow Jkg is calculated with the following equation, and which is called as Function__hflow :
hflow=R__gas⋅{blow__1−alow__1T+alow__2⋅logT+alow__3⋅T+12⋅alow__4⋅T2+13⋅alow__5⋅T3+14⋅alow__6⋅T4+15⋅alow__7⋅T5T<1000bhigh__1−ahigh__1T+ahigh__2⋅logT+ahigh__3⋅T+12⋅high__4⋅T2+13⋅ahigh__5⋅T3+14⋅ahigh__6⋅T4+15⋅ahigh__7⋅T5others+hflow__off
(*) alow__1..alow__7 and ahigh__1..ahigh__7 and blow__1 and bhigh__1 are NASA Glenn coefficients[1]
hflow__off=428725.6773
Dynamics of mass
You can simulate model with Air components in Static mass flow mode and Dynamic mass flow mode. There is a trade-off between the capability of the physical phenomena expression and the simulation cost. Thus, you need to specify it with your purpose of simulation.
The following model is one of the simplest Air simulation model. At both sides of edge, there are Air.Boundaries.AirBoundary components to define the boundary conditions. And, Air.Basic.AirVolume is placed at the center of the model, which is for Mass and Energy conservation calculation. The last pieces are Air.Basic.AirFlow which is placed at between AirBoundary and AirVolume. Pressure difference and Mass flow rate will be calculated in them.
With this model, the behavior of two mode is explained in below.
Static mode
If you select Static mode, Mass flow rate will be defined with
mflow1=mflow0
Then, the pressure difference is calculated from
dp=Functionmflow1
(*) In this library, you can select several functions, like Linear type and Darcy-Weisbach equation.
Finally, p1 is obtained from
p1=p0−dp
Thus, Mass flow rate is defined by the boundary condition. And by using Air.Basic.AirValve and FAN, you can control the value of it.
Dynamic mode
If you select Dynamic mode, the Mass flow rate condition mflow0 is not used. In Air.Basic.AirVolume, Pressure will be calculated with Mass
and Energy conservation law. So, the pressure difference is obtained from
dp=p0−p1
Mass flow rate is calculated from
mflow1=Functiondp
In this mode, the Mass flow rate is dynamically changed based on the pressure balance calculation.
References
[1] : McBride B.J., Zehe M.J., and Gordon S. (2002): NASA Glenn Coefficients for Calculating Thermodynamic Properties of Individual Species. NASA report TP-2002-211556
Symbol
Default
Units
Modelica ID
Fidelity ofproperties
Ideal GasNASA Polynomial
−
Select Fidelity of properties
Constant :
Use constants for each properties
Ideal Gas (NASA Polynomial) :
Properties are calculated with Temperature-dependent functions for Ideal gases, which are called as NASA Polynomials
Fidelity
Dynamics ofmass
Dynamic
Select Dynamics of Mass flow rate
Static :
Mass flow rate is static. Pressure drop are calculated at
at each elements of pressure losses
Dynamic :
Mass flow rate is calculated from pressure difference at
each elements of pressure losses
Mass Dynamics
Heat Transfer Library Overview
Air Overview
Download Help Document