Os is Ubuntu 20.04, Openfoam is openfoam9 available via the package manager, and preCICE library is libprecice2_2.5.0_focal.deb as outlined in the quickstart guide.
Is there a way to install preCICE using the default libraries available on Ubuntu 20.04? Appreciate any help in this regard.
Hi,
I’m not 100% sure about it, but I presume you need to compile the preCICE branch named OpenFOAM9. I’m not sure if it works as is on ubuntu 20.04 right now. It worked for me when I had Ubuntu 20.04 and OF9.
Kind regards
Claudio
To do so without complicating the code too much, we maintain different branches for different versions, which we update with every feature/major release of the adapter.
Note that, while we do some basic tests with the Foundation line, we mainly work with the OpenCFD line, as it is generally backwards-compatible and easier for us to maintain. If you find any issues specific to a Foundation version, your feedback would be very helpful.
In case you have not used the OpenCFD version recently, in the past few years they have started distributing Debian packages for Ubuntu. You can now install it quite easily from their PPA repository (similar to the Foundation PPA): debian · Wiki · Development / openfoam · GitLab