Precice provides great convenience for the development of fluid-structure coupling solvers. I have a solid solver, and I developed an interface using Precice to achieve fluid-structure coupling with openfoam. At present, it has been verified using the example of Perpendicular flap, and the results are basically consistent. But I have two problems at present.
-
I also want to do a fluid-structure coupling example similar to a small ball entering water, so as to reflect the performance of my solver in simulating discrete body motion. I checked the official examples of Precice, and it seems that there is no similar example. I don’t know if you have a similar coupling example, and I can directly modify the solid solver file to run it. Or, I currently have an openfoam example of a small ball entering water, but I am not very good at openfoam, so there are some problems in the process of realizing coupling. I don’t know how to modify the openfoam input file to achieve coupling, because it does not define Precice related content itself, and gives the small ball mass and boundary conditions.
[Ball.zip (2.5 MB)](Thien Phan - Floating Sphere) -
When I get effective results from the test, I hope to make my solver public. I don’t know whether it can become part of the official adapter of Precice, or what else needs to be done. I need your advice.