|
[Sponsors] | |||||
|
|
|
#1 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
how can install older versions without removing later ones?
|
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
I've written about this several times... one of them here: Advanced tips for working with the OpenFOAM shell environment
__________________
|
|
|
|
|
|
|
|
|
#3 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
no
as you know my other versions of OF were deleted when I wanted to install a anti-filter software.I just download them again.but in oenfoam.org i see only 2.2.0 version for download or maybe i haven't look at it carefully?
|
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
If you need OpenFOAM 2.1.1, follow these instructions: http://www.openfoam.org/archive/2.1....oad/ubuntu.php
__________________
|
|
|
|
|
|
|
|
|
#5 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
dear Bruno I used alias as you have told.but no command executed now:
Code:
ehsan@Ehsan-com:~/Desktop/Huge_reservoir_filling$ runPlot 4 rhoCentralFoamModified Usage ===== pyFoamPlotRunner.py [options] <foamApplication> <caseDir> <caseName> [foamOptions] pyFoamPlotRunner.py: error: Too few arguments (3 needed, 1 given) ehsan@Ehsan-com:~/Desktop/Huge_reservoir_filling$ decomPosePar decomPosePar: command not found ehsan@Ehsan-com:~/Desktop/Huge_reservoir_filling$ of220 of220: command not found ehsan@Ehsan-com:~/Desktop/Huge_reservoir_filling$ alias of220='. /opt/openfoam220/etc/bashrc' ehsan@Ehsan-com:~/Desktop/Huge_reservoir_filling$ decomPosePar decomPosePar: command not found ehsan@Ehsan-com:~/Desktop/Huge_reservoir_filling$ sorry.I had written alias commands in shell not in bashrc.now resolved. |
|
|
|
|
|
|
|
|
#7 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
is it true and as you had told?
Code:
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
#. /opt/openfoam220/etc/bashrc
#. /opt/openfoam211/etc/bashrc
#. /opt/openfoam210/etc/bashrc
alias of220='. /opt/openfoam220/etc/bashrc'
alias of210='. /opt/openfoam210/etc/bashrc'
export PATH="$PATH:/home/ehsan/Desktop/codes"
|
|
|
|
|
|
|
|
|
#8 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
The contents of the file "~/.bashrc" look OK. There doesn't seem to be any problem with it.
Whenever you start a new terminal window (or tab), run: Code:
of220 Code:
of210 If you need the other version of OpenFOAM to work with, start a new terminal and activate said version. You'll only be able to use one version at a time per terminal. So, if you have not yet started a new terminal, you better start a new one now!
__________________
|
|
|
|
|
|
|
|
|
#9 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
what do you mean by "tab"?is it a way to move between terminals?(I try to learn new things
)
|
|
|
|
|
|
|
|
|
#10 | |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Quote:
It's been so much time since you've been working on Linux, and you still don't know about terminal tabs?
__________________
|
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| It would be wonderful if a tool for FoamToTecplot is available | luckyluke | OpenFOAM Post-Processing | 165 | November 27, 2012 06:54 |
| how to open star ccm 6.04 version file in older versions | pritam.edke | CD-adapco | 2 | June 25, 2012 03:14 |
| Older versions compatibility (1.5 vs 2.1) ? | xerces8 | OpenFOAM | 2 | May 24, 2012 08:20 |
| Can't get older versions of OpenFOAM | fabioc | OpenFOAM Installation | 4 | February 7, 2012 09:13 |
| Older Versions distributions | jaswi | OpenFOAM | 2 | July 3, 2007 11:51 |