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

Load openFoam Environment automatically

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2019, 06:00
Default Load openFoam Environment automatically
  #1
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?


Thanks
ttsui
ttsui is offline   Reply With Quote

Reply

Tags
automatically, environement, load


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


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