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.com] v1606+ Installation of recent version on Windows 7 (https://www.cfd-online.com/Forums/openfoam-installation/174452-v1606-installation-recent-version-windows-7-a.html)

A CFD free user July 12, 2016 15:30

v1606+ Installation of recent version on Windows 7
 
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

pgh July 12, 2016 16:02

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

A CFD free user July 12, 2016 17:42

1 Attachment(s)
Quote:

Originally Posted by pgh (Post 609130)
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

pgh July 13, 2016 02:46

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

A CFD free user July 13, 2016 03:13

1 Attachment(s)
Quote:

Originally Posted by pgh (Post 609168)
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.

pgh July 13, 2016 04:33

Hi Azarafza
Which version of Windows are you using Windows 7 or 10 ?

A CFD free user July 13, 2016 05:28

1 Attachment(s)
Quote:

Originally Posted by pgh (Post 609179)
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

TomKopp July 14, 2016 02:57

"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

A CFD free user July 14, 2016 03:53

1 Attachment(s)
Quote:

Originally Posted by TomKopp (Post 609366)
"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

pgh July 14, 2016 04:11

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 .

A CFD free user July 14, 2016 04:48

1 Attachment(s)
Quote:

Originally Posted by pgh (Post 609383)
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.

pgh July 14, 2016 05:11

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 .

A CFD free user July 14, 2016 05:54

Quote:

Originally Posted by pgh (Post 609394)
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.

pgh July 14, 2016 06:19

Hi .. I am not a window guy :) .. Anyhow i use gvim editor to edit


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