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.

help with time dependent study: temperature is not changing

Please login with a confirmed email address before reporting spam

Hi guys,

I am running a very simple model to make sure my time dependent study setting is right. Obviously it's not.... I have set my temperature profile using interpolation as the TC_profile. And the "temperature profile" shows the setting is OK.

I also made sure that the temeprature input for the linear elastic material is using the TC_profile, and the time dependent study time range is OK.

But after I ran the time dependent study, and plot the temperature Vs time, the temperautre seems not changing at all. It's always 233.15K, as shown in the "temperature from time dependent study".

I really don't understand where I did wrong in this.

Could you help take a look in my model?

Thank you!



5 Replies Last Post 2023年12月15日 GMT-5 14:45
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 11 months ago 2023年12月14日 GMT-5 17:50
Updated: 11 months ago 2023年12月14日 GMT-5 17:36

Hello Danhui,

I only took a quick look at your model and I could be wrong, but while I see where TC_profile enters the Solid Mechanics branch of your model, I don't see where it enters the Heat Transfer in Solids branch. If I am correct, there's no reason the temperature (which is the solution of the equation set up by that branch) would change.

Best,

Jeff

PS: If TC_profile is the temperature that you know the entire object is at, then there is no reason to solve for T and no need for a Heat Transfer in Solids branch.

-------------------
Jeff Hiller
Hello Danhui, I only took a quick look at your model and I could be wrong, but while I see where TC_profile enters the Solid Mechanics branch of your model, I don't see where it enters the Heat Transfer in Solids branch. If I am correct, there's no reason the temperature (which is the solution of the equation set up by that branch) would change. Best, Jeff PS: If TC_profile is the temperature that you know the entire object is at, then there is no reason to solve for T and no need for a Heat Transfer in Solids branch.

Please login with a confirmed email address before reporting spam

Posted: 11 months ago 2023年12月14日 GMT-5 20:17
Updated: 11 months ago 2023年12月14日 GMT-5 20:03

Hello Danhui,

I only took a quick look at your model and I could be wrong, but while I see where TC_profile enters the Solid Mechanics branch of your model, I don't see where it enters the Heat Transfer in Solids branch. If I am correct, there's no reason the temperature (which is the solution of the equation set up by that branch) would change.

Best,

Jeff

PS: If TC_profile is the temperature that you know the entire object is at, then there is no reason to solve for T and no need for a Heat Transfer in Solids branch.

Thank you Jeff! You are right. I should add a Temperature 1 to state the temperature setting in the Heat transfer in solids. Once I do that, it works.

I have a follow up question. I agree with you that I should not need to have Heat transfer in Solids. But if I disable the Heat transfer in Solids and the Thermal expansion, and I input the temperature profile in Thermal Expansion and Creep in Linear Elastic Materials 1, the solver will give an error in the Time dependent study. The error said I did not define T. But I did it in the Linear elastic materials. I have uploaded this model and I wonder if you could help point out what is missing in my understanding?

Thank you so much!

>Hello Danhui, > >I only took a quick look at your model and I could be wrong, but while I see where TC_profile enters the Solid Mechanics branch of your model, I don't see where it enters the Heat Transfer in Solids branch. If I am correct, there's no reason the temperature (which is the solution of the equation set up by that branch) would change. > >Best, > >Jeff > >PS: If TC_profile is the temperature that you know the entire object is at, then there is no reason to solve for T and no need for a Heat Transfer in Solids branch. Thank you Jeff! You are right. I should add a Temperature 1 to state the temperature setting in the Heat transfer in solids. Once I do that, it works. I have a follow up question. I agree with you that I should not need to have Heat transfer in Solids. But if I disable the Heat transfer in Solids and the Thermal expansion, and I input the temperature profile in Thermal Expansion and Creep in Linear Elastic Materials 1, the solver will give an error in the Time dependent study. The error said I did not define T. But I did it in the Linear elastic materials. I have uploaded this model and I wonder if you could help point out what is missing in my understanding? Thank you so much!


Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 11 months ago 2023年12月15日 GMT-5 08:48
Updated: 11 months ago 2023年12月15日 GMT-5 08:34

Hello Danhui,

Looks like the error is not from the solver, it's from Plot: Line Graph 1. It makes sense that it would return an error since that plot tries to graph a quantity that you are no longer solving for.

Best,

Jeff

-------------------
Jeff Hiller
Hello Danhui, Looks like the error is not from the solver, it's from Plot: Line Graph 1. It makes sense that it would return an error since that plot tries to graph a quantity that you are no longer solving for. Best, Jeff

Please login with a confirmed email address before reporting spam

Posted: 11 months ago 2023年12月15日 GMT-5 14:06
Updated: 11 months ago 2023年12月15日 GMT-5 14:05

Hello Danhui,

Looks like the error is not from the solver, it's from Plot: Line Graph 1. It makes sense that it would return an error since that plot tries to graph a quantity that you are no longer solving for.

Best,

Jeff

Thank you Jeff!

I thought the Linear elastic material carries the temperature. But that does not work for the plot. Now I get it. Appreciate you kind help.

>Hello Danhui, > >Looks like the error is not from the solver, it's from Plot: Line Graph 1. It makes sense that it would return an error since that plot tries to graph a quantity that you are no longer solving for. > >Best, > >Jeff Thank you Jeff! I thought the Linear elastic material carries the temperature. But that does not work for the plot. Now I get it. Appreciate you kind help.

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 11 months ago 2023年12月15日 GMT-5 14:45
Updated: 11 months ago 2023年12月15日 GMT-5 14:31

The Linear Elastic Material node "knows" the temperature as TC_profile(t), whereas your plot is of T. If you want to plot the temperature, you can edit the Plot Line Graph 1 so that it plots TC_profile(t) instead of T, and the error message goes away. Then again, you can plot TC_profile straight from the node where you define it, without having to solve the equations (I mention this in case you are plotting it just to check that it looks as you want it to).

Best,

Jeff

-------------------
Jeff Hiller
The Linear Elastic Material node "knows" the temperature as TC_profile(t), whereas your plot is of T. If you want to plot the temperature, you can edit the Plot Line Graph 1 so that it plots TC_profile(t) instead of T, and the error message goes away. Then again, you can plot TC_profile straight from the node where you define it, without having to solve the equations (I mention this in case you are plotting it just to check that it looks as you want it to). Best, Jeff

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.