|
[Sponsors] |
July 24, 2019, 14:14 |
Can't find files on Windows
|
#1 |
New Member
Deutschland
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
Hi ,
I just started using OpenFoam last week for my bachelor thesis and I have a big problem with the installation. I'm not really experienced in installing such software, it's more or less the first time and I hope you can help me, I'm an absolute beginner. My computer runs on Windows 7 and I followed the installation instructions "Windows binary". My problem is, that i can't find the files on windows, they should be somewhere "home/users/...", but there is nothing, I think it didn't work to copy from the docker, but I don't know how to fix it What I did (execute as admin) : 1) Installation 2) Start "OF-Env_Create" which was succesful 3) Start "OpenFOAM_Start" : - created a workingDir (which is empty, when I try to copy the tutorial in here, there is an error "cp: cannot create directory`./tutorials' :Permission denied" - cd $FOAM_RUN cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity . cd cavity this was kind of succesfull, i could execute blockMesh, but when I tried to visualize it with "paraFoam" (Paraview is installed, do I have to change some settings?), it's not working I googled and tried a lot, watched YT-videos, but it does not help and it's just so frustrating Hope you can help me to fix my problem. Thanks a lot in advance |
|
July 25, 2019, 19:57 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
July 27, 2019, 06:11 |
|
#3 |
New Member
Deutschland
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
I followed the instructions in the Readme :
https://www.openfoam.com/download/tx...adme_v1906.txt I want to use OpenFoam for a Multiphase Flow: https://www.openfoam.com/documentati...p#x14-680004.1 Is the installation for Windows 10 less complicated? Maybe I could have a friend's laptop.. And have you heard of butterfly (for GUI)? if yes, do you know if it's working for a multiphase flow? Thank you! ---- Maybe I found the issue. I took a screenshot from the Virtual Box settings and it's not like in the "OF_Windows_Guid_v1906"-pdf (see image below). Do you have an idea how i can fix it? Last edited by wyldckat; July 27, 2019 at 10:16. Reason: merged posts a few hours apart |
|
July 27, 2019, 10:27 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
If you prefer to keep using the Docker based container, please run the following commands within the OpenFOAM terminal: Code:
echo $FOAM_RUN mkdir -p $FOAM_RUN cd $FOAM_RUN pwd touch test.txt
I'm not familiar with the details of how the Docker based installation is working on OpenFOAM-v1906, but if starting the terminal it does not give any error messages, then my guess is that this should not be a problem. That said, at the end of the README file you gave a link for, it is indicating that your Windows user name should not have spaces in it, otherwise this installation will not work properly. Quote:
If you are still using Windows 7, may I suggest that you try instead blueCFD-Core 2017-2? It's a port of OpenFOAM for Windows: http://bluecfd.github.io/Core/ - I'm responsible for the blueCFD-Core project and it should be a lot easier to install and use. Furthermore, it should work well with the Butterfly GUI. |
||
July 28, 2019, 12:36 |
|
#5 | |
New Member
Deutschland
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
Quote:
I tried your instructions and attached the screenshot. In my windows user name is no space, so that should be fine. Oh I haven't heard of blueCFD-Core 2017-2. So if OpenFoam is not working, I will definately try this, thank you. Does it support multiphase flows? Unfortunately I'm not sure then if butterfly is right for me, when it does not support multiphase flows. Thanks a lot for your help! |
||
July 28, 2019, 16:39 |
|
#6 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
|
|||
July 30, 2019, 06:13 |
|
#7 |
New Member
Deutschland
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
hmm, i tried to follow the instructions, but it's the same problem: i cannot copy the files into workingDir
Really don't know, why.. ---- hmmm, i checked again the folders, and after the new installation the tutorial folder is missing.. ---- now, i have copied the tutorials, but i cannot copy them to workingDir, same problem ---- well, i tried to copy in "su" (root) and it seems it worked. But when I now try to execute I got this "Fatal error". Sorry for spamming Last edited by wyldckat; August 3, 2019 at 15:20. Reason: Merged posts a few minutes apart |
|
August 3, 2019, 15:50 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Run these commands:
Code:
cd $FOAM_RUN cp -r $FOAM_TUTORIALS ./ cd tutorials/incompressible/icoFoam/cavity/cavity blockMesh icoFoam From what I can figure out, the "workingDir" folder is somehow restricted from doing anything, which is why it's not working for you.
__________________
|
|
August 3, 2019, 17:05 |
|
#9 | |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 |
Quote:
Code:
mkdir $FOAM_RUN |
||
August 3, 2019, 17:57 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I didn't mention that because in abrueck109's screenshots, the folder already existed and I had also stated that command in a previous post above...
|
|
August 3, 2019, 18:04 |
|
#11 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 |
||
Tags |
installation, openfoam, windows7 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] .dat files Windows vs Linux | mjforsteruk | ParaView | 2 | January 7, 2013 16:37 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 07:32 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |