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

[OpenFOAM.com] v1606+ Installation of recent version on Windows 7

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2016, 15:30
Default v1606+ Installation of recent version on Windows 7
  #1
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Hi folks,
Today, I started to install OpenFOAM on Windows 7 pro using the link and guides provided in openFOAM official page. I did exactly the steps described there; however, when I want to start it I see no concrete output. I receive error when I launch "of_env_creater" as attached here. Besides, there is no any directory named "./opt/openfoam/tutorials/... as described everywhere for OpenFOAM tutorials folder. I wonder where the problem arises and how to figure it out.


Please, help me to get rid of the problem and do my first simulation by OpenFOAM. I am a pro Fluent User, and highly avid to change to OpenFOAM due to my PhD.

Many thanks, and any advice or comments would be highly appreciated.

Abouzar
__________________
Regard yours

Last edited by A CFD free user; July 12, 2016 at 17:45.
A CFD free user is offline   Reply With Quote

Old   July 12, 2016, 16:02
Default
  #2
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
Well the image attached is of fluent output .. Can you check it again ?
Also click on docker terminal tool box which will open docker terminal .
type command "docker images " in it . Let me know the output of it
. If possible take the snapshot of whole window.
Also check whether hardware virtualization is switched on as specified in
README file http://openfoam.com/download/txt/ope...dme_v1606+.txt
pgh is offline   Reply With Quote

Old   July 12, 2016, 17:42
Default
  #3
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Quote:
Originally Posted by pgh View Post
Well the image attached is of fluent output .. Can you check it again ?
Also click on docker terminal tool box which will open docker terminal .
type command "docker images " in it . Let me know the output of it
. If possible take the snapshot of whole window.
Also check whether hardware virtualization is switched on as specified in
README file http://openfoam.com/download/txt/ope...dme_v1606+.txt

Hi Pgh,

It seems that I made a mistake about the snapshot in the post above. So, accept my apology for that.
Regarding your requests, I downloaded the utility for showing my system virtualization status-first it was showing something different from what it should but after enabling it through BIOS, it says the correct message.

After getting some advice from Tom, I am able to see some improvement-I see the ./opt directory through Oracle VM and the three folders of the first tutorial as : 0, constant and system However, do not know how to further proceed.

I also did what you asked for and the snapshot of the attachment shows the output.

Thank you so much!
Abouzar
Attached Images
File Type: gif Capture.GIF (58.4 KB, 36 views)
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   July 13, 2016, 02:46
Default
  #4
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
Hi

Two things
1)Go through FAQ and you should be able to run tutorial http://openfoam.com/download/install-windows.php

2) After enabling hardware virtualization from BIOS, did you
reinstall openfoam . You and Tom are facing issue with environment variable
as I can see. It will be good to resolve this .
Can you check your environment variable i.e PATH and see whether docker toolbox path is included in it
pgh is offline   Reply With Quote

Old   July 13, 2016, 03:13
Default
  #5
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Quote:
Originally Posted by pgh View Post
Hi

Two things
1)Go through FAQ and you should be able to run tutorial http://openfoam.com/download/install-windows.php

2) After enabling hardware virtualization from BIOS, did you
reinstall openfoam . You and Tom are facing issue with environment variable
as I can see. It will be good to resolve this .
Can you check your environment variable i.e PATH and see whether docker toolbox path is included in it

Hi Pgh,
Thank you again.
Regarding the reinstallation, I enabled virtualization before installing OpenFOAM.

And about the environment variable, it seems that it is included in the right path. I attached a snapshot.

Please, note that Doker toolbox was installed in the following directory:

C:\Program Files\Docker Toolbox

which it agrees with the directory in the the path environment variable.
Attached Images
File Type: gif Capture3.GIF (130.5 KB, 26 views)
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   July 13, 2016, 04:33
Default
  #6
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
Hi Azarafza
Which version of Windows are you using Windows 7 or 10 ?
pgh is offline   Reply With Quote

Old   July 13, 2016, 05:28
Default
  #7
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Quote:
Originally Posted by pgh View Post
Hi Azarafza
Which version of Windows are you using Windows 7 or 10 ?

Hi Friend,
I am using windows 7 64 bit, Professional version.


And also a snapshot of error I receive in Oracle VM is attached when I type the blockMesh command, just for you knowledge!

Abouzar
Attached Images
File Type: gif Capture4.GIF (71.2 KB, 25 views)
__________________
Regard yours

Last edited by A CFD free user; July 13, 2016 at 09:33.
A CFD free user is offline   Reply With Quote

Old   July 14, 2016, 02:57
Default
  #8
New Member
 
Thomas K.
Join Date: Jan 2011
Posts: 15
Rep Power: 15
TomKopp is on a distinguished road
"C:\Program Files\Docker Toolbox" might be missing in variable PATH, not in DOCKER_TOOLBOX_INSTALL_PATH.

