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

[OpenFOAM.org] Openfoam Installation v4.1 and v5.0

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By Robin.Kamenicky
  • 2 Post By Robin.Kamenicky
  • 1 Post By Sabby

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2018, 08:31
Exclamation Openfoam Installation v4.1 and v5.0
  #1
New Member
 
Sabrine BenSlama
Join Date: Jan 2018
Posts: 15
Rep Power: 8
Sabby is on a distinguished road
Hey Foamers,
Is it possible to install OpenFoam v4.1 when the version v5.0 is already installed on ubuntu ?
thank you.
Sabby is offline   Reply With Quote

Old   March 10, 2018, 15:44
Default
  #2
Member
 
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11
Robin.Kamenicky is on a distinguished road
Hi Sabby,

that should be fairly easy. Just download the source pack from GitHub.
Write aliases in your dot file such as .bashrc
E.g.
alias of-4.1="source $HOME/OpenFOAM/OpenFOAM-4.1/etc/bashrc"
alias of-5.0="source $HOME/OpenFOAM/OpenFOAM-5.0/etc/bashrc"

Before you start to install the 4.1 version source it by the alias.

I hope it helps. Also when you would like to use one of them use the alias in the terminal before. Let me know whether it works.
wyldckat and Sabby like this.
Robin.Kamenicky is offline   Reply With Quote

Old   March 10, 2018, 16:47
Default
  #3
Member
 
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11
Robin.Kamenicky is on a distinguished road
Hi Sabby,

you can also read about managing multiple versions here:
http://openfoamwiki.net/index.php/In...with_the_Shell
Chapter 2.2

Enjoy,
Robin
wyldckat and Sabby like this.
Robin.Kamenicky is offline   Reply With Quote

Old   March 12, 2018, 05:02
Default
  #4
New Member
 
Sabrine BenSlama
Join Date: Jan 2018
Posts: 15
Rep Power: 8
Sabby is on a distinguished road
Thank you for replying Robin ! I'll try this and see if it works
Sabby is offline   Reply With Quote

Old   March 12, 2018, 09:11
Smile
  #5
New Member
 
Sabrine BenSlama
Join Date: Jan 2018
Posts: 15
Rep Power: 8
Sabby is on a distinguished road
Thanks ! it works very well !
Robin.Kamenicky likes this.
Sabby 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
[swak4Foam] Difficulties compiling with OpenFOAM v5.0 MauricioReis OpenFOAM Community Contributions 19 October 16, 2019 01:58
turbulentDFSEMInlet in Openfoam 5. ssa_cfd OpenFOAM Programming & Development 0 September 28, 2018 06:26
[waves2Foam] wave2Foam compiled on OpenFOAM V5.0 zhxter OpenFOAM Community Contributions 2 September 13, 2018 12:30
OpenFOAM 5.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 11 June 6, 2018 00:48
What is the difference between OpenFOAM v5.0 and OpenFOAM v1706? JuPa OpenFOAM 5 December 30, 2017 10:29


All times are GMT -4. The time now is 13:45.