Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
11 months ago
14.12.2023, 17:50 GMT-5
Updated:
11 months ago
14.12.2023, 17:36 GMT-5
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
14.12.2023, 20:17 GMT-5
Updated:
11 months ago
14.12.2023, 20:03 GMT-5
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
15.12.2023, 08:48 GMT-5
Updated:
11 months ago
15.12.2023, 08:34 GMT-5
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
15.12.2023, 14:06 GMT-5
Updated:
11 months ago
15.12.2023, 14:05 GMT-5
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
15.12.2023, 14:45 GMT-5
Updated:
11 months ago
15.12.2023, 14:31 GMT-5
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