-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temperature difference between two steps does not decrease with reducing step interval #653
Comments
Hi Ting, I think the following line is the problem It will only fire when |
The three columns of max_dT_Array in the standard output are iteration (its), dt, and dT_max, respectively. |
In the code every iteration is using a different initial temperature and temperatureDot. This isn't what you want right? |
I thought it is the same initial temperature and temperatureDot. Since I used to reset the temperature after each iteration. |
oh I see. Why don't you create fields |
How do I create and temperatureDot0 for the initial conditions? |
The initial values of temperatureDot0 should always be zero. So I suggest |
Instead of doing I think the |
creating a new mesh variable for T_old does not make any difference. Values of the derived dT_max are exactly the same as before. |
Can you upload a version of the model file and I can look at it more closely. The easiest way would be to make a private github repo and invite me to it. Remember to let me know the version of the code you're using. |
OK, I will do that. |
Hi Julian, I have invited you to my temporal repository. The swarm file exceeds the 25 Mb limit, so I shared it using my net-disk. You can download it through the link in README.md. Thanks! |
@tingyang2004 Could you re-invite me to the repo - unfortunately the invitation expired. opps |
re-invited @julesghub |
Hi all,
I ran into a strange issue when I tried to track the temperature evolution of a continental rifting model. As shown in the script below, I ran the advection-diffusion equation (SUPG) five times with the same velocity and initial temperature fields, as well as the same temperature's time derivative, each time with dt being 0.5 times the previous one. I expected the maximum temperature difference from the initial temperature field to decrease with reducing dt, but the output (elements of max_dT_Array) does not show this trend. Do you know why this happens? Thanks a lot.
Ting
Script to calculate temperature evolution and record maximum temperature difference:
output:
The text was updated successfully, but these errors were encountered: