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

Load openFoam Environment automatically

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2019, 05:00
Default Load openFoam Environment automatically
New Member
Titi Sui
Join Date: Oct 2016
Posts: 2
Rep Power: 0
ttsui is on a distinguished road
Dear foamers,

I added an alias to the bashrc file before to active the openfoam environment, using the below.

echo "alias OFv1806='. $HOME/OpenFOAM/OpenFOAM-v1806/etc/bashrc'" >> $HOME/.bashrc

However, when I re-start the computer, and open a new terminal, I have to type PFv1806 again to active the openfoam environment.

I wonder if there is ways to active it automatically? anyone helps?

ttsui is offline   Reply With Quote


automatically, environement, load

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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
New CastNet Release: GUI Environment for OpenFOAM and CalculiX MartinB OpenFOAM Announcements from Other Sources 0 January 13, 2017 10:27
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 19:20
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Release load in OpenFOAM Maimouna OpenFOAM 4 November 5, 2013 06:38

All times are GMT -4. The time now is 19:03.