# Is there a way to apply a temperature gradient as a Boundary Condition?

**URL:** <https://prepomax.discourse.group/t/is-there-a-way-to-apply-a-temperature-gradient-as-a-boundary-condition/1355>\
**Category:** General Questions\
**Created:** [December 20, 2023, 11:27pm UTC](https://prepomax.discourse.group/t/is-there-a-way-to-apply-a-temperature-gradient-as-a-boundary-condition/1355 "2023-12-20T23:27:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imgprojts](https://avatars.discourse-cdn.com/v4/letter/i/258eb7/32.png) [@imgprojts](https://prepomax.discourse.group/u/imgprojts)\
**Post date:** [December 20, 2023, 11:27pm UTC](https://prepomax.discourse.group/t/is-there-a-way-to-apply-a-temperature-gradient-as-a-boundary-condition/1355/1 "2023-12-20T23:27:48Z")

</div>

Imagine you have a hot plate and there is a cooling loop to cool it. The water inlet will be say 25C coming in and then some temperature delta later, the temp comes out at 30C. Could one apply for example an initial temp, then draw a line along the path and then set the final value? Its part feature request part just wondering what others do for this sort of thing.

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [December 21, 2023, 12:30am UTC](https://prepomax.discourse.group/t/is-there-a-way-to-apply-a-temperature-gradient-as-a-boundary-condition/1355/2 "2023-12-21T00:30:02Z")

</div>

There was a similar question here: [Approach for fluid cooled tube heat transfer](https://prepomax.discourse.group/t/approach-for-fluid-cooled-tube-heat-transfer/1079)

The easiest way would be to split the surface into segments and apply different temperatures. UTEMP subroutine would be the hardest approach but you could also try CFD (or actually CHT) as mentioned in the referenced thread.
