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

[OpenFOAM.com] Installation problem with OpenFOAM-v1906

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By dscian

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2019, 13:33
Default Installation problem with OpenFOAM-v1906
  #1
New Member
 
Ziqu Cao
Join Date: Aug 2019
Location: The University of Glasgow
Posts: 10
Rep Power: 0
Kevin Cao is on a distinguished road
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
Kevin Cao is offline   Reply With Quote

Old   August 1, 2019, 22:55
Default Double Check Typing?
  #2
Member
 
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 11
pbrady2013 is on a distinguished road
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
It looks like on one line there is a "-" and on the later a "=" as well as a " " (space).


Could that be the problem?


-pete
pbrady2013 is offline   Reply With Quote

Old   August 2, 2019, 04:29
Default
  #3
New Member
 
Ziqu Cao
Join Date: Aug 2019
Location: The University of Glasgow
Posts: 10
Rep Power: 0
Kevin Cao is on a distinguished road
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?
Kevin Cao is offline   Reply With Quote

Old   August 2, 2019, 17:40
Default
  #4
Member
 
Utkan Caliskan
Join Date: Aug 2014
Posts: 42
Rep Power: 11
dscian is on a distinguished road
The path is wrong. It should be;


Code:
source $HOME/OpenFOAM/OpenFOAM-v1906/etc/bashrc
gcengineer and pbrady2013 like this.
dscian is offline   Reply With Quote

Old   August 2, 2019, 21:06
Default Correct Path
  #5
Member
 
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 11
pbrady2013 is on a distinguished road
dscian beat me to the punch: yes rour path is incorrect and you need to specify the full path.
pbrady2013 is offline   Reply With Quote

Old   August 21, 2019, 09:01
Default
  #6
New Member
 
Ziqu Cao
Join Date: Aug 2019
Location: The University of Glasgow
Posts: 10
Rep Power: 0
Kevin Cao is on a distinguished road
Thank you very much
Kevin Cao 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
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


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