How to set the path and environment variables in Windows: http://www.computerhope.com/issues/ch000549.htm
TomKopp is offline   Reply With Quote

Old   July 14, 2016, 03:53
Default
  #9
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Quote:
Originally Posted by TomKopp View Post
"C:\Program Files\Docker Toolbox" might be missing in variable PATH, not in DOCKER_TOOLBOX_INSTALL_PATH.

How to set the path and environment variables in Windows: http://www.computerhope.com/issues/ch000549.htm

Hi Tom,

I already set the environment variable in "user variable". But I did it for the "system variables" as well.

After several try and error, I could run the cavity tutorial in OVM. But, now it seems that the ParaView is a problem! I have attached a snapshot of the error I receive when launching ParaView.


And as last question, OK I was able to run tutorial, but it is not possible to change the default values, to edit the values, say for example, BC or IBC in the simulation. What I can do is only to see the folders and tutorials and run it. I have not a clue but maybe the problem is due to my OVM-maybe it does not work properly for some reasons e.g. video card or etc.,

Do you have any advice or comments?

Thanks in advace
Attached Images
File Type: jpg Capture5.jpg (141.9 KB, 16 views)
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   July 14, 2016, 04:11
Default
  #10
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
Hi
It is more system related i.e your opengl driver may need to be updated .Try to download earlier version of Paraview say 4.4 and work with it .
pgh is offline   Reply With Quote

Old   July 14, 2016, 04:48
Default
  #11
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Quote:
Originally Posted by pgh View Post
Hi
It is more system related i.e your opengl driver may need to be updated .Try to download earlier version of Paraview say 4.4 and work with it .


Hi,

I tried to get the recent update for my Graphic card-GForce 310M, but unfortunately there is no any update for it! The last one relates to 2010.


Would you please give me some comments about my last question in the previous post regarding not to be able to do any edit in OVM-just seeing and running tutorials. Even I do not have a proper view or resolution of the VM.

How is possible to edit the values and run your own model while I am not able to change or edit any piece of data in OVM! See snapshot please.
Attached Images
File Type: gif Capture6.GIF (56.7 KB, 19 views)
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   July 14, 2016, 05:11
Default
  #12
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
Hi the snapshot show shared folder i.e C:\Users\Username .You can browser the files directly to that folder and edit it using any editor say gvim or word
In case you are trying to run tutorial at default location , it would not run because of permission issue. You need to copy the tutorial to your location i.e which snapshot
you have shown.
First copy tutorial in your workingDIr which is C:\Users\Username from ovm terminal
i.e cp -ar $FOAM_TUTORIALS . (note a dot is there at end of command)
You can then edit the files using vi editor which is there . Or good thing will be to install
some editor in your windows machine and the open it by clicking shortcut and browser the director C\Users .... and edit the case file as needed .
pgh is offline   Reply With Quote

Old   July 14, 2016, 05:54
Default
  #13
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Quote:
Originally Posted by pgh View Post
Hi the snapshot show shared folder i.e C:\Users\Username .You can browser the files directly to that folder and edit it using any editor say gvim or word
In case you are trying to run tutorial at default location , it would not run because of permission issue. You need to copy the tutorial to your location i.e which snapshot
you have shown.
First copy tutorial in your workingDIr which is C:\Users\Username from ovm terminal
i.e cp -ar $FOAM_TUTORIALS . (note a dot is there at end of command)
You can then edit the files using vi editor which is there . Or good thing will be to install
some editor in your windows machine and the open it by clicking shortcut and browser the director C\Users .... and edit the case file as needed .


Hi Pawan,


Thank you very very much for all helps and favors.

I got the whole idea at all. In fact I should have not expected to see and edit the whole performance in VM! What I can do with VM is to run the simulations. For editing, I need to use an editor to edit the content of the copied tutorial in "working directory-user/ and run it again with VM.


And also providing that piece of information about that dot "." at the end of the command saved the world! I did not notice to that before.
However, I can not grasp the use of it for the command!


Just a minor question:

which editor do you recommend for editing purpose?
I already have Notepad++, and using it for writing ,and editing UDF fluent.
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   July 14, 2016, 06:19
Default
  #14
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
Hi .. I am not a window guy .. Anyhow i use gvim editor to edit
pgh 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
ANSYS Student installation in Windows 8.1 zumanzi_011 ANSYS 1 March 17, 2016 14:22
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits cookcaptain OpenFOAM Installation 7 May 26, 2015 11:22
which windows operating system for multi-core system? Chris Lee Hardware 11 December 14, 2014 07:26
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
Recent thoughts- Fluent on Linux vs Windows jpo FLUENT 1 May 17, 2012 06:20


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