looo wrote: ↑
Fri Sep 01, 2017 6:44 am
oliveroxtoby wrote: Which system and which OpenFOAM package are you using?
should be this package: https://launchpad.net/ubuntu/zesty/+source/openfoam
(ubuntu 17.04, openfoam4.1)
I think the binaries are directly in bin and therefore accessible without any paths. But I don't know what is needed to run the simulation
From the README:
Set the OpenFOAM install directory in the preferences panel - typical install locations are /home/user/OpenFOAM/OpenFOAM-4.x or /opt/openfoam4 (It will be automatically detected in common default install locations.)
The install path that the CFD workbench wants is the one containing etc/bashrc which is used to initialise the OpenFOAM environment.
My understanding with the Ubuntu package is that this should be /opt/openfoam4, but I'd like to hear if this is not the case. If it is, then it should be picked up automatically if you just leave the install path blank.
rusing the official repository installes openfoam in /opt/openfoam4/ and this makes the dependency-checker is happy. Maybe the package from the ubuntu repositories shouldn't be used...
Aha, interesting. I did not realise there was a distinction. It sounds as if the ubuntu repository package integrates the directory structure into the system. If you are able it would be helpful to know if there is a path set up in the WM_PROJECT_DIR environment variable (I guess not, as this would have satisfied the dependency checker), or alternatively whether the FOAM_ETC variable is set?