Temperature Condition¶
The temperature condition prescribes a fixed temperature on a boundary or within a volume: $$ T = T_0. $$
- \(T\) - boundary or volume temperature [K]
- \(T_0\) - prescribed temperature value [K]
Applicability¶
Use this condition when you know the temperature in advance, such as at interfaces with large thermal reservoirs or controlled heating elements. You can apply it on boundaries or over volume regions.
Typical use cases¶
- Coolant-plate or chiller interfaces held at a controlled temperature.
- Inlet / outlet faces of a body that interfaces a large thermal reservoir.
- Thermostatic test rigs — boundary kept at a known set-point.
- Verification benchmarks with analytic temperature profiles.
Example¶
A scalar value is auto-wrapped into a coefficient:
condition = TemperatureCondition(
name="My Temperature Condition",
marker=my_marker,
temperature=343.0,
)
A coefficient function can be passed directly for space- or time-dependent temperatures: