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

[OpenFOAM plus] [3.0+] on Windows ---- How do I run tutorials?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 17, 2016, 18:39
Default [OpenFOAM plus] [3.0+] on Windows ---- How do I run tutorials?
  #1
New Member
 
Kai
Join Date: Mar 2014
Posts: 5
Rep Power: 4
ssboss is on a distinguished road
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.
ssboss is offline   Reply With Quote

Old   January 21, 2016, 06:26
Default
  #2
New Member
 
Kai
Join Date: Mar 2014
Posts: 5
Rep Power: 4
ssboss is on a distinguished road
anyone can help explain the whole structure of workingDir ?
ssboss is offline   Reply With Quote

Old   February 3, 2016, 11:42
Default Similar problem with tutorials
  #3
New Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 23
Rep Power: 2
Jack_Landis is on a distinguished road
Hi everyone,

I'm new in using OpenFoam and have a similar problem...How can I find the tutorials?

Thank you!
Jack_Landis is offline   Reply With Quote

Old   March 3, 2016, 06:55
Default openfoam3.0+ installation
  #4
New Member
 
kalyan chakravarthi
Join Date: Jul 2014
Posts: 1
Rep Power: 0
chakram is on a distinguished road
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
chakram is offline   Reply With Quote

Old   March 7, 2016, 04:41
Default
  #5
pgh
Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 90
Rep Power: 3
pgh is on a distinguished road
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
pgh is offline   Reply With Quote

Old   October 19, 2016, 05:31
Default
  #6
New Member
 
Joakim
Join Date: Jul 2015
Posts: 14
Rep Power: 3
joxen is on a distinguished road
Quote:
Originally Posted by pgh View Post
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

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.
joxen is offline   Reply With Quote

Old   October 19, 2016, 06:35
Default
  #7
pgh
Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 90
Rep Power: 3
pgh is on a distinguished road
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
pgh is offline   Reply With Quote

Old   November 5, 2016, 16:22
Default
  #8
New Member
 
Francesco Saverio Ciani
Join Date: Oct 2016
Posts: 7
Rep Power: 2
ciaci88 is on a distinguished road
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
ciaci88 is offline   Reply With Quote

Old   November 6, 2016, 16:17
Default
  #9
pgh
Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 90
Rep Power: 3
pgh is on a distinguished road
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
pgh is offline   Reply With Quote

Old   November 6, 2016, 19:11
Default A suggestion...
  #10
New Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 23
Rep Power: 2
Jack_Landis is on a distinguished road
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 factu est


Jack_Landis is offline   Reply With Quote

Old   November 10, 2016, 07:37
Default
  #11
New Member
 
Derek Neilson
Join Date: Nov 2016
Posts: 1
Rep Power: 0
Derek is on a distinguished road
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.
Derek is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM plus] [v1606+] flag provided but not defined: --privileged tohagit OpenFOAM Installation 6 October 19, 2016 06:38
OpenFOAM on a windows run cluster jfournier OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 1 August 20, 2016 17:07
[OpenFOAM plus] [3.0+] for Windows - no shell prompt fisichel OpenFOAM Installation 11 June 17, 2016 15:20
[OpenFOAM plus] not even starting on Ubuntu 14.04 LTS jet_engine OpenFOAM Installation 0 May 4, 2016 07:20
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 06:25


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