|
|
Line 1: |
Line 1: |
− | == Installation ==
| + | This project has migrated over to '''github'''. |
| | | |
− | 0. If you are running precompiled binaries, first ensure that you can compile your copy of OpenFOAM.
| + | '''''[http://github.com/Marupio/equationReader/wiki Click here for the new website.]''''' |
| | | |
− | 1. Download it from [http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Breeder_1.6/libraries/equationReaderExtension/?view=tar here], or copy and paste the link below:
| + | http://github.com/Marupio/equationReader/wiki |
− | | + | |
− | http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Breeder_1.6/libraries/equationReaderExtension/?view=tar
| + | |
− | | + | |
− | 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. '''If you have OpenFOAM 1.7.x or earlier''' edit the file <tt>src/equationReader/include/versionSpecific.H</tt>:
| + | |
− | :Comment out the second line:
| + | |
− | //#define ThisIsFoamVersion2
| + | |
− | 4. 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.
| + | |
− | | + | |
− | == Testing ==
| + | |
− | To test the installation, copy the new <tt>tutorials/equationReader/</tt> directory to your run directory, and run <tt>equationReaderDemo</tt>.
| + | |