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

Online Help

All Products    Maple    MapleSim


Water Boundary

Boundary condition of Air

 

Description

Equations

Variables

Connections

Parameters

See Also

Description

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

 

Equations

The calculation is changed based on parameter values of Fidelity of properties and Dynamics of mass in the Water 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.SimpleWater.R_gas`T

`port.rho`=ρ

Definition of Enthalpy:

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

`port.hfow`=hflow

u=hflowpρ

(*) The properties are defined in `HeatTransfer.Properties.Fluid.SimpleWater`, see more in Water Settings.

In / Outlet = Outlet

State equation:

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

`port.rho`=ρ

Definition of Enthalpy:

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

`port.hfow`=hflow

Other definitions:

`port.T`=T__boundary

T=T__boundary

p=`port.p`

(*) The properties are defined in `HeatTransfer.Properties.Fluid.SimpleWater`, see more in Water 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.SimpleWater.R_gas`T

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.SimpleWater.cp`T+`HeatTransfer.Properties.Fluid.SimpleWater.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.SimpleWater`, see more in Water Settings.

 

Fidelity of properties : Liquid Water (Lookup table of IAPWS/IF97) 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:

ρ=LUT__ρp,T;

`port.rho`=ρ

Definition of Enthalpy:

hflow=LUT__ρp__boundary,T__boundary

`port.hfow`=hflow

u=hflowpρ

(*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.

 

In / Outlet = Outlet

State equation:

p=LUT__ρp__boundary,T__boundary

`port.rho`=ρ

Definition of Enthalpy:

hflow=LUT__hflowp__boundary,T__boundary

`port.hfow`=hflow

Other definitions:

`port.T`=T__boundary

T=T__boundary

p=p__boundary

(*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.

Fidelity of properties : Liquid Water (Lookup table of IAPWS/IF97) 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:

ρ=LUT__ρp,T;

Definition of Enthalpy:

hflow=LUT__ρp__,T__

u=hflowpρ

(*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.

 

 

Fidelity of properties : IAPWS/IF97 standard 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.WaterIF97_Density_pT`p, T, 0

`port.rho`=ρ

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.WaterIF97_SpecificEnthalpy_pT`p, T, 0

`port.hfow`=hflow

u=hflowpρ

(*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.

 

In / Outlet = Outlet

State equation:

p=`HeatTransfer.Properties.Fluid.WaterIF97_Density_pT`p__boundary, T__boundary, 0

`port.rho`=ρ

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.WaterIF97_SpecificEnthalpy_pT`p__boundary, T__boundary, 0

`port.hfow`=hflow

Other definitions:

`port.T`=T__boundary

T=T__boundary

p=p__boundary

(*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.

Fidelity of properties : IAPWS/IF97 standard 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.WaterIF97_Density_pT`p, T, 0

Definition of Enthalpy:

hflow=`HeatTransfer.Properties.Fluid.WaterIF97_SpecificEnthalpy_pT`p, T, 0

u=hflowpρ

Port's variable definitions:

`port.p`=p

`port.hflow`=hflow

`port.rho`=ρ

`port.T`=T

(*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.

 

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

Watersimulationsettings 

WaterSettings1

Specify a component of Water 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

Water Overview

Water Boundaries Overview