|
[Sponsors] |
[OpenFOAM.com] 3.0+ on Windows ---- How do I run tutorials? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 17, 2016, 18:39 |
3.0+ on Windows ---- How do I run tutorials?
|
#1 |
New Member
Kai
Join Date: Mar 2014
Posts: 5
Rep Power: 12 |
Hello all
I am a novice OpenFoam user, used it a couple of times running on linux VMs in the past and am familiar with how to navigate around files in linux environment. I recently tried to run the newly released OpenFOAM in Windows by ESI, downloaded from here: http://www.openfoam.com/releases/install-windows.php First of all, installation wasn't smooth but thanks to the post by pgh here: http://www.cfd-online.com/Forums/ope...m-windows.html I manage to install successfully. Now, my question is, I am confused with the whole workingDir scene in this version of OpenFoam. I understand it is running OF in another virtual machine which explains why I cannot navigate the files in my windows, but I cannot seem to understand how to 'copy tutorial files to workingDir', which is stated from the user guide document. Can someone please help me on getting started with running OF? Running Windows 7 64bit, plenty of RAM and hard drive space, should not have any issues here, hardware virtualization and the powershell thing is all good, installation successful. Thank you very much. |
|
January 21, 2016, 06:26 |
|
#2 |
New Member
Kai
Join Date: Mar 2014
Posts: 5
Rep Power: 12 |
anyone can help explain the whole structure of workingDir ?
|
|
February 3, 2016, 11:42 |
Similar problem with tutorials
|
#3 |
Member
Join Date: Feb 2016
Posts: 32
Rep Power: 10 |
Hi everyone,
I'm new in using OpenFoam and have a similar problem...How can I find the tutorials? Thank you! |
|
March 3, 2016, 06:55 |
openfoam3.0+ installation
|
#4 |
New Member
kalyan chakravarthi
Join Date: Jul 2014
Posts: 1
Rep Power: 0 |
I have installed openfoam 3+ , but after that i cannot able to see the tutorials in the openfiam. can u please suggest how to get those tutorials and i am basic learner
|
|
March 7, 2016, 04:41 |
|
#5 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Openfoam installation is in /opt/OpenFOAM
The location of tutorial can be found by running the command echo $FOAM_TUTORIAL You need to copy tutorial in workingDir folder . Go inside the workingDir and then you can use following command to copy tutorial. cp -ar $FOAM_TUTORIALS . You can then run openfoam tutorial from terminal |
|
October 19, 2016, 06:31 |
|
#6 | |
New Member
Joakim
Join Date: Jul 2015
Posts: 14
Rep Power: 11 |
Quote:
I use Windows 7 and the release OpenFOAM.v1606. I've manage to copy the file to my workingDir by using $FOAM_TUTORIAL and I can run the tutorials but my question is how to I edit the settings of each case? I know that the simple answer is "in a texteditor" but the problem is I can't find the files in Windows environment?. Do I need to transfer the files from Linux to Windows to be able to edit the settings? I've checked the folder where OpenFOAM is installed at C:/ and there are no file of relevance to my problem there. The path in the Linux-environment is: /op/OpenFOAM/OpenFOAMv.1606/tutorials.... but how do I find it in Windows? I've worked with Linux before but this is the first time I use a Virtual Machine. |
||
October 19, 2016, 07:35 |
|
#7 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Hi Joxen
Note that C:\User\joxen (Assuming joxen is your username ) is mounted drive which is same as workingDir from command prompt . Any folder which is there in workingDir , will be visible inside C:\User\joxen .. Thanks Pawan |
|
November 5, 2016, 16:22 |
|
#8 |
New Member
Francesco Saverio Ciani
Join Date: Oct 2016
Posts: 7
Rep Power: 10 |
Hi,
I am using windows 10 with the release OpenFOAM.v1606, and maybe I am having the same problem. I am trying to search the folders of the tutorials but I cannot find it in the c:/ of windows. I have tried to type this commands to see directly from openfoam which is the path: [ofuser@default ~]$ cd $FOAM_TUTORIALS [ofuser@default tutorials]$ pwd /opt/OpenFOAM/OpenFOAM-v1606+/tutorials My problem is that I cannot find this path in my computer. It is the first time that I am using this program and maybe the explanation is that I don't have to search this folder on windows but on the virtual machine. Anyone has solved the problem? thanks in advance |
|
November 6, 2016, 16:17 |
|
#9 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Hi
This path "/opt/OpenFOAM/OpenFOAM-v1606+/tutorials" can only be accessed via command line from shell of container . If you want to locate in your c drive , you need to copy this in your c drive . Do following from your container's bash shell cd workingDir cp -ar $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity . It will copy the cavity tutorial inside c\user\francis . assuming francis is your user name |
|
November 6, 2016, 19:11 |
A suggestion...
|
#10 |
Member
Join Date: Feb 2016
Posts: 32
Rep Power: 10 |
Hi!
OpenFOAM has been written for Linux. I tried to use it on Windows but I had lots of problems and finally I decided to install it on Ubuntu. So my suggestion is to use it on Ubuntu, it is simplier.
__________________
Omnia per ipsum facta sunt, et sine ipso factum est nihil, quod factum est |
|
November 10, 2016, 07:37 |
|
#11 |
New Member
Derek Neilson
Join Date: Nov 2016
Posts: 1
Rep Power: 0 |
I was nearing the same point. I uninstalled the ESI OpenFoam package and tried the CFD Support OpenFoam package instead. It seems much easier to use, and comes with Midnight Commander which is very helpful. I tried the ESI-Docker-Oracle VM combo for two weeks, and learned ALOT, but it was just too hard to follow along and learn.
|
|
July 2, 2017, 08:19 |
|
#12 |
New Member
anonymous
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
hello sir , i installed openfoam 1612+ on windows , i am absolute beginner in openfoam when i am trying to copy tutorial by command , openfoam terminal says that cp: cannot stat `TUTORIALS': No such file or directory
also in C:\Program Files (x86)\ESI\OpenFOAM\1612\Windows\Scripts , there is of_v1612plus_centos66.tar file , it has opt/OpenFoam folder but not any folder named tutorials. i reinstall v1612+ .. three times but same problem ... C:\WINDOWS\system32>"C:\Program Files (x86)\ESI\OpenFOAM\1612\Windows\Scripts\of_start_c ontainer.exe" -Arguments "C:\Program Files\Docker Toolbox\;C:\Program Files\Git\bin" Starting "default"... Machine "default" is already running. of_plus_1612 [ofuser@default ~]$ mkdir -p $FOAM RUN [ofuser@default ~]$ cp -r $FOAM TUTORIALS $FOAM RUN cp: cannot stat `TUTORIALS': No such file or directory [ofuser@default ~]$ |
|
July 2, 2017, 13:15 |
|
#13 | |
New Member
anonymous
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
Quote:
also in C:\Program Files (x86)\ESI\OpenFOAM\1612\Windows\Scripts , there is of_v1612plus_centos66.tar file , it has opt/OpenFoam folder but not any folder named tutorials. i reinstall v1612+ .. three times but same problem ... C:\WINDOWS\system32>"C:\Program Files (x86)\ESI\OpenFOAM\1612\Windows\Scripts\of_start_c ontainer.exe" -Arguments "C:\Program Files\Docker Toolbox\;C:\Program Files\Git\bin" Starting "default"... Machine "default" is already running. of_plus_1612 [ofuser@default ~]$ mkdir -p $FOAM RUN [ofuser@default ~]$ cp -r $FOAM TUTORIALS $FOAM RUN cp: cannot stat `TUTORIALS': No such file or directory [ofuser@default ~]$ |
||
July 3, 2017, 08:30 |
|
#14 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Follow these steps
cd workingDir cp -ar $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity . cd cavity blockMesh icoFoam |
|
July 3, 2017, 09:28 |
|
#15 | |
Member
Join Date: May 2017
Posts: 47
Rep Power: 9 |
Quote:
|
||
July 3, 2017, 11:39 |
|
#16 |
New Member
anonymous
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
||
July 3, 2017, 11:42 |
|
#17 |
New Member
anonymous
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
||
September 6, 2017, 10:58 |
|
#18 |
Member
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12 |
I have the same problem!
I have followed the procedure explained in openfoam foundation, for windows. And I had no problem in installing it. But, I dont' know where it is placed in windows! I have tried to run an example (pitzDaily). Once it has concluded I run a search throughout the computer. And apparently I have found it! it is placed in C:users\<myname>\AppData\Local\lxss\home\<myUserIn Linux>\OpenFoam\<user>-4.1\run Thus, I went there, I found the case, with all the folders of the diferent timesteps. And inside the run I placed another case. But, If i check it from the bash, when I try to see all cases inside run, there is only pitzDaily... It is so frustrating! Someone could help me of how to copy cases into my workingDir? Thank you in advance |
|
September 6, 2017, 11:28 |
|
#19 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Hi
Which operating system are you using i.e Windows7 or Windows 10 and which OpenFOAM version are you installing . ? |
|
September 7, 2017, 03:30 |
|
#20 |
Member
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12 |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run other tutorials included in OpenFOAM? | BhaluBear | OpenFOAM Running, Solving & CFD | 8 | May 21, 2016 11:19 |
How to run the tutorials' problems? | ranasa | OpenFOAM Running, Solving & CFD | 2 | July 24, 2014 16:10 |
How to run su2 on windows and use multicore | hedley | SU2 | 1 | June 24, 2014 21:44 |
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 |
Help, can't stop solver run...Windows OS | ben akih | CFX | 2 | November 13, 2006 11:05 |