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

[OpenFOAM.com] OF2112 user environment variables and alias

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By night-hawk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2022, 05:48
Default OF2112 user environment variables and alias
  #1
Member
 
Join Date: Apr 2021
Posts: 41
Rep Power: 5
AlxB is on a distinguished road
Hello,
I have installed OF2112-default on Linux Ubuntu 20.04.

Doing echo $WM_PROJECT_DIR returns the following:
Code:
$ echo $WM_PROJECT_DIR
 /usr/share/openfoam
However echo $WM_PROJECT_USER_DIR and echo $FOAM_RUN do not return anything.

How to set $WM_PROJECT_USER_DIR and $FOAM_RUN directories ?

How to set an alias such as run='cd ${FOAM_RUN}' ?

Thank you in advance for your help
AlxB is offline   Reply With Quote

Old   August 21, 2022, 02:07
Default
  #2
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5
night-hawk is on a distinguished road
You need to create it.
Use
mkdir -p $FOAM_RUN
AlxB likes this.
night-hawk 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
[OpenFOAM.org] Openfoam 5 on centos 7, environment variables issue mahmoodn OpenFOAM Installation 2 October 6, 2020 09:52
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 20:15
Multiple OpenFOAM versions on one machine eric.m.tridas OpenFOAM Installation 19 February 15, 2014 12:09
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


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