CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Installation ParaView for Windows version of openFOAM (https://www.cfd-online.com/Forums/paraview/164822-installation-paraview-windows-version-openfoam.html)

kasra karimi January 3, 2016 04:55

Installation ParaView for Windows version of openFOAM
 
Hello everybody
Im really new with the OpenFOAM, and i recently installed the Windows version of OpenFOAM, distributed by its the official website:
http://www.openfoam.com/products/openfoam-windows.php

but it does not consist ParaView as default. I tried to install paraview for windows but it seems openfoam doesnt still recognize it, in other hand i cant have access to the Linux environment to install it.


I would appreciate if anyone could help me how i should install paraview on this version

wyldckat January 3, 2016 10:07

Greetings Kasra Karimi and welcome to the forum!

I'll quote from the README file they have on their website: http://www.openfoam.com/products/txt...dme_v3.0.0.txt
Code:

--------------------------------------------
Working with OpenFOAM in the Working Folder:
--------------------------------------------
1) Please        note        paragraphs 2) and 3)  of the  Installation  Procedure.

2) The Working Folder is a shared folder with your username (C:\Users\$UserName)
  and its content will be available to the container.

3) Copy your case (tutorials, etc.) to the Working Folder C:\User\$UserName, and
  run OpenFOAM as normal from the command line.

4) Post-processing:
  i)  You will need to install    Paraview, as  mentioned at the start of this
      document.
  ii) On  simulation  completion,  create  a file  with  the suffix ".foam"
      (e.g "touch a.foam") inside case folder.
  iii) Launch  Paraview,  browse  the case folder  and open the file with suffix
      ".foam"  to start visualizing the case.

Best regards,
Bruno

kasra karimi January 3, 2016 19:50

problem solved
 
Quote:

Originally Posted by wyldckat (Post 579391)
Greetings Kasra Karimi and welcome to the forum!

I'll quote from the README file they have on their website: http://www.openfoam.com/products/txt...dme_v3.0.0.txt
Code:

--------------------------------------------
Working with OpenFOAM in the Working Folder:
--------------------------------------------
1) Please        note        paragraphs 2) and 3)  of the  Installation  Procedure.

2) The Working Folder is a shared folder with your username (C:\Users\$UserName)
  and its content will be available to the container.

3) Copy your case (tutorials, etc.) to the Working Folder C:\User\$UserName, and
  run OpenFOAM as normal from the command line.

4) Post-processing:
  i)  You will need to install    Paraview, as  mentioned at the start of this
      document.
  ii) On  simulation  completion,  create  a file  with  the suffix ".foam"
      (e.g "touch a.foam") inside case folder.
  iii) Launch  Paraview,  browse  the case folder  and open the file with suffix
      ".foam"  to start visualizing the case.

Best regards,
Bruno

thank you so much Dear Bruno for your answer, it was totally helpful,

(for other who have the same problem): as it says in READMe file, all you have to do is to copy tutorial files into workDir(it will appear in C:\Users\Username) folder and by creating a ".foam" file of the corresponding case, so now you can easily open it through windows version of paraview

Jack_Landis February 4, 2016 12:50

Can't understand
 
Hi everyone!

I'm new at using OpenFoam and can't understand the problem. I followed the readme and your suggestion but the program gives me an error and create nothing in Windows:

[ofuser@boot2docker ~]$ ls
$ FOAM_RUN OpenFOAM s workingDir
[ofuser@boot2docker ~]$ cp -r $FOAM_TUTORIALS $workingDir
cp: missing destination file operand after `/opt/OpenFOAM/OpenFOAM-v3.0+/tutorials'
Try `cp --help' for more information.

Can you help me please? :confused:

kasra karimi February 4, 2016 17:56

Quote:

Originally Posted by Jack_Landis (Post 583746)
Hi everyone!

I'm new at using OpenFoam and can't understand the problem. I followed the readme and your suggestion but the program gives me an error and create nothing in Windows:

[ofuser@boot2docker ~]$ ls
$ FOAM_RUN OpenFOAM s workingDir
[ofuser@boot2docker ~]$ cp -r $FOAM_TUTORIALS $workingDir
cp: missing destination file operand after `/opt/OpenFOAM/OpenFOAM-v3.0+/tutorials'
Try `cp --help' for more information.

Can you help me please? :confused:

Dear Jack

I think your problem is the same as mine. you should go to this website
http://www.paraview.org/download/
and download the paraView software for Windows and install it.
then in your case in openFoam, after making your mesh or finishing the run process, you should make a file which contains your case's informations by this command:
Code:

touch cavity(or any name you want).foam
then you should open the paraView in Windows by yourself separately and open that "cavity.foam" file.
that method worked for me and i hope it would be helpful for you.

but as a recommendation my friend, its much easier to work with openFoam in linux. "menotu" is a version based on ubunto 12.04 that has some versions of openfoam installed on it by default, which makes it much easier and its really easy to use.

Best Regards

dani_clos March 8, 2017 07:43

Access openfoam files with local drive in windows
 
Dear Kasra

I'm new with openFoam as well and I followed the steps up to this point. My doubt is how to access/transfer files from the virtual machine to my local drive so I can access it with Paraview.

Cheers,
Daniel

Jack_Landis March 9, 2017 03:42

I suggest you to work in ubuntu, it's way simplier! I tried to work in windows but then I abbandoned it for ubuntu

piu58 March 9, 2017 04:46

The OF version from CFD support works fine. You find it here
http://www.cfdsupport.com/install-op...r-windows.html

paraFoam is included, all works at the Windows file system.

I use it.

dani_clos March 10, 2017 04:07

Thanks piu58 I will try that

Thanks for your reply. :)

user_of_cfx May 11, 2017 09:33

1 Attachment(s)
Hi,

I installed Paraview for Windows and it appears to load fine, however I cannot see anything in my viewer, it's literally a back screen. For example, attached in this post is what I see when I load the can.ex2 tutorial. Literally black in the model viewer. I tried adjusting the camera angles, the opacity and the light, viewed surfaces, edges, points, all of these options show the same thing. Same for any other case I tried, including the cavity tutorial.

The variables appear to have been loaded fine and the variable ranges are in fact as expected, so it looks like a visualisation problem to me. Anyone else come across it? Have I missed something stupid?

Use of Linux is not an option for me so that's out the window.

Thanks.

user_of_cfx May 22, 2017 09:19

Ok figured it out, I had downloaded a RC1 version of 5.4. I uninstalled that and installed stable 5.3 which works fine. Anyone interested, I guess avoid 5.4 until it becomes stable too.

Cheers, Christa

Tweeks January 15, 2018 16:48

Blacks Screen = Known Bug w/Paraview v5.4 or not?
 
1 Attachment(s)
Has anyone else verified the buggy v5.4 "black screen" issue?

I'm running the docker container version of OpenFOAM.com's paraview, which IS v5.4, and which gives this useless black-window issue:

Attachment 60813

I don't know if it's a paraview bug.. a docker container issue.. a VM issue.. or what..

I'm going to try installing v5.3 outside the container and see what that gets me.

Tweeks

foadsf January 23, 2018 19:36

I think one step is missing here. As explained in this nice video you need to convert the project using foamToVTK first and then make the empty dummy .foam file.

njdyck June 4, 2018 10:54

Thanks for the tip foadsf. Using foamToVTK allowed me to visualize meshes at least.

Also user_of_cfx I have found that paraview 5.4+ appears to load .foam cases just fine on Windows 10. I came across the issue only only when using a Windows 7 machine.

tanveerfathima September 8, 2018 14:06

Installation of paraview
 
Hai I am new to OpenFOAM and I would like to know the procedure to install paraview. I followed the procedure mentioned in this link: https://www.albertopassalacqua.com/?p=1648
but the error : ''Unable to locate package paraview'' appears . What should I do?


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