|
[Sponsors] |
[OpenFOAM.com] Installation problem with OpenFOAM-v1906 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2019, 13:33 |
Installation problem with OpenFOAM-v1906
|
#1 |
New Member
Ziqu Cao
Join Date: Aug 2019
Location: The University of Glasgow
Posts: 10
Rep Power: 0 |
Hi, I'm a beginner of OpenFOAM and I got a problem with the installation of OpenFOAM-v1906
The operation system I uses is WINDOWS10 The problem is I typed gedit ~/.bashrc and add “source OpenFOAM/OpenFOAM-v1906/etc/bashrc” into the last line as said in the tutorial. Then I shut down Ubuntu and restart it. It shows that: -bash:OpenFOAM/OpenFOAM=v1906/etc /bashrc:no such file or directory SO I wonder how to deal with such thing. Thanks |
|
August 1, 2019, 22:55 |
Double Check Typing?
|
#2 |
Member
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 12 |
Hi,
Have you cut and pasted in the lines below? Code:
“source OpenFOAM/OpenFOAM-v1906/etc/bashrc” into the last line as said in the tutorial. <snip> -bash:OpenFOAM/OpenFOAM=v1906/etc /bashrc:no such file or directory Could that be the problem? -pete |
|
August 2, 2019, 04:29 |
|
#3 |
New Member
Ziqu Cao
Join Date: Aug 2019
Location: The University of Glasgow
Posts: 10
Rep Power: 0 |
sorry, I just typed it and made some mistake.
the code I added in .bashrc is : source OpenFOAM/OpenFOAM-v1906/etc/bashrc the Ubuntu gave a response as -bash: OpenFOAM/OpenFOAM-v1906/etc/bashrc: No such file or directory Do you know why such thing occur? |
|
August 2, 2019, 17:40 |
|
#4 |
Member
Utkan Caliskan
Join Date: Aug 2014
Posts: 42
Rep Power: 11 |
The path is wrong. It should be;
Code:
source $HOME/OpenFOAM/OpenFOAM-v1906/etc/bashrc |
|
August 2, 2019, 21:06 |
Correct Path
|
#5 |
Member
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 12 |
dscian beat me to the punch: yes rour path is incorrect and you need to specify the full path.
|
|
August 21, 2019, 09:01 |
|
#6 |
New Member
Ziqu Cao
Join Date: Aug 2019
Location: The University of Glasgow
Posts: 10
Rep Power: 0 |
Thank you very much
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
problem with parmetis-3.1.1 installation for openfoam 1.6-ext | achyutan | OpenFOAM Installation | 11 | October 26, 2012 18:18 |
Openfoam installation problem | jose soto | OpenFOAM Installation | 4 | August 9, 2011 01:29 |
OpenFOAM 1.7.0 installation problem | stevek | OpenFOAM | 14 | December 1, 2010 15:30 |
Problem in installation of OpenFOAM | sachin | OpenFOAM Installation | 7 | January 22, 2008 01:40 |