I recently spent time at work trying to get OpenFOAM to do, well, anything using FreeCAD. I couldn't get it to install properly on linux or windows.
On windows, you're supposed to use some part of their autoinstaller through the freecad UI, which apparently didn't set some environment variable somewhere. On linux, I had package incompatibilities (using Ubuntu 18.04 LTS).
It... needs work.