Hi @jianzhou722!
interFoam has already been used with the OpenFOAM adapter:
- FSI: OpenFOAM adapter with interFOAM
- fluid-fluid coupling in this fork
There should be no fundamental problem and the approach would indeed be very similar to the standard FSI tutorial you mentioned.
“Dynamic meshing” sounds a bit more critical. Currently, preCICE relies on static coupling meshes. Meaning that you define them only once during initialization. This is enough if you do FSI based on an ALE approach. If you want to refine your fluid mesh, however, in every timestep and with this also your coupling mesh, then you reach the borders of preCICE currently. We are working on this, however: https://github.com/precice/precice/issues/225