Download files We strongly recommend that OpenFOAM is installed in a user account to
make administration easier. The standard installation directory is the
$HOME/OpenFOAM directory of that user account. Create this directory if necessary.
The files should be downloaded and located as in $HOME/OpenFOAM as
follows:
Unpack files Decompress each file, including those in a <platform> subdirectory (if one
exists), with GNU gtar and gzip using the command ”tar xzf <filename>”,
beginning with the OpenFOAM-1.4.1.General.gtgz source file. This source filemust be present for OpenFOAM to be operational. The OpenFOAM
source and (any) binary files unpack into a $HOME/OpenFOAM/OpenFOAM-1.4.1
directory. Any binary files for third-party products should be unpacked within a
<platform> subdirectory.
Installation After unpacking, the user should consult the $HOME/OpenFOAM/OpenFOAM-1.4.1/README
file for installation instructions.
gcc installation OpenFOAM should work with most recent system distributions of the gcc
compiler so installation of a binary pack is optional. The binary pack was
compiled using SuSE Linux version 10.1+ and is known to be incompatible with
system utilities for earlier versions of SuSE Linux.
JAVA installation JAVA is required to run the FoamX case manager only; if you don’t use
FoamX, you don’t need JAVA. Recent releases of the Linux operating system
should contain a version of JAVA that is compatible with FoamX. To use
the JAVA supplied with the system, you need to set the $JAVA_HOME
environment variable to the path of the installation, e.g. ‘/usr’. This
is set in the $HOME/OpenFOAM/OpenFOAM-1.4.1/.bashrc (or .cshrc)
file.