This is a continuation of my previous topic on volumetric coupling of OpenFOAM. As Makis had pointed out, there are quite a few discrepancies on the older OF adapter for volumetric coupling. I have been working on that and made some changes to update everything for precice version2.2.0. The new adapter with volumetric coupling is working reasonably well. In this regard, I had a question and a proposition:
Question - I am testing one-way volumetric coupling now and see that the internal volumetric fields are being mapped correctly between two solvers (both OF solvers). However, when I include patches, the data is not being mapped correctly. (The solver which writes the data, writes the data correctly to the buffer, but the solver which reads the data has some 0 values in some of the patch entries where there are supposed to be non-0 values). Please let me know if you have any inkling for where the problem might be.
Proposition - Would it be better to push my OF adapter with the volumetric coupling capability to github so that you can take a look? I have also put my test case which I am running to test the volumetric coupling in the tutorials folder of the same.
This might even make its way to getting integrated with the OF adapter so that volumetric coupling becomes a part of the adapter. Please let me know how we can go about extending the capability to volumetric coupling.