CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

How can download older versions of OF?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2013, 08:46
Default How can download older versions of OF?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
how can install older versions without removing later ones?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 5, 2013, 08:48
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by immortality View Post
how can install older versions without removing later ones?
I've written about this several times... one of them here: Advanced tips for working with the OpenFOAM shell environment
__________________
wyldckat is offline   Reply With Quote

Old   May 5, 2013, 08:59
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 5, 2013, 09:07
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
If you need OpenFOAM 2.1.1, follow these instructions: http://www.openfoam.org/archive/2.1....oad/ubuntu.php
__________________
wyldckat is offline   Reply With Quote

Old   May 5, 2013, 10:23
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 5, 2013, 10:36
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
  1. What are the last 10 lines of the file "~/.bashrc"?
  2. Did you start a new terminal?
  3. It's "decomposePar", not "decomPosePar".
__________________
wyldckat is offline   Reply With Quote

Old   May 5, 2013, 10:55
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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"
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 5, 2013, 11:22
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
or:
Code:
of210
for activating the respective environment.

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!
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Old   May 5, 2013, 11:36
Default
  #9
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
what do you mean by "tab"?is it a way to move between terminals?(I try to learn new things)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 5, 2013, 11:42
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by immortality View Post
what do you mean by "tab"?is it a way to move between terminals?(I try to learn new things)
It's been so much time since you've been working on Linux, and you still don't know about terminal tabs?
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 Siemens 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


All times are GMT -4. The time now is 21:43.