As far as I know, in order to use openfoam, it is necessary to source /usr/share/openfoam/etc/bashrc beforehand. However, sourcing this file fails with the message: /usr/share/openfoam/etc/config.sh/setup:30: no such file or directory: /usr/share/openfoam/bin/foamEtcFile More generally, all the files from bin/ in the source of openfoam seem to be missing from the debian package. If that is intentional, how are we supposed to run openfoam?
I'm able to run most of the OpenFOAM binaries by exporting WM_PROJECT_DIR=/usr/share/openfoam This does not work for the dynamically compiled code though.