Skip to content
HeatTransfer.Convection.md

HeatTransfer.Convection

Lumped thermal element for heat convection (Q_flow = Gc*dT) This component is translated by DyadAI

Usage

TranslatedComponents.HeatTransfer.Convection()

Connectors

  • Gc - This connector represents a real signal as an input to a component (RealInput)

  • solid - Thermal port for 1-dim. heat transfer

This component is translated by DyadAI (HeatPort)

  • fluid - Thermal port for 1-dim. heat transfer

This component is translated by DyadAI (HeatPort)

Variables

NameDescriptionUnits
Q_flowHeat flow rate from solid -> fluidW
dT= solid.T - fluid.TK

Behavior

dT(t)=solid.T(t)fluid.T(t)solid.Q_flow(t)=Q_flow(t)fluid.Q_flow(t)=Q_flow(t)Q_flow(t)=dT(t)Gc(t)

Source

dyad
# Lumped thermal element for heat convection (Q_flow = Gc*dT)
# This component is translated by DyadAI
component Convection
  Gc = RealInput()
  solid = HeatPort()
  fluid = HeatPort()
  # Heat flow rate from solid -> fluid
  variable Q_flow::Dyad.HeatFlowRate
  # = solid.T - fluid.T
  variable dT::Dyad.TemperatureDifference
relations
  dT = solid.T - fluid.T
  solid.Q_flow = Q_flow
  fluid.Q_flow = -Q_flow
  Q_flow = Gc * dT
end
Flattened Source
dyad
# Lumped thermal element for heat convection (Q_flow = Gc*dT)
# This component is translated by DyadAI
component Convection
  Gc = RealInput()
  solid = HeatPort()
  fluid = HeatPort()
  # Heat flow rate from solid -> fluid
  variable Q_flow::Dyad.HeatFlowRate
  # = solid.T - fluid.T
  variable dT::Dyad.TemperatureDifference
relations
  dT = solid.T - fluid.T
  solid.Q_flow = Q_flow
  fluid.Q_flow = -Q_flow
  Q_flow = Gc * dT
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses