Air Boundary - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Air Boundary

Boundary condition of Air

  

 

Description

Equations

Variables

Connections

Parameters

See Also

Description

The Air Boundary component models a generic boundary condition for the lumped thermal fluid simulation of Air.

 

Equations

The calculation is changed based on parameter values of Fidelity of properties and Dynamics of mass in the Air Settings component.

 

Fidelity of properties = Constant and Dynamics of mass = Static

In / Outlet = Inlet

Pressure is defined with:

p=p__inExternal input of Pressure = truep__boundaryothers

`port.p`=p

Temperature is defined with:

T=T__inExternal input of Temperature = trueT__boundaryothers

`port.T`=T

Mass flow rate is defined with:

`port.mflow`=mflow__inExternal input of Mass flow rate = truemflow__boundaryothers

State equation:

p=ρ`HeatTransfer.Properties.Fluid.SimpleAir.R_gas`T

`port.rho`=ρ

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.SimpleAir.cp`T+`HeatTransfer.Properties.Fluid.SimpleAir.hflowoff`

`port.hfow`=hflow

u=hflowpρ

(*) The properties are defined in `HeatTransfer.Properties.Fluid.SimpleAir`.  See more details in Air Settings.

In / Outlet = Outlet

State equation:

p=ρ`HeatTransfer.Properties.Fluid.SimpleAir.R_gas`T

`port.rho`=ρ

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.SimpleAir.cp`T+`HeatTransfer.Properties.Fluid.SimpleAir.hflowoff`

`port.hfow`=hflow

Other definitions:

`port.T`=T__boundary

T=T__boundary

p=`port.p`

(*) The properties are defined in `HeatTransfer.Properties.Fluid.SimpleAir`.  See more details in Air Settings.

Fidelity of properties = Constant and Dynamics of mass = Dynamic

Pressure is defined with:

p=p__inExternal input of Pressure = truep__boundaryothers

Temperature is defined with:

T=T__inExternal input of Temperature = trueT__boundaryothers

State equation:

p=ρ`HeatTransfer.Properties.Fluid.SimpleAir.R_gas`T

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.SimpleAir.cp`T+`HeatTransfer.Properties.Fluid.SimpleAir.hflowoff`

u=hflowpρ

Port's variable definitions:

`port.p`=p

`port.hflow`=hflow

`port.rho`=ρ

`port.T`=T

(*) The properties are defined in `HeatTransfer.Properties.Fluid.SimpleAir`.  See more details in Air Settings.

 

Fidelity of properties : Ideal Gas (NASA Polynomial) and Dynamics of mass = Static

In / Outlet = Inlet

Pressure is defined with:

p=p__inExternal input of Pressure = truep__boundaryothers

`port.p`=p

Temperature is defined with:

T=T__inExternal input of Temperature = trueT__boundaryothers

`port.T`=T

Mass flow rate is defined with:

`port.mflow`=mflow__inExternal input of Mass flow rate = truemflow__boundaryothers

State equation:

p=ρ`HeatTransfer.Properties.Fluid.NASAPolyAir.R_gas`T

`port.rho`=ρ

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.NASAPoly_h_T``HeatTransfer.Properties.Fluid.NASAPolyAir`, T

`port.hfow`=hflow

u=hflowpρ

(*) The properties are defined with NASA polynomials and coefficients. For details, see Air Settings.

(*) `HeatTransfer.Properties.Fluid.NASAPoly_h_T` is NASA polynomial of Specific enthalpy .

(*) NASA Glenn  coefficients and other properties are defined in `HeatTransfer.Properties.Fluid.NASAPolyAir`.

 

In / Outlet = Outlet

State equation:

p=ρ`HeatTransfer.Properties.Fluid.NASAPolyAir.R_gas`T

`port.rho`=ρ

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.NASAPoly_h_T``HeatTransfer.Properties.Fluid.NASAPolyAir`, T__boundary

`port.hfow`=hflow

Other definitions:

`port.T`=T__boundary

T=T__boundary

p=`port.p`

(*) The properties are defined with NASA polynomials and coefficients. For details, see Air Settings.

(*) `HeatTransfer.Properties.Fluid.NASAPoly_h_T` is NASA polynomial of Specific enthalpy .

(*) NASA Glenn  coefficients and other properties are defined in `HeatTransfer.Properties.Fluid.NASAPolyAir`.

 

Fidelity of properties : Ideal Gas (NASA Polynomial) and Dynamics of mass = Dynamic

Pressure is defined with:

p=p__inExternal input of Pressure = truep__boundaryothers

Temperature is defined with:

T=T__inExternal input of Temperature = trueT__boundaryothers

State equation:

p=ρ`HeatTransfer.Properties.Fluid.NASAPolyAir.R_gas`T

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.NASAPoly_h_T``HeatTransfer.Properties.Fluid.NASAPolyAir`, T

u=hflowpρ

Port's variable definitions:

`port.p`=p

`port.hflow`=hflow

`port.rho`=ρ

`port.T`=T

(*) The properties are defined with NASA polynomials and coefficients. For details, see Air Settings.

(*) `HeatTransfer.Properties.Fluid.NASAPoly_h_T` is NASA polynomial of Specific enthalpy .

(*) NASA Glenn  coefficients and other properties are defined in `HeatTransfer.Properties.Fluid.NASAPolyAir`.

 

 

Variables

Symbol

Units

Description

Modelica ID

p

Pa

Pressure

p

T

K

Temperature

T

ρ

kgm3

Density

rho

hflow

Jkg

Specific enthalpy

hflow

u

Jkg

Specific energy

u

mflow

kgs

Mass flow rate

mflow

Connections

Name

Condition

Description

Modelica ID

port

 

Air Port

port_a

p__in

if External input of Pressure is true.

Input signal of Pressure condition

p_in

T__in

if External input of Temperature is true.

Input signal of Temperature condition

T_in

mflow__in

if External input of Mass flow rate is true.

Input signal of Mass flow rate condition

mflow_in

Parameters

Symbol

Default

Units

Description

Modelica ID

Airsimulationsettings 

AirSettings1

Specify a component of Air simulation settings

Settings

p__boundary

101325

Pa

Boundary condition of pressure

p_boundary

Externalinput ofpressure

false

If true, p__in is valid

p_ext

T__boundary

293.15

K

Boundary condition of temperature

T_boundary

Externalinput ofTemperature

false

If true, T__in is valid

T_ext

mflow__boundary

0.001

kgs

Boundary condition of mass flow rate

mflow_boundary

Externalinput ofMass flow rate

false

If true, mflow__in is valid

mflow_ext

In/Outlet

Inlet

Select Inlet or Outlet if Dynamics of mass is Static.

InOut

See Also

Heat Transfer Library Overview

Air Overview

Air Boundaries Overview