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

[OpenFOAM.org] OpenFOAM 4.0 installation in CAELinux 2013

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2018, 08:53
Default OpenFOAM 4.0 installation in CAELinux 2013
  #1
New Member
 
Leelakrishnan
Join Date: Jan 2018
Location: Chennai, India
Posts: 4
Rep Power: 8
leee is on a distinguished road
Send a message via Skype™ to leee
I am trying to upgrade from the OpenFOAM2.1.1 and Helyx OS 1.0.1 to OF4.0 and Helyxos 2.4. I have installed the latest version of Helyx OS but i couldn't able to install the OpenFOAM. When i tried to do that i received an error "the installer cant run in openfoam environment. Please use a fresh terminal without openfoam environment".
Please help me out of it. Thanks in advance.

regards,
Leelakrishnan
leee is offline   Reply With Quote

Old   February 24, 2018, 19:18
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quick answer: You need to replace the source lines you have in the file "~/.bashrc", with the the respective alias alternatives.

For example, if you have this:
Code:
. $HOME/OpenFOAM/OpenFOAM-4.0/etc/bashrc
you need to replace it with:
Code:
alias of40='. $HOME/OpenFOAM/OpenFOAM-4.0/etc/bashrc'
If you still have a similar line for OpenFOAM 2.1.1, you need to do something similar as well.

Then save the file "~/.bashrc" with this changed.

Then start a new terminal window/tab. Now you can start up Helyx-OS.
Next time you need to use OpenFOAM 4.0 or 2.1.1, you can activate it by running the respective alias, for example, by running:
Code:
of40
For more details: https://openfoamwiki.net/index.php/I...ment_Variables
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
helyx-os, installation problem, openfoam4.0


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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
OpenFOAM 1.7 installation on Redhat linux maxims OpenFOAM Installation 2 November 30, 2012 05:29
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux Indrajit OpenFOAM Installation 1 April 1, 2012 05:39
OpenFOAM 1.7.1 installation problem on Fedora 14 armonica OpenFOAM Installation 16 March 31, 2011 14:16
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 superfxfund OpenFOAM Installation 3 November 11, 2010 03:15


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