-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Adds functionality to allow FSI to work with solids4foam as the solid solver #236
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.
Looks nice, thanks a lot. Have you tested the implementation using a simple tutorial? Maybe our perpendicular-flap tutorial?
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.
Hi @solids4foam (who's that? 😅),
thanks a lot for the contribution! I left some first comments.
We will also need a tutorial to try this out. You can add one here: https://github.com/precice/tutorials Ideally, you could recreate the perpendicular-flap example.
Regarding the changelog, I can also handle that. You just need a file 236.md
in the changelog-entries/
directory.
Co-authored-by: Gerasimos Chourdakis <[email protected]>
Co-authored-by: Gerasimos Chourdakis <[email protected]>
I initially tested it with a simple beamInCrossFlow test case from solids4foam [1,2], but I agree it would be good to set up the perpendicular flap test cases. I will start on this.
|
Ha, it is I, Philip Cardiff!
Sure, of course.
Yep, I will set up the perpendicular-flap example, and then I could create a pull request for that too.
I will add this. |
FYI, I have created a pull request to the tutorials repository at precice/tutorials#286, where I have added the perpendicular-flap/solid-solids4foam. I have checked this with OpenFOAM-v2012 and the nextRelease branch of solids4foam. I think it will not be difficult for me to also add a solid-openfoam case which uses the builtin OpenFOAM solidDisplacementFoam solver and the same openfoam-adapter. It should just require a new boundary condition. I will think about this tomorrow... |
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.
Thanks for the updates! A few more comments.
I have not yet managed to build solids4foam to test this, I guess I will bother you on the side regarding this.
That would also be a nice idea! I have never used that solver, but could be a nice intro and hint to solid simulations with OpenFOAM. One could just run the solidDisplacementFoam and we could link from that to the solids4foam tutorial for something more elaborate. |
Co-authored-by: Gerasimos Chourdakis <[email protected]>
…lacementFoam) which do not have a point field
OK, good news, I got the case working with the default solidDisplacementFoam solver. I added this to this tutorials pull request (1db82dc); you will also see a minor change (will probably require some discussion) required to the adapter in 4b49300. |
We are getting there! I tried to resolve all conversations that are now resolved. Still open:
We then have a couple of points open in the related tutorial(s): precice/tutorials#286 I triggered the CI already and formatting and building are fine. After the state of both PRs converges, I will also run a few tests (unfortunately we don't have automated system tests at the moment, this is on my todo list for a while). |
Co-authored-by: Gerasimos Chourdakis <[email protected]>
|
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 updated a couple of things in the documentation and it now finally looks ready! 😄 Thanks a lot for the contribution! I am sure that this is going to be very nice both for preCICE and for solids4foam users.
This pull request adds functionality to allow FSI to work with solids4foam as the solid solver.
TODO list:
docs/
: I don't think I need to change anything here, do I?changelog-entries/
(create directory if missing): apologies, I am not sure what I meant to add here.