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

[OpenFOAM.org] I can't see openfoam directory in home

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2019, 12:28
Default I can't see openfoam directory in home
  #1
New Member
 
Piotr Doroszko
Join Date: Jul 2019
Posts: 2
Rep Power: 0
Piotrekdoro is on a distinguished road
Hi, I'm first time Ubuntu user and I have a question which probably will sound pretty stupid.

I've dual booted Ubuntu 18.04.2 LTS on my laptop alongside Windows 10, then I've followed instructions from: https://openfoam.org/download/6-ubuntu/
It seems everything went well. I've added ". /opt/openfoam6/etc/bashrc" at the end of a text file and saved. I've typed:

Code:
source /opt/openfoam6/etc/bashrc
If I understand correctly I should be able to see a directory in home with openfoam files but there is nothing there. Do you have any advice as to where I went wrong?

The problem boils down to the fact that I can't find an application which I think I've installed correctly and my incompetence with the new OS makes it difficult to perform basic tasks.
Piotrekdoro is offline   Reply With Quote

Old   July 5, 2019, 13:48
Default
  #2
New Member
 
Piotr Doroszko
Join Date: Jul 2019
Posts: 2
Rep Power: 0
Piotrekdoro is on a distinguished road
Ok, I've figured it out. Sorry for bothering you and littering the forum with unnecessary threads.
Piotrekdoro is offline   Reply With Quote

Old   July 9, 2019, 18:33
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Piotrekdoro,
Quote:
Originally Posted by Piotrekdoro View Post
Ok, I've figured it out. Sorry for bothering you and littering the forum with unnecessary threads.
No problem. It has happened to me in the past as well, a couple of weeks ago, for a commercial software, where after looking for the license server installer for 30 minutes and not finding it, I started writing an email to the support team of the software and half-way through writing, did I happen to go look for the thing again and finally see the freaking tab on the webpage where the download link was... I was so annoyed at the thing... at last I ended up not sending the email and not having to wait for an answer.

Anyway, if in the future you end up finding a solution to a question you made, please write the answer you finally found

For others reading this thread, the idea here is that when OpenFOAM is installed in "/opt", this means that all installed files for it are placed there and not in the "/home" folder.
However, if you follow the User Guides, they will tell you a sequence of commands that will indeed create a new folder in your home folder, so that you can place a copy of the tutorial(s) from "/opt" onto your home folder. That way you work on a copy, instead of working on the original files.

As for knowing if the installation is working or not, in the instructions page that you follow, you should be able to find instructions on what to do next after installation. In the link provided, the last section at https://openfoam.org/download/6-ubuntu/ - does give the instructions needed. Although make sure you didn't skip anything, because it's very easy to accidentally scroll by critical steps.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 20, 2020, 01:34
Default
  #4
New Member
 
Srijit Sen
Join Date: Jul 2018
Posts: 3
Rep Power: 8
srijit is on a distinguished road
Quote:
Originally Posted by Piotrekdoro View Post
Hi, I'm first time Ubuntu user and I have a question which probably will sound pretty stupid.

I've dual booted Ubuntu 18.04.2 LTS on my laptop alongside Windows 10, then I've followed instructions from: https://openfoam.org/download/6-ubuntu/
It seems everything went well. I've added ". /opt/openfoam6/etc/bashrc" at the end of a text file and saved. I've typed:

Code:
source /opt/openfoam6/etc/bashrc
If I understand correctly I should be able to see a directory in home with openfoam files but there is nothing there. Do you have any advice as to where I went wrong?

The problem boils down to the fact that I can't find an application which I think I've installed correctly and my incompetence with the new OS makes it difficult to perform basic tasks.
It can be done in 2 steps
First step: cd ~
Second step: mkdir -p $FOAM_RUN
You will find the required directory
srijit is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 deug mode FMurad OpenFOAM Installation 4 August 25, 2019 08:04
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43


All times are GMT -4. The time now is 21:16.