modelThermalConvectionPipe
Very simple model of thermal convection
Extends from Interfaces.SISOFlow (Base Model with basic flow eqautions for SISO).
Information
This component models the convective heat transfer in a pipe element with constant heat flux.
So far, the transition from laminar to turbulent flow regime is not implemented, thus a turbulent flow regime is assumed.
Hence the average convective heat transfer coefficient is calculated from the Reynolds number and the Nusselt-Number for turbulent flow.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| SI.Length | l | Length | |
| SI.Radius | r | Radius | |
| String | parameterString | if displayParameters and displayLength and displayRadius then "l = %l, r = %r" elseif displayParameters and displayLength and not displayRadius then "l = %l" elseif displayParameters and not displayLength and displayRadius then "r = %r" else "" | |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Advanced | |||
| Boolean | considerInertance (from SISOFlow) | dropOfCommons.considerInertance | =true, if transient momentum (inertance) term is considered; disable only for advanced use |
| Utilities.Units.Inertance | L (from SISOFlow) | dropOfCommons.L | Inertance |
| StateSelect | m_flowStateSelect (from SISOFlow) | StateSelect.default | State selection for mass flow rate |
| Boolean | clip_p_out (from SISOFlow) | = false, if dr_corr=0 (correction of inertial pressure difference) | |
| Medium.AbsolutePressure | p_min (from SISOFlow) | dropOfCommons.p_min | Minimum steady-state output pressure |
| Initialization › Mass flow rate | |||
| InitializationMethods | initM_flow (from SISOFlow) | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for mass flow rate |
| SI.MassFlowRate | m_flow_0 (from SISOFlow) | 0 | Initial value for mass flow rate |
| Utilities.Units.MassFlowAcceleration | m_acceleration_0 (from SISOFlow) | 0 | Initial value for derivative of mass flow rate |
| Advanced › flow characteristics | |||
| SI.ReynoldsNumber | Re_D_crit | 2300 | Critical Reynolds number for laminar-turbulent transition |
| Advanced › Regularization parameters | |||
| SI.MassFlowRate | m_flow_reg | dropOfCommons.m_flow_reg | Nominal mass flow rate for regularization |
| Layout › Display parameters | |||
| Boolean | displayLength | true | = true, if length l is displayed |
| Boolean | displayRadius | true | = true, if radius r is displayed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Inlet | inlet (from SISOFlow) | ||
| Outlet | outlet (from SISOFlow) | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from SISOFlow) | inlet.m_flow | Mass flow rate |
| SI.Pressure | dr_corr (from SISOFlow) | Correction of inertial pressure difference | |
| SI.Pressure | dp (from SISOFlow) | Pressure difference | |
| Medium.AbsolutePressure | p_in (from SISOFlow) | Medium.pressure(inlet.state) | Inlet pressure |
| Medium.SpecificEnthalpy | h_in (from SISOFlow) | Medium.specificEnthalpy(inlet.state) | Inlet specific enthalpy |
| Medium.MassFraction[Medium.nXi] | Xi_in (from SISOFlow) | Medium.massFraction(inlet.state) | Inlet mass fractions |
| Medium.AbsolutePressure | p_out (from SISOFlow) | Outlet pressure | |
| Medium.SpecificEnthalpy | h_out (from SISOFlow) | Outlet specific enthalpy | |
| Medium.MassFraction[Medium.nXi] | Xi_out (from SISOFlow) | Outlet mass fractions | |
| Medium.ThermodynamicState | center_state | Medium.setState_phX(p_in, h_in + dh/2, Xi_in) | State at (h_in+h_out)/2 |
| Medium.Temperature | T | Medium.temperature(center_state) | Temperature at center state |
| Integer | turb_flag | = 0 for laminar flow, = 1 for turbulent flow (Re > 2300) |