CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Can't find openfoam directory, ubuntu in windows 10 (https://www.cfd-online.com/Forums/openfoam-installation/214293-cant-find-openfoam-directory-ubuntu-windows-10-a.html)

homebuildit January 26, 2019 14:41

Can't find openfoam directory, ubuntu in windows 10
 
Linux rookie here (a couple of simple pi builds). I'm following the openfoam user manual. Installed Ubuntu into Win10 from the MS app store. Solved connection issues by temporarily disabling AV/FW, then apt-get OF6 worked, downloaded a ton, then installed, then it looked like it installed successfully. I can't find the files or diectories.

I'm in the command line, ls doesnt show subfolders. So I mkdir a test folder and then ls does show the test folder but nothing else.

I'm hoping my problem is obvious to someone more experienced.

homebuildit January 26, 2019 15:22

EDIT: Ok making progress...

wyldckat January 27, 2019 15:08

Quick answer: Don't jump directly to section 2.1, please first read and go through the instructions given at the start of chapter 2: https://cfd.direct/openfoam/user-guide/v6-tutorials/

If the commands that rely on "$FOAM_RUN" do not work, then it's because the OpenFOAM shell environment was not activated, so make sure to first activate it by running:
Code:

source /opt/openfoam6/etc/bashrc
But given your most recent post, perhaps you've already figured this out on your own ;) So I'm leaving my answer here as well for others that might come through here asking the same question.


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