How to solve transient equations? #1085
Replies: 1 comment 2 replies
-
Sure.
A transient problem needs to call
The unit of timeStep is whatever is consistent with the units of your coefficients. You give As before, I strongly recommend you simplify your problem and solve it in lower dimensions. This problem is fundamentally 1D; if you change to a [*] If you do that, what you can see is that you don't really ever get a proper steady-state, although it does seem to evolve to a steady shape with a steady |
Beta Was this translation helpful? Give feedback.
-
Hi, I need to solve the heat diffusion equation shown below:
The equation I am having right now is:
where
rho
is the density andcp
is the absolute heat cap in the heat diffusion equation.I am not sure if this is the correct way to write the transient term.
The way I am using to solve the equation is shown below:
I noticed that as I decreased the
timeStep
from 1.e-1 to 1.e-7 with 'steps' values from 50 to 300, the final results converged to a certain value shown in the table below. (for the sametimeStep
value, the results are the same with differentsteps
values)I was doing steady-state equation solving, but the steady-state results are very weird. Such as when there is no heat source, part of the material has a temperature of 0 °C while the ambient temperature is 45 °C; when there is a heat source, the temperature can go over 10000 °C (while the transient result is around 45 °C shown in the table above). So I think I might need to try to do transient analysis with proper time steps to reach the true steady state results.
My questions are:
timeStep
mean that I need to figure out the besttimeStep
for different simulation setups?timeStep
second OR how can I know the unit / exact length of it?The full code is attached below:
example01_07_25.zip
Beta Was this translation helpful? Give feedback.
All reactions