Difference between revisions of "Contrib equationReader/Installation"
From OpenFOAMWiki
(Created page with "== Installation == 0. If you are running precompiled binaries, first ensure that you can compile your copy of OpenFOAM. 1. Download it from [http://openfoam-extend.svn.sourcefo...") |
|||
Line 9: | Line 9: | ||
2. Unzip and unpack the files to where they need to be: | 2. Unzip and unpack the files to where they need to be: | ||
− | :a) If you trust me, do the "auto-unpack" commands (just | + | :a) If you trust me, do the "auto-unpack" commands (just open a terminal window, browse to the directory containing your download, and paste these lines in): |
tar --transform='s,equationReaderExtension,'$WM_PROJECT_DIR',' \ | tar --transform='s,equationReaderExtension,'$WM_PROJECT_DIR',' \ |
Revision as of 00:42, 15 September 2011
1 Installation
0. If you are running precompiled binaries, first ensure that you can compile your copy of OpenFOAM.
1. Download it from here, or copy and paste the link below:
2. Unzip and unpack the files to where they need to be:
- a) If you trust me, do the "auto-unpack" commands (just open a terminal window, browse to the directory containing your download, and paste these lines in):
tar --transform='s,equationReaderExtension,'$WM_PROJECT_DIR',' \ -x -v -z -P -f openfoam-extend-equationReaderExtension.tar.gz
- b) If you want to see what's going on, just open the archive. It will be obvious where everything needs to go.
3. Compile the new library and demo project:
cd $WM_PROJECT_DIR/src/equationReader wmake libso cd $WM_PROJECT_DIR/applications/solvers/equationReader/equationReaderDemo wmake
equationReader is now installed.
2 Testing
To test the installation, copy the new tutorials/equationReader/ directory to your run directory, and run equationReaderDemo.