OpenFOAM 10: Fixes adapter not reading coupling data#335
OpenFOAM 10: Fixes adapter not reading coupling data#335simrnjandu wants to merge 1 commit intoprecice:OpenFOAM10from
Conversation
|
Thank you for contributing! https://github.com/precice/openfoam-adapter/blob/develop/Adapter.C#L698 This is the result of an incomplete rebasing of the related .org branches, which I still need to fix at some point. But this is interesting now: if you apply this fix, does everything else work? What have you tried? For context, see #328. Please comment there regarding your needs. |
I forgot to add a link to the forum topic I created regarding this: https://precice.discourse.group/t/openfoam-org-adapter-doesnt-read-celldisplacement/1971
After this fix, these tutorials work as expected: I have not tried the other tutorials, but I believe they would work as well.
I am not using any custom solver, so the latest openfoam org version that is supported by precice does the job for me. I need the org version because the ESI one does not have the required rheology models: https://doc.cfd.direct/openfoam/user-guide-v10/transport-rheology |
|
This pull request has been mentioned on preCICE Forum on Discourse. There might be relevant details there: https://precice.discourse.group/t/openfoam-org-adapter-doesnt-read-celldisplacement/1971/4 |
Added missing call to readCouplingData(), which ensures that data is read from the precice buffer.
This fixes the issue of perpendicular-flap tutorial showing no displacement of the interface on openfoam's side.