3 Get all files from the sources directory on the web site and put them into the linuxSrc directory
5 2) Unpack OpenFOAM and set up the dot-files
8 tar xzf linuxSrc/OpenFOAM-1.4.1-dev_22_11_05.tgz
9 cp -r OpenFOAM-1.4.1-dev/.OpenFOAM-1.4.1-dev ~
15 source ~/.OpenFOAM-1.4.1-dev/cshrc
17 into your .cshrc file. If you are using bash, add
19 . ~/.OpenFOAM-1.4.1-dev/bashrc
41 ../gcc-4.2.2/configure --prefix=/usr/tmp/gcc-4.2.2 --exec-prefix=/usr/tmp/gcc-4.2.2 --enable-languages=c,c++ --enable-shared
48 tar cvzf ~/OpenFOAM/linux/gcc-4.2.2.bin.tgz gcc-4.2.2
50 tar xzf gcc-4.2.2.bin.tgz
54 cd ~/OpenFOAM/linuxSrc
55 tar xzf gdb-6.4.tar.gz
57 ./configure --prefix=~/OpenFOAM/linux/gdb-6.4
63 cd ~/OpenFOAM/linuxSrc
64 tar xzf cmake-2.4.7.tar.gz
66 ./configure --prefix=~/OpenFOAM/linux/cmake-2.4.7
71 cd ~/OpenFOAM/linuxSrc
74 ./configure --prefix=~/OpenFOAM/linux/dx-4.4.4 --enable-shared
79 cd ~/OpenFOAM/linuxSrc
80 tar xvzf paraview-2.4.4.tgz
81 mkdir paraview-2.4.4-obj
82 cmake -i ../paraview-2.4.4
86 enable shared library: YES
87 prefix: ~/OpenFOAM/linux/paraview-2.4.4
93 cd ~/OpenFOAM/linuxSrc
95 mkdir ~/OpenFOAM/linux/paraview-2.4.4/include
96 cp ./paraview-2.4.4/VTK/Common/vtk* ~/OpenFOAM/linux/paraview-2.4.4/include/
97 cp ./paraview-2.4.4/VTK/Filtering/vtk* ~/OpenFOAM/linux/paraview-2.4.4/include/
98 cp ./paraview-2.4.4-obj/VTK/vtk* ~/OpenFOAM/linux/paraview-2.4.4/include/
99 cp ./paraview-2.4.4-obj/ParaViewConfig.cmake ~/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4/
101 linux64 copy commands
103 mkdir ~/OpenFOAM/linux64/paraview-2.4.4/include
104 cp ./paraview-2.4.4/VTK/Common/vtk* ~/OpenFOAM/linux64/paraview-2.4.4/include/
105 cp ./paraview-2.4.4/VTK/Filtering/vtk* ~/OpenFOAM/linux64/paraview-2.4.4/include/
106 cp ./paraview-2.4.4-obj/VTK/vtk* ~/OpenFOAM/linux64/paraview-2.4.4/include/
107 cp ./paraview-2.4.4-obj/ParaViewConfig.cmake ~/OpenFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/
113 (this should take you to the ~/OpenFOAM/OpenFOAM-1.4.1-dev directory)
117 This will build foam.
124 (this should run and report something like)
126 wooster*101-> icoFoam
127 /*---------------------------------------------------------------------------*\
129 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
130 | \\ / O peration | Version: 1.4.1-dev |
131 | \\ / A nd | Web: http://www.openfoam.org |
132 | \\/ M anipulation | |
133 \*---------------------------------------------------------------------------*/
141 Usage: icoFoam <root> <case> [-parallel]
144 --> FOAM FATAL ERROR : Wrong number of arguments, expected 2 found 0
150 SVN check-out command
152 svn co https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.4.1-dev
158 svk mirror https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.4.1-dev //OpenFOAM-1.4.1-dev
159 svk sync //OpenFOAM-1.4.1-dev
163 Additional source packages:
166 http://www.lam-mpi.org/7.1/download.php
167 http://www.open-mpi.org/