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

[OpenFOAM.org] OpenFOAM-5.x installation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sourav0921

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2019, 09:39
Default OpenFOAM-5.x installation
  #1
New Member
 
SOURAV GANGULI
Join Date: Dec 2018
Posts: 11
Rep Power: 7
sourav0921 is on a distinguished road
Hi,


I am trying to install openfoam-5.x in server. It is installed successfully. But my doubt is is there a way toavoid the command "of5x" everytime when am I trying to run the application? At least please ensure me whether is it possible or not.
sourav0921 is offline   Reply With Quote

Old   June 7, 2019, 17:25
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
Quick answer: The alias "of5x" is just to make it easier to be able to use other versions/variants/forks of OpenFOAM.
If you only want to always use a specific version, then you can edit the file "~/.bashrc" and remove the alias definition and replace with what it has within the quotes. For example, change this:
Code:
alias of5x='source $HOME/OpenFOAM/OpenFOAM-5.x/etc/bashrc  WM_MPLIB=OPENMPI FOAMY_HEX_MESH=yes'
to this:
Code:
source $HOME/OpenFOAM/OpenFOAM-5.x/etc/bashrc  WM_MPLIB=OPENMPI FOAMY_HEX_MESH=yes
Notice that the quote characters ' were also removed.


Long answer: It's explained here: https://openfoamwiki.net/index.php/I...nFOAM_versions
__________________
wyldckat is offline   Reply With Quote

Old   July 1, 2019, 08:28
Default
  #3
New Member
 
SOURAV GANGULI
Join Date: Dec 2018
Posts: 11
Rep Power: 7
sourav0921 is on a distinguished road
Hi wyldckat,


It worked. Thanks for your reply.
wyldckat likes this.
sourav0921 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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
[OpenFOAM.org] Installation notes: OpenFOAM 2.3.x (git repo) on OSX 10.9 opedrofunk OpenFOAM Installation 7 July 1, 2015 13:51
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43
Trouble shooting about OpenFOAM installation in Ubuntu 12.04 Nait OpenFOAM Installation 2 December 12, 2012 10:20
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 superfxfund OpenFOAM Installation 3 November 11, 2010 02:15


All times are GMT -4. The time now is 09:54.