skip to content
 

OpenFOAM is installed on the Maths Linux PCs on request.

To use OpenFOAM, bash users (the vast majority) should add the following line to the end of their .bashrc file.

source /opt/openfoam6/etc/bashrc

csh/tcsh users should add this to the end of their .cshrc.

source /opt/openfoam6/etc/cshrc

Each new version of OpenFOAM installs itself in a new /opt/openfoam* directory and these commands can be adjusted accordingly.

After editing the file, log out and back in to make your change live.

Documentation is available on the OpenFOAM website.