|
[Sponsors] |
[OpenFOAM.com] Permanent sourcing of OpenFOAM 19.06 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 14, 2019, 11:44 |
Permanent sourcing of OpenFOAM 19.06
|
#1 |
Member
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8 |
HI all,
I have just successfully installed OpenFOAM 19.06 (finally) as well as building paraview successfully. One curious thing keeps happening. It seems as if my souring of OpenFOAM v19.06 is only temporary. I have previously installed and used OpenFOAM verision 7 (openfoam.org). If i open a terminal from my desktop and change directory to $FOAM_TUTORIALS i automatically move to /opt/openfoam7/tutorials where i installed OpenFOAM 7. Sourcing OpenFOAM to source ~/OpenFOAM/OpenFOAM-v1906/etc/bashrc makes me able to change directory through $FOAM_TUTORIALS to the $HOME directory where I have installed OpenFOAM v19.06. If i then close the terminal, and open it again, the source leads me back to tutorials from OpenFOAM version 7.. Is there a way that i can permanently run OpenFOAM version 19.06? Thank you! |
|
October 15, 2019, 03:14 |
Solved!
|
#2 |
Member
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8 |
Hi all,
So I figured out the problem, pretty stupid one at that... As i did before, sourcing the OpenFOAM version 19.06 source $HOME/OpenFOAM/OpenFOAM-v1906/etc/bashrc i just forgot to run the following command: source $HOME/.bashrc The cd $FOAM_TUTORIALS now takes me to the correct directory. /Rasmus |
|
|
|
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 Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 08:18 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |