-
-
Notifications
You must be signed in to change notification settings - Fork 34
Home
Generic instructions are as follows:
-
Create disk image with case sensitive file system.
hdiutil create -size 8.3g -type SPARSEBUNDLE -fs HFSX -volname OpenFOAM -fsargs -s OpenFOAM.sparsebundle -
Mount created disk image into
$HOME/OpenFOAM
hdiutil attach -mountpoint $HOME/OpenFOAM OpenFOAM.sparsebundle -
Extract sources in
$HOME/OpenFOAM(or clone source there if you are building git version) -
Go to $HOME/OpenFOAM/OpenFOAM-<VER> (where <VER> corresponds to selected version)
-
Download patch for selected version
-
Apply patch
git apply OpenFOAM-<VER>.patch -
Create preferences file
prefs.shin$HOME/.OpenFOAM -
Issue
source etc/bashrccommand to set up environment. -
Increase maximum number of open files (necessary for creation of certain
lnIncludefolders)
ulimit -n 8912 -
Execute
Allwmakescript. -
Wait.
-
Test installation.
-
Add environment setup pieces to your
$HOME/.zprofilefile.
This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM(R) and OpenCFD(R) trade marks.
OPENFOAM(R) is a registered trade mark of OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com.