
modelConvectionMedia
Convective heat transfer resistance model with a correlation
Information
Convection resistance between a surface and a fluid in each of n segments, which computes the heat transfer coefficient with a heat transfer model chosen from a list and the fluid's properties. Convection takes the coefficient as an input instead, and ConvectionMedia_singleNode is the same model for one segment, with scalar ports.
- The heat ports carry only a temperature and a heat flow rate: the fluid's pressure and flow reach the heat transfer model only through the inputs, not from the volume the port is connected to.
- The segments are in series along the flow, segment 1 at the inlet when
m_flows is positive: a correlation that depends on the distance from the inlet takes it at the middle of each segment, the dlengths upstream plus half of its own.
Parameters
| Type | Name | Default | Description |
| Integer | n | 1 | # of heat transfer segments |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState | states | Medium.setState_pTX(fill(1e5, n), port_b.T) | Fluid state for properties and velocity |
| SI.MassFlowRate[n] | m_flows | zeros(n) | Fluid mass flow rate |
| SI.Diameter[n] | dimensions | fill(1, n) | Characteristic dimension (e.g. hydraulic diameter) |
| SI.Area[n] | crossAreas | 0.25*pi*dimensions.^2 | Cross sectional flow area |
| SI.Length[n] | dlengths | fill(1, n) | Segment length along the flow |
| SI.Area[n] | surfaceAreas | pi*dimensions.*dlengths | Heat transfer surface area |
| SI.Height[n] | roughnesses | fill(2.5e-5, n) | Average height of surface asperities |
| HeatTransferCoeff | heatTransferCoeff | | Correlation for the heat transfer coefficients |
| Modelica.Units.SI.HeatFlowRate[n] | Q_flows | | Heat flow rate from surface to fluid |
| Modelica.Units.SI.TemperatureDifference[n] | dTs | | Surface minus fluid temperature |
| SI.ThermalResistance[n] | R | | Surface to fluid thermal resistance |