having implemented a structure solver with the python interface of preCICE,
I am now planning to couple a OpenFOAM fluid solver with preCICE.
In the documentation the implementation doesn’t seem to be very difficult but looking at the mesh,
I am wondering how I set up the correct mesh for the fluid solver.
I have set up a mesh for the moving points of my rigid body in the solid solver.
Implementation of the fluid solver → First coupling to a solverdummy
If necessary: Creation of a new mesh for the fluid solver.
For the fluid solver I will need the points of the rigid body transfered to cells and in addition I will need the cells of the farfield around the moving body.
Is there a way in preCICE to link specific cells (of the fluid mesh) to points (of the solid mesh) or do I have to add the farfield cells around my rigid body (transformed to points) to the solid mesh?
For the solid mesh, I have simplified the case to just a few points, but looking at the fluid solver, it seems to get a huge work, or am I missing an easy way to link solid an fluid mesh?
My first step would be to couple my current fluid simulation (mesh with many cells) with a solverdummy, but I don’t know how to create the mesh there.