
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
| Type | Name | Default | Description |
| Modelica.SIunits.Acceleration | g_n | Modelica.Constants.g_n | |
| Modelica.SIunits.Pressure | p | Medium.reference_p | fluid pressure |
| Boolean | mass_conservation | true | If true, mass flow profile is assumed symmetrical from either side of the middle of the opening |
| Real | Cd | 0.61 | discharge coefficient |
| Modelica.SIunits.CrossSection | A | 1 | Opening's section |
| Modelica.SIunits.Length | H | 1 | Opening's Height |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState | state_A | | |
| Medium.ThermodynamicState | state_B | | |
| Modelica.SIunits.TemperatureDifference | dT | | port_a.T - port_b.T |
| Modelica.SIunits.Density | rho_A | | |
| Modelica.SIunits.Density | rho_B | | |
| Modelica.SIunits.Density | rho_up | | |
| Modelica.SIunits.Density | rho_down | | Upstream density in upper and lower part of the opening |
| Medium.SpecificEnthalpy | h_A | | |
| Medium.SpecificEnthalpy | h_B | | |
| Modelica.SIunits.MassFlowRate | m_flow_up | | |
| Modelica.SIunits.MassFlowRate | m_flow_down | | mass flow rate in upper and lower part of the opening |
| Modelica.SIunits.Height | HN | | Heigh of the point where flow switches in direction (zero flow) |
Contents
| Name | Description |
Medium | |