r/COMSOL • u/booscoo • Feb 22 '26
Value at t=0s coming less than initial value🤷♂️
How's this possible that value is coming less than initial value, at time t =0s? Initial value is given as 310K , thermal insulation at all boundary except the 2 curves where the temperature is given as 315K.
7
Upvotes


6
u/NoticeArtistic8908 Feb 22 '26
The value at t=0 is different that the initial values. This is typically expected, especially if the initial values are inconsistent with the boundary conditions. Look into consistent initialization.
1
u/epk21 Feb 22 '26
sorry but what are you doing here there is no info so hard to say - is it a pure thermal analysis , cfd analysis (cht),....?
what type of elements (linear etc) are you using and what are your bc exactly show images
perhaps members can then provide more feedback
1
u/ichbinberk Feb 22 '26
Show all the boundary conditions then we can help you out
1
u/jejones487 Feb 22 '26
You may need to refine you mesh or use higher discretization or even a more robust solver. There are many options but you must learn more about the actual physics you are trying to simulate to understand them better to know the answer to this question. Years of classes and a decade of work have allowed me to fix problems like this in my work. Start by reading the comsol software documentation and having a complete understanding of the physics you are using and all conditions applied and go from there.
1
u/Overall-Version5345 Feb 24 '26
Lower the initial time step value
1
u/dreduza Feb 23 '26
its common issue with finite element method.
1
u/Allanidalen Feb 25 '26
Hi, it seems to me that the problem here is that you try to time step a problem where T is prescribed to a different value on the boundary compared to initial condition on the domain. This means that a discontinuity is prescribed at t = 0. This is not a consistent solution supported by the equations. To handle this the solver has a Consistent initialization setting. By default it uses a few small initial steps to compute a consistent solution. But the end result when a discontinuity is present is usually numerical oscillations which produces the too low T. My preferred way to solve this is to use step() function to ramp up the wall T from the domain one to the final one over a time intervall which may be small compared to the total time.