Gc$(instance)Convection Icon

Convection

Lumped thermal element for heat convection

This component extends from ConvectiveElement1D

Usage

Convection()

Connectors

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

Variables

NameDescriptionUnits
ΔTK
QW

Behavior

\[ \begin{align} \mathtt{{\Delta}T}\left( t \right) &= \mathtt{solid.T}\left( t \right) - \mathtt{fluid.T}\left( t \right) \\ \mathtt{solid.Q}\left( t \right) &= Q\left( t \right) \\ \mathtt{fluid.Q}\left( t \right) &= - Q\left( t \right) \\ Q\left( t \right) &= \mathtt{Gc}\left( t \right) \mathtt{{\Delta}T}\left( t \right) \end{align} \]

Source

# Lumped thermal element for heat convection
component Convection
  extends ConvectiveElement1D
  # Signal representing the convective thermal conductance
  Gc = RealInput() [{
    "JuliaSim": {"placement": {"icon": {"x1": 400, "y1": -100, "x2": 600, "y2": 100}}}
  }]
relations
  Q = Gc*ΔT
end
Flattened Source
# Lumped thermal element for heat convection
component Convection
  solid = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  fluid = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  variable ΔT::Temperature
  variable Q::HeatFlowRate
  # Signal representing the convective thermal conductance
  Gc = RealInput() [{
    "JuliaSim": {"placement": {"icon": {"x1": 400, "y1": -100, "x2": 600, "y2": 100}}}
  }]
relations
  ΔT = solid.T-fluid.T
  solid.Q = Q
  fluid.Q = -Q
  Q = Gc*ΔT
metadata {}
end

Test Cases

  • Examples
  • Experiments
  • Analyses