modelVerticalOpening

Information

Vertical Opening

This module allows to model the net heat flow induces by air movement only from bouyancy through an opening that links two ambiances.

See demonstration.

When mass conservation is set to true, the height HN where the flow changes in direction is computed to insure that m_flow_up and m_flow_down are equal is absolute value. If not HN is equal to H/2

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Accelerationg_nModelica.Constants.g_n
Modelica.SIunits.PressurepMedium.reference_pfluid pressure
Booleanmass_conservationtrueIf true, mass flow profile is assumed symmetrical from either side of the middle of the opening
RealCd0.61discharge coefficient
Modelica.SIunits.CrossSectionA1Opening's section
Modelica.SIunits.LengthH1Opening's Height

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport_a
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bport_b

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate_A
Medium.ThermodynamicStatestate_B
Modelica.SIunits.TemperatureDifferencedTport_a.T - port_b.T
Modelica.SIunits.Densityrho_A
Modelica.SIunits.Densityrho_B
Modelica.SIunits.Densityrho_up
Modelica.SIunits.Densityrho_downUpstream density in upper and lower part of the opening
Medium.SpecificEnthalpyh_A
Medium.SpecificEnthalpyh_B
Modelica.SIunits.MassFlowRatem_flow_up
Modelica.SIunits.MassFlowRatem_flow_downmass flow rate in upper and lower part of the opening
Modelica.SIunits.HeightHNHeigh of the point where flow switches in direction (zero flow)

Contents

NameDescription
Medium