OpenFOAM

Website
http://www.openfoam.org


Fedora 23 only

OpenFoam 2.3.1

module load mpi/openmpi-x86_64
module load OpenFOAM/2.3.1

Includes Paraview 4.1.0 with OpenFOAM plugins (paraFoam).

OpenFoam 3.0+

module load mpi/openmpi-x86_64
module load OpenFOAM/3.0+

Getting started

Create a project directory within the $HOME/OpenFOAM directory named <USER>-<OpenFOAM-VERSION-YOU-USE> (e.g. chris-2.3.1 for user chris and OpenFOAM version 2.2.2) and create a directory named run within it, e.g. by typing

mkdir -p "${FOAM_RUN}"

Copy the tutorial examples directory in the OpenFOAM distribution to the run directory. If the OpenFOAM environment variables are set correctly, then the following command will be correct:

cp -r "${FOAM_TUTORIALS}" "${FOAM_RUN}"

Run the first example case of incompressible laminar flow in a cavity:

cd "${FOAM_RUN}/tutorials/incompressible/icoFoam/cavity"
blockMesh
icoFoam
paraFoam

LIGGGHTS-READER-plugin

CMAKE_PREFIX_PATH

$ParaView_DIR=
$ParaView_INCLUDE_DIR=
$ParaView_LIB_DIR =

Important Compile/Install Paraview with PARAVIEW_INSTALL_DEVELOPMENT_FILES

Log In