ConvectiveResistance
ConvectiveResistance is 1D thermal convective element with a dynamically supplied thermal resistance.
This component models one-dimensional heat convection where the thermal resistance Rc
is not a fixed parameter but is provided as an external signal input. It extends ConvectiveElement1D
, which provides the thermal interface (two nodes with temperatures and heat flow) and defines the variables ΔT
(temperature difference) and Q
(heat flow rate). The central equation governing the component's behavior is:
This equation states that the temperature difference across the component is the product of the input convective resistance R_c
and the heat flow Q
through it. The Rc
input allows for modeling scenarios where the convective heat transfer coefficient (and thus resistance) changes over time due to varying flow conditions or other factors.
Usage
ConvectiveResistance()
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
)Rc
- This connector represents a real signal as an input to a component (RealInput
)
Variables
Name | Description | Units |
---|---|---|
ΔT | Temperature difference across the element, defined as solid.T - fluid.T. | K |
Q | Heat flow rate from the solid node to the fluid node. | W |
Behavior
Source
# ConvectiveResistance is 1D thermal convective element with a dynamically supplied thermal resistance.
#
# This component models one-dimensional heat convection where the thermal resistance `Rc`
# is not a fixed parameter but is provided as an external signal input. It extends
# `ConvectiveElement1D`, which provides the thermal interface (two nodes with
# temperatures and heat flow) and defines the variables `ΔT` (temperature difference)
# and `Q` (heat flow rate). The central equation governing the component's behavior is:
# ```math
# \Delta T = R_c Q
# ```
# This equation states that the temperature difference across the component is the product
# of the input convective resistance `R_c` and the heat flow `Q` through it.
# The `Rc` input allows for modeling scenarios where the convective heat transfer
# coefficient (and thus resistance) changes over time due to varying flow conditions or other factors.
component ConvectiveResistance
extends ConvectiveElement1D
# Signal representing the convective thermal resistance
Rc = RealInput() [{"Dyad": {"placement": {"icon": {"x1": 400, "y1": -100, "x2": 600, "y2": 100}}}}]
relations
ΔT = Rc*Q
end
Flattened Source
# ConvectiveResistance is 1D thermal convective element with a dynamically supplied thermal resistance.
#
# This component models one-dimensional heat convection where the thermal resistance `Rc`
# is not a fixed parameter but is provided as an external signal input. It extends
# `ConvectiveElement1D`, which provides the thermal interface (two nodes with
# temperatures and heat flow) and defines the variables `ΔT` (temperature difference)
# and `Q` (heat flow rate). The central equation governing the component's behavior is:
# ```math
# \Delta T = R_c Q
# ```
# This equation states that the temperature difference across the component is the product
# of the input convective resistance `R_c` and the heat flow `Q` through it.
# The `Rc` input allows for modeling scenarios where the convective heat transfer
# coefficient (and thus resistance) changes over time due to varying flow conditions or other factors.
component ConvectiveResistance
# 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
# Signal representing the convective thermal resistance
Rc = RealInput() [{"Dyad": {"placement": {"icon": {"x1": 400, "y1": -100, "x2": 600, "y2": 100}}}}]
relations
ΔT = solid.T-fluid.T
solid.Q = Q
fluid.Q = -Q
ΔT = Rc*Q
metadata {}
end
Test Cases
No test cases defined.
Related
Examples
Experiments
Analyses