my goal is to perform a FF volume coupling with Openfoam 6 and precice. From another post, I saw that volume coupling is only possible with preCICE v3, which I install as a package through apt-get. While trying to compile the OpenFOAM6 branch of the openfoam-adapter, my build fails, because of problems with the Interface.C file. This is probably related: when I run
pkg-config --cflags libprecice
I get an empty newline as a response. Has anybody experienced similar issues before and could help me solve these? I have attached the wmake.log and Allwmake.log files
Thanks for clarifying! I am looking at this specific version of the openfoam adapter , because as I understand, volume coupling for fluid-fluid simulations with openfoam only work with preCICE v3 (?). This specific version of openfoam, simply because our solver is based on OF-6.
volume coupling also works with earlier preCICE versions, but for the OpenFOAM adapter, it is only integrated since v1.3.0.
We recently got a helpful contribution that simplifies how we test previous versions. I will look into supporting older OpenFOAM versions again in the next days.
@dennis I finally cooked something. Could you please give it a try and give me some feedback?
I made a new repository for the Foundation-compatible adapter, since I expect this to diverge a lot from the main repository. I have now ported up to OpenFOAM 7, but I cannot easily get OpenFOAM 6 or earlier nowadays to develop or test. Please let me know if the adapter compiles and if the usual tutorials run as expected.
Disclaimer: OpenFOAM 6 was released in 2018. Consider upgrading to something newer. The ESI versions so far have been very stable, and OpenFOAM 6 is not that different from v2412. I have now collected some porting notes as well:
Hi Makis, alright, perfect thank you for your help! Ill test it out and let you know how it works.
Regarding the ESI version: yes, youve mentioned at the workshop that it might be best to change from .org to .com, so I’ve started moving our solver to the newest ESI version.