CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] Openfoam V2.1.1

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

Like Tree1Likes
  • 1 Post By tas38

LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2021, 13:07
Default Openfoam V2.1.1
New Member
Join Date: Dec 2020
Posts: 15
Rep Power: 2
ulugbey is on a distinguished road

I install Openfoam v2.1.1 in Ubuntu 18.04 following the commands described here until step 12.
Then paraview is installed using the commands:
sudo apt update
sudo apt install paraview
Then I am able to run Openfoam successfully. But whenever I close the terminal or close the Ubuntu without saving, Openfoam commands donīt work. And for example it says that I need to install Openfoam to be able to run blockMesh.

What is the reason of that? How can I solve this problem?

Best regards
ulugbey is offline   Reply With Quote

Old   March 15, 2021, 13:20
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 207
Rep Power: 15
tas38 is on a distinguished road
You need to add an alias to your bashrc. Per your link...

echo "alias of211='source \$HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc $FOAM_SETTINGS'" >> $HOME/.bashrc
Then, when you start a new terminal window run...

and the OpenFOAM applications/utilities should be available
ulugbey likes this.
tas38 is offline   Reply With Quote



Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[] Installation of Openfoam v2.1.1 ulugbey OpenFOAM Installation 1 February 22, 2021 13:50
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 19:21
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07

All times are GMT -4. The time now is 16:00.