Skip to content
ConvectiveElement1D.md

ConvectiveElement1D

ConvectiveElement1D is baseclass for 1D convective heat transfer elements, defining temperature drop and heat flow between solid and fluid interfaces without energy storage.

This partial component provides the foundational structure for modeling one-dimensional convective heat transfer. It establishes two connection ports, solid and fluid, to interface with respective thermal domains. The core behavior involves calculating the temperature difference \Delta T (defined as solid.T - fluid.T) and the heat flow rate Q that is transferred from the solid port to the fluid port.

The defining equations are:

ΔT=solid.Tfluid.Tsolid.Q=Qfluid.Q=Q

These ensure that Q represents heat flowing from the solid (e.g., solid.T and solid.Q) to the fluid (e.g., fluid.T and fluid.Q). The component itself does not model any internal energy storage, focusing purely on the heat exchange interface.

Usage

ConvectiveElement1D()

Connectors

  • solid - This connector represents a thermal node with temperature and heat flow as the potential and flow variables, respectively. (Node)

  • fluid - This connector represents a thermal node with temperature and heat flow as the potential and flow variables, respectively. (Node)

Variables

NameDescriptionUnits
ΔTTemperature difference across the element, defined as solid.T - fluid.T.K
QHeat flow rate from the solid node to the fluid node.W

Source

dyad
# ConvectiveElement1D is baseclass for 1D convective heat transfer elements, defining temperature drop and heat flow between solid and fluid interfaces without energy storage.
#
# This partial component provides the foundational structure for modeling
# one-dimensional convective heat transfer. It establishes two connection
# ports, `solid` and `fluid`, to interface with respective thermal domains.
# The core behavior involves calculating the temperature difference `\Delta T`
# (defined as `solid.T - fluid.T`) and the heat flow rate `Q` that is
# transferred from the `solid` port to the `fluid` port.
#
# The defining equations are:
# ```math
# \Delta T = solid.T - fluid.T
# ```
# ```math
# solid.Q = Q
# ```
# ```math
# fluid.Q = -Q
# ```
# These ensure that `Q` represents heat flowing from the `solid` (e.g., `solid.T` and `solid.Q`)
# to the `fluid` (e.g., `fluid.T` and `fluid.Q`). The component itself does not
# model any internal energy storage, focusing purely on the heat exchange interface.
partial component ConvectiveElement1D
  # Connector representing the solid side of the heat transfer interface.
  solid = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  # Connector representing the fluid side of the heat transfer interface.
  fluid = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # Temperature difference across the element, defined as solid.T - fluid.T.
  variable ΔT::Temperature
  # Heat flow rate from the solid node to the fluid node.
  variable Q::HeatFlowRate
relations
  ΔT = solid.T-fluid.T
  solid.Q = Q
  fluid.Q = -Q
end
Flattened Source
dyad
# ConvectiveElement1D is baseclass for 1D convective heat transfer elements, defining temperature drop and heat flow between solid and fluid interfaces without energy storage.
#
# This partial component provides the foundational structure for modeling
# one-dimensional convective heat transfer. It establishes two connection
# ports, `solid` and `fluid`, to interface with respective thermal domains.
# The core behavior involves calculating the temperature difference `\Delta T`
# (defined as `solid.T - fluid.T`) and the heat flow rate `Q` that is
# transferred from the `solid` port to the `fluid` port.
#
# The defining equations are:
# ```math
# \Delta T = solid.T - fluid.T
# ```
# ```math
# solid.Q = Q
# ```
# ```math
# fluid.Q = -Q
# ```
# These ensure that `Q` represents heat flowing from the `solid` (e.g., `solid.T` and `solid.Q`)
# to the `fluid` (e.g., `fluid.T` and `fluid.Q`). The component itself does not
# model any internal energy storage, focusing purely on the heat exchange interface.
partial component ConvectiveElement1D
  # Connector representing the solid side of the heat transfer interface.
  solid = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  # Connector representing the fluid side of the heat transfer interface.
  fluid = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # Temperature difference across the element, defined as solid.T - fluid.T.
  variable ΔT::Temperature
  # Heat flow rate from the solid node to the fluid node.
  variable Q::HeatFlowRate
relations
  ΔT = solid.T-fluid.T
  solid.Q = Q
  fluid.Q = -Q
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses