FEniCS OpenFOAM perp-flap and cyl-flap#38
Conversation
…ng, the py script is for coupling with the adapter(not working yet)
-writing time for postprocessing
|
With the version of the fenics-adapter on this branch I can run the example and the results look reasonable. There are some open points, though:
|
…l be changed soon.
Regarding this I added richahert/fenics-adapter@2c9c2a0. This removes the entire swapping of coordinates from the adapter. I think we should try to fix the test cases instead. This means that quasi-2D OpenFOAM simulations should not live in the XZ plane, but in the XY plane. This makes the adapter much cleaner and also solves the visualization issue mentioned above. |
…the config to z-dead since simulation is now in the xy plane
see #38 (comment) is still necessary. I think this is an issue of the adapter. Therefore, let's not worry anymore about this here. I opened an issue: precice/openfoam-adapter#95 The rest of the flap tutorial looks very nice! |
|
I cannot run the OpenFOAM Fluid case for the FSI3 benchmark using OpenFOAM 6. @richahert did you use OpenFOAM 5 or older? Did this work? I will try to find out how to fix it for OpenFOAM 6. |
|
Both tutorials are now running on my machine. See #40 regarding compatibility problems with OpenFOAM6. |

I implemented the perpendicular flap with FEniCS and OpenFOAM.
It comes with a new Fluid Case that is almost the same as for OF-CcX but since FEniCS is in 2D I changed the thickness to 1.
There is still some code in perp-flap.py that is not relevant for a tutorial that can be deleted.
The displacements are smaller than expected for unknown reasons.
It makes sense to merge this PR together with precice/fenics-adapter#38, the PR brings FSI functionality to the fenics-adapter.
ToDos: perp-flap
ToDos: cyl-flap
test case runs with OpenFOAM 5 or older