|
[Sponsors] |
OF-1.6 and OF-1.5-dev installed simultaneously |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 24, 2010, 05:35 |
OF-1.6 and OF-1.5-dev installed simultaneously
|
#1 |
Member
|
Hello, colleagues!
Please explain me the following. Is it possible to have installed OF-1.6 and OF-1.5-dev on one PC simultaneously? Now I have OF-1.6 installed and I would like to use some OF-1.5-dev features. I tried just to copy some source files to OF-1.6 src directory but these files failed to compile. Best regards, Aleksey. |
|
March 27, 2010, 05:21 |
|
#2 |
New Member
|
Yes Aleksey, you can install either version and switch from 1.6 to 1.5-dev. To use OF 1.6 you must uncomment the line in your .bashrc file
Code:
. $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc #$HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc #export PATH=$PATH\:$HOME/OpenFOAM/OpenFOAM-1.5-dev/wmake Code:
#. $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc $HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc export PATH=$PATH\:$HOME/OpenFOAM/OpenFOAM-1.5-dev/wmake Code:
source ~/.bashrc Alex |
|
March 27, 2010, 07:30 |
|
#3 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Aleksey,
I have the same setup, but if you get bored with opening .bashrc, editing, saving, and sourcing it, you could use an alias for each version. I have the following in .bashrc: Code:
## Source OpenFOAM-1.5-dev alias dev='. $HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc' ## Source OpenFOAM-1.6.x alias 16x='. $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc'
__________________
Regards, Gijs Last edited by gwierink; March 27, 2010 at 07:31. Reason: typo |
|
March 27, 2010, 07:38 |
|
#4 |
Member
|
Thanks for help, gentlemen!
And what version of paraview and other third party programs do you use? From 1.6 installation or from 1.5-dev? |
|
March 27, 2010, 08:58 |
|
#5 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
I use ParaView-3.4.0 via VTK because that is at the moment the most stable on all my machines (but that's mainly a graphics card issue on my work laptop ... ).
__________________
Regards, Gijs |
|
March 27, 2010, 09:04 |
|
#6 |
New Member
|
I'm involved in ship hydrodynamics and, starting from OF 1.5-dev version I'm migrating to OF 1.6, either with ParaView 3.6.2 with vtkPOpenFOAMReader plugin.
Last edited by axpl; March 27, 2010 at 09:26. Reason: typo error. |
|
May 6, 2010, 08:28 |
|
#7 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Axl,
Did you already make a good ship simulation with OF-1.6. In this thread (http://www.cfd-online.com/Forums/ope...ip-flow-3.html), some specialists decided to go back to 1.5 or 1.5-dev, because they had a lot of errors in 1.6. |
|
May 13, 2010, 08:59 |
|
#8 | |
New Member
|
Quote:
Alex |
||
|
|