
modelOpeningAnalytic
Information
Opening
This components allows to model the mass flow rate through from either static boundary pressure difference or buoyancy effect through a vertical orifice in a wall spliting two ambiances.
To be considered as an orifice, the depth of the hole in the wall has to remain bellow the hydrodynamic entrance region (Distance between the entrance of the hole and the position where the dynamic boundary layers meet).
See demonstration.
Parameters
| Type | Name | Default | Description |
| Real | Cd | 0.61 | discharge coefficient |
| Modelica.SIunits.CrossSection | A | 1 | Opening cross section |
| Modelica.SIunits.Height | H | 1 | Opening's Height |
| Modelica.SIunits.Length | Alt_a | 1.0 | Altitude of port_a |
| Modelica.SIunits.Length | Alt_b | 1.0 | Altitude of port_b |
| Modelica.SIunits.Length | Alt_opening | 1.0 | Altitude at the opening center |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.Pressure | p_a | | Pressure of node connected to port_a |
| Modelica.SIunits.Pressure | p_b | | Pressure of node connected to port_b |
| Modelica.SIunits.PressureDifference | dp | | |
| Modelica.SIunits.Density | rho_A | | |
| Modelica.SIunits.Density | rho_B | | |
| Medium.Density | rho_up | | |
| Medium.Density | rho_down | | Upstream density in upper and lower part of the opening |
| Medium.MassFraction | X_up | | |
| Medium.MassFraction | X_down | | |
| Modelica.SIunits.Height | HN | | Heigh of the point where flow switches in direction (zero flow) |
| Medium.ThermodynamicState | state_a | | |
| Medium.ThermodynamicState | state_b | | |
| Modelica.SIunits.MassFlowRate | m_flow_up | | |
| Modelica.SIunits.MassFlowRate | m_flow_down | | mass flow rate in upper and lower part of the opening |
Contents
| Name | Description |
Medium | |