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
Using adaptivity results in a new output file for every time step #1755
Comments
Some comments:
but what does it even mean if these two meshes get out of sync? |
|
John, Can you go ahead and apply this patch and test it and modify all the tests that need to be modified? This is really the way things should have been working all along. |
In a3f760f:
|
permcody
pushed a commit
that referenced
this issue
Feb 14, 2014
Previously, once adaptivity happened, a new output file would get generated for every single output step. With this change, new files are created only if the mesh changes. closes #1755 r17576
permcody
pushed a commit
that referenced
this issue
Mar 7, 2014
Previously, once adaptivity happened, a new output file would get generated for every single output step. With this change, new files are created only if the mesh changes. closes #1755 r17576
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, if you have adaptivity turned on and are using exodus output (I'm not positive about other types of output, but I suspect they also behave like this), you get a new file generated for every single output step, even if the mesh hasn't changed.
I have attached a patch that only calls meshChanged() on the output object when adaptivity has actually changed the mesh. That gives you a series of output steps on the file for a given mesh configuration, and then generates a new file when the mesh changes. If you're just doing initial adaptivity, you would just get one file instead of a series of files.
The patch isn't totally ready to commit -- I haven't cleaned up the affected tests. I just wanted to run the concept by the Moose developers to see if there is agreement that this is how it should be done.
The text was updated successfully, but these errors were encountered: