Water Boundary
Boundary condition of Air
Description
Equations
Variables
Connections
Parameters
See Also
The Water Boundary component models a generic boundary condition for the lumped thermal fluid simulation of Water.
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 = true−mflow__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=hflow−pρ
(*) The properties are defined in `HeatTransfer.Properties.Fluid.SimpleWater`, see more in Water Settings.
In / Outlet = Outlet
Other definitions:
`port.T`=T__boundary
T=T__boundary
p=`port.p`
Fidelity of properties = Constant and Dynamics of mass = Dynamic
Port's variable definitions:
`port.hflow`=hflow
Fidelity of properties : Liquid Water (Lookup table of IAPWS/IF97) and Dynamics of mass = Static
ρ=LUT__ρp,T;
hflow=LUT__ρp__boundary,T__boundary
(*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.
p=LUT__ρp__boundary,T__boundary
hflow=LUT__hflowp__boundary,T__boundary
p=p__boundary
Fidelity of properties : Liquid Water (Lookup table of IAPWS/IF97) and Dynamics of mass = Dynamic
hflow=LUT__ρp__,T__
Fidelity of properties : IAPWS/IF97 standard and Dynamics of mass = Static
p=`HeatTransfer.Properties.Fluid.WaterIF97_Density_pT`p, T, 0
hflow=`HeatTransfer.Properties.Fluid.WaterIF97_SpecificEnthalpy_pT`p, T, 0
(*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.
p=`HeatTransfer.Properties.Fluid.WaterIF97_Density_pT`p__boundary, T__boundary, 0
hflow=`HeatTransfer.Properties.Fluid.WaterIF97_SpecificEnthalpy_pT`p__boundary, T__boundary, 0
Fidelity of properties : IAPWS/IF97 standard and Dynamics of mass = Dynamic
hflow=`HeatTransfer.Properties.Fluid.WaterIF97_SpecificEnthalpy_pT`p, T, 0
Symbol
Units
Modelica ID
p
Pa
Pressure
T
K
Temperature
ρ
kgm3
Density
rho
hflow
Jkg
Specific enthalpy
u
Specific energy
mflow
kgs
Mass flow rate
Name
Condition
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
Default
Watersimulationsettings
WaterSettings1
−
Specify a component of Water simulation settings
Settings
p__boundary
101325
Boundary condition of pressure
p_boundary
Externalinput ofPressure
false
If true, p__in is valid
p_ext
T__boundary
293.15
Boundary condition of temperature
T_boundary
Externalinput ofTemperature
If true, T__in is valid
T_ext
mflow__boundary
0.001
Boundary condition of mass flow rate
mflow_boundary
Externalinput ofMass flow rate
If true, mflow__in is valid
mflow_ext
In/Outlet
Inlet
Select Inlet or Outlet if Dynamics of mass is Static.
InOut
Heat Transfer Library Overview
Water Overview
Water Boundaries Overview
Download Help Document