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

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
SI.LengthlLength
SI.RadiusrRadius
StringparameterStringif 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
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
BooleanconsiderInertance (from SISOFlow)dropOfCommons.considerInertance=true, if transient momentum (inertance) term is considered; disable only for advanced use
Utilities.Units.InertanceL (from SISOFlow)dropOfCommons.LInertance
StateSelectm_flowStateSelect (from SISOFlow)StateSelect.defaultState selection for mass flow rate
Booleanclip_p_out (from SISOFlow)= false, if dr_corr=0 (correction of inertial pressure difference)
Medium.AbsolutePressurep_min (from SISOFlow)dropOfCommons.p_minMinimum steady-state output pressure
Initialization › Mass flow rate
InitializationMethodsinitM_flow (from SISOFlow)ThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_0 (from SISOFlow)0Initial value for mass flow rate
Utilities.Units.MassFlowAccelerationm_acceleration_0 (from SISOFlow)0Initial value for derivative of mass flow rate
Advanced › flow characteristics
SI.ReynoldsNumberRe_D_crit2300Critical Reynolds number for laminar-turbulent transition
Advanced › Regularization parameters
SI.MassFlowRatem_flow_regdropOfCommons.m_flow_regNominal mass flow rate for regularization
Layout › Display parameters
BooleandisplayLengthtrue= true, if length l is displayed
BooleandisplayRadiustrue= true, if radius r is displayed

Connectors

TypeNameDefaultDescription
Inletinlet (from SISOFlow)
Outletoutlet (from SISOFlow)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from SISOFlow)inlet.m_flowMass flow rate
SI.Pressuredr_corr (from SISOFlow)Correction of inertial pressure difference
SI.Pressuredp (from SISOFlow)Pressure difference
Medium.AbsolutePressurep_in (from SISOFlow)Medium.pressure(inlet.state)Inlet pressure
Medium.SpecificEnthalpyh_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.AbsolutePressurep_out (from SISOFlow)Outlet pressure
Medium.SpecificEnthalpyh_out (from SISOFlow)Outlet specific enthalpy
Medium.MassFraction[Medium.nXi]Xi_out (from SISOFlow)Outlet mass fractions
Medium.ThermodynamicStatecenter_stateMedium.setState_phX(p_in, h_in + dh/2, Xi_in)State at (h_in+h_out)/2
Medium.TemperatureTMedium.temperature(center_state)Temperature at center state
Integerturb_flag= 0 for laminar flow, = 1 for turbulent flow (Re > 2300)