|
[Sponsors] |
May 2, 2009, 06:24 |
Error in the path definition?
|
#1 |
New Member
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16 |
I have managed to install the base configuration ok (OFv1.5 on Ubuntu 9.04).
However, the installation test comes back with one critical error in the path definition of icoFoam. icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/rlee/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccSPOpt/icoFoam current path : /home/rlee/OpenFOAM/rlee-1.5/applications/bin/linuxGccSPOpt/icoFoam CRITICAL ERROR Can someone point me to the right direction to look ?... I am getting confused with the various directories in the OpenFOAM directory structure. |
|
May 3, 2009, 11:48 |
Never mind... I think I found it.
|
#2 |
New Member
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16 |
To install applications to my own dir, simply set the env variable FOAM_APPBIN to the same place as $FOAM_USER_APPBIN and the critical error from foamInstallationTest goes away. Is this correct?... If so, why not put a comment in the settings.sh for new installers?... Take it as just a suggestion from a new user.
|
|
May 4, 2009, 03:21 |
|
#3 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Robert,
If you want to compile your own applications you can copy the relevant tutorial to your ~/OpenFOAM/<your_user_name-1.5>/applications and change "FOAM_APPBIN" into "FOAM_USER_APPBIN" in icoFoam/Make/files. There you can also change the name of the solver if you like. Then, compile the solver with wmake (with first wclean, if you need to). Is this what you mean? Regards, Gijsbert |
|
May 4, 2009, 22:52 |
I figured it out...
|
#4 |
New Member
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16 |
Thanks for replying.
Yes, I have compiled my the code to my own user directory. I have recompiled the source code. I have also downloaded Qt and recompiled paraView. However, as I read the user document, I can just translate the output data to vtk and use the standard paraview distribution. It took a weekend to figure it all out, and it was a good learning experience. Now I can play with the cases, and develop my own applications. This is where the fun begins... Cheers !... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
path lines | seeta | FLUENT | 1 | September 4, 2011 01:07 |
how to draw the path line in 3D? | qing hao | FLUENT | 1 | October 8, 2010 16:01 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
One critical error while compiling lam711 | billpeace | OpenFOAM Installation | 0 | October 30, 2006 04:41 |
Different PATH and OpenFOAM 11 | ds2taieb | OpenFOAM Installation | 0 | January 25, 2006 13:15 |