-
Notifications
You must be signed in to change notification settings - Fork 55
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
Fix restart transient with variable time step #1093
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, I've got nothing to say expect for .prm formating.
Edit : It seems to be working for CHNS cases, though the residual is not exactly the same (~0.1% of error) after checkpointing and before, but the timestep is the correct one. Same problem as Helene pointed I think
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive/generator.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive/generator.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive/generator.prm
Outdated
Show resolved
Hide resolved
applications_tests/lethe-fluid/taylor-green-vortex-restart-bdf1-adaptive/generator.prm
Outdated
Show resolved
Hide resolved
|
||
// Fix time step to be the last time_step that was used | ||
time_step = time_step_vector[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is crazy how one line can fix this problem so easily
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still looking for why we have a difference in the residuals for NS-VOF cases, but I think this change can still be merged in the meanwhile :)
…1-adaptive/generator.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive/generator.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive/generator.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive/generator.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive/generator.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
…1-adaptive.prm Co-authored-by: Pierre Laurentin <81017102+PierreLaurentinCS@users.noreply.github.com>
Description of the problem
Description of the solution
How Has This Been Tested?
Documentation
Comments