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

How can download older versions of OF?

Register Blogs Members List Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 5, 2013, 08:46
Default How can download older versions of OF?
  #1
Banned
 
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0
immortality is an unknown quantity at this point
how can install older versions without removing later ones?
immortality is offline   Reply With Quote

Old   May 5, 2013, 08:48
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
Banned
 
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0
immortality is an unknown quantity at this point
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?
immortality is offline   Reply With Quote

Old   May 5, 2013, 09:07
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
Banned
 
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0
immortality is an unknown quantity at this point
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.
immortality is offline   Reply With Quote

Old   May 5, 2013, 10:36
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
  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
Banned
 
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0
immortality is an unknown quantity at this point
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"
immortality is offline   Reply With Quote

Old   May 5, 2013, 11:22
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
Banned
 
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0
immortality is an unknown quantity at this point
what do you mean by "tab"?is it a way to move between terminals?(I try to learn new things)
immortality is offline   Reply With Quote

Old   May 5, 2013, 11:42
Default
  #10
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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

Thread Tools
Display Modes

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


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