Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Defining a time dependent heat source (Heat transfer)

Sayee Srikarah Volaity

Please login with a confirmed email address before reporting spam

Hey there,

I am solving a heat transfer problem in which there is a time dependent heat source for a particular domain in the geometry. The heat source to be implemented is:

(1) If the temperature of the element (mesh element of the mesh corresponding to the heat source domain) is below a certain temperature "To", heat source = f(t), where t is the time. (2) If the temperature of the element crosses To, heat source = f(t, to), where to is the time at which the temperature of the element crosses To.

So to define this type of a heat source, I need to know the temperature of each mesh element, the time at which the temperature of the element becomes To.

Would be a great help if anyone can let me know how can I impelement such a heat source function.


3 Replies Last Post 10 feb 2024, 10:28 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 10 months ago 4 feb 2024, 19:44 GMT-5
Updated: 10 months ago 4 feb 2024, 19:44 GMT-5

My guess is that OP doesn't really need to work with individual mesh elements. Most always it is enough to define a volumetric heat source that is a function of local temperature. Without more details I don't immediately see how to implement the dependence on the time the temperature crosses a threshold, although I suspect state variables might be a way to do handle this.

My guess is that OP doesn't really need to work with individual mesh elements. Most always it is enough to define a volumetric heat source that is a function of local temperature. Without more details I don't immediately see how to implement the dependence on the time the temperature crosses a threshold, although I suspect state variables might be a way to do handle this.

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 10 months ago 5 feb 2024, 03:13 GMT-5
Updated: 10 months ago 5 feb 2024, 04:42 GMT-5

Hi,

I understand that you want to determine the time for each location when a certain temperature threshold is reached. You need to implement an additional equation for this. This blog post by Walter Frei may help: https://www.comsol.com/blogs/using-the-previous-solution-operator-in-transient-modeling/

Cheers

Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Hi, I understand that you want to determine the time for each location when a certain temperature threshold is reached. You need to implement an additional equation for this. This blog post by Walter Frei may help: Cheers Edgar

Sayee Srikarah Volaity

Please login with a confirmed email address before reporting spam

Posted: 9 months ago 10 feb 2024, 10:28 GMT-5
Updated: 9 months ago 10 feb 2024, 10:26 GMT-5

Hello Dave and Edgar,

I was able to fix the issue by using state variables and some conditional statements. The blog on using the previous solution operator was useful too.

Thank you!

Hello Dave and Edgar, I was able to fix the issue by using state variables and some conditional statements. The blog on using the previous solution operator was useful too. Thank you!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.