Convection
IconConvection
Lumped thermal element for heat convection
Usage
Convection()
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
)Gc
- This connector represents a real signal as an input to a component (RealInput
)
Variables
Name | Description | Units |
---|---|---|
ΔT | K | |
Q | W |
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() [{"Dyad": {"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() [{
"Dyad": {
"placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
}
}]
fluid = Node() [{
"Dyad": {
"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() [{"Dyad": {"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
Related
- Examples
- Experiments
- Analyses