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

[OpenFOAM.org] Openfoam V2.1.1

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

Like Tree1Likes
  • 1 Post By tas38

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2021, 14:07
Default Openfoam V2.1.1
  #1
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Hi,

I install Openfoam v2.1.1 in Ubuntu 18.04 following the commands described here until step 12. https://openfoamwiki.net/index.php/I...u#Ubuntu_18.04
Then paraview is installed using the commands:
Code:
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, 14:20
Default
  #2
Senior Member
 
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 219
Rep Power: 18
tas38 is on a distinguished road
You need to add an alias to your bashrc. Per your link...

Code:
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...

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

Reply

Tags
openfoam

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
[OpenFOAM.org] Installation of Openfoam v2.1.1 ulugbey OpenFOAM Installation 1 February 22, 2021 14:50
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 05:01.