-
-
Notifications
You must be signed in to change notification settings - Fork 116
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 checkpointing for FEniCS FSI tutorials #50
Comments
Be aware that this bug does not matter, if we do not use subcycling! |
We should first merge precice/fenics-adapter#34, since this makes handling the solver state much easier. |
This issue is still up-to-date. tutorials/perpendicular-flap/solid-fenics/perp-flap.py Lines 185 to 186 in 0c3407a
should be transferred to something like
Same for tutorials/perpendicular-flap/solid-fenics/perp-flap.py Lines 215 to 216 in 0c3407a
The commit from the branch mentioned above is heavily outdated, but might still be helpful: b3b4985#diff-e897be07ec33cea9a79328933528b3996749c98b04f78d3dfe69515b489a8780R240-R243 |
This issue has been mentioned on preCICE Forum on Discourse. There might be relevant details there: |
I performed some experiments with the perpendicular flap case and subcycling for my thesis. This generally works for the current state of the tutorials and the FEniCS adapter. There is one PR that we still need to close precice/fenics-adapter#172. I think we can then also close this issue. |
Since this issue has been lying around for quite a while, here is a quick update:
We can close this issue as soon as these PRs have been merged. |
Only
u_n
is considered by the checkpointing. But we should also properly checkpointv_n
anda_n
. There is already a prototype implementation on this branch (don't merge this branch, it has a different purpose!)The most important part is
tutorials/FSI/cylinderFlap/OpenFOAM-FEniCS/Solid/cyl-flap.py
Lines 238 to 243 in b3b4985
The text was updated successfully, but these errors were encountered: