CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Installation ParaView for Windows version of openFOAM

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

Like Tree3Likes
  • 1 Post By wyldckat
  • 1 Post By kasra karimi
  • 1 Post By Jack_Landis

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2016, 05:55
Default Installation ParaView for Windows version of openFOAM
  #1
New Member
 
kasra karimi
Join Date: Jan 2016
Location: Tehran
Posts: 10
Rep Power: 10
kasra karimi is on a distinguished road
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
kasra karimi is offline   Reply With Quote

Old   January 3, 2016, 11:07
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   January 3, 2016, 20:50
Smile problem solved
  #3
New Member
 
kasra karimi
Join Date: Jan 2016
Location: Tehran
Posts: 10
Rep Power: 10
kasra karimi is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
wyldckat likes this.
kasra karimi is offline   Reply With Quote

Old   February 4, 2016, 13:50
Exclamation Can't understand
  #4
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
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?
Kelvin.xu likes this.
Jack_Landis is offline   Reply With Quote

Old   February 4, 2016, 18:56
Default
  #5
New Member
 
kasra karimi
Join Date: Jan 2016
Location: Tehran
Posts: 10
Rep Power: 10
kasra karimi is on a distinguished road
Quote:
Originally Posted by Jack_Landis View Post
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?
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
kasra karimi is offline   Reply With Quote

Old   March 8, 2017, 08:43
Default Access openfoam files with local drive in windows
  #6
New Member
 
Daniel
Join Date: Mar 2017
Posts: 2
Rep Power: 0
dani_clos is on a distinguished road
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
dani_clos is offline   Reply With Quote

Old   March 9, 2017, 04:42
Default
  #7
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
I suggest you to work in ubuntu, it's way simplier! I tried to work in windows but then I abbandoned it for ubuntu
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Old   March 9, 2017, 05:46
Default
  #8
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 10, 2017, 05:07
Default
  #9
New Member
 
Daniel
Join Date: Mar 2017
Posts: 2
Rep Power: 0
dani_clos is on a distinguished road
Thanks piu58 I will try that

Thanks for your reply.

Last edited by wyldckat; March 25, 2017 at 20:09. Reason: merged posts done a minute apart
dani_clos is offline   Reply With Quote

Old   May 11, 2017, 10:33
Default
  #10
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
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.
Attached Images
File Type: jpg Capture.jpg (76.0 KB, 24 views)
user_of_cfx is offline   Reply With Quote

Old   May 22, 2017, 10:19
Default
  #11
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
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

Last edited by user_of_cfx; May 23, 2017 at 07:48.
user_of_cfx is offline   Reply With Quote

Old   January 15, 2018, 17:48
Default Blacks Screen = Known Bug w/Paraview v5.4 or not?
  #12
New Member
 
Thomas Weeks
Join Date: Aug 2017
Posts: 2
Rep Power: 0
Tweeks is on a distinguished road
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:

paraview-5.4_blacksscreen.jpg

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

Old   January 23, 2018, 20:36
Default
  #13
Member
 
Foad
Join Date: Aug 2017
Posts: 58
Rep Power: 9
foadsf is on a distinguished road
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.
foadsf is offline   Reply With Quote

Old   June 4, 2018, 11:54
Default
  #14
New Member
 
Nolan Dyck
Join Date: Dec 2013
Posts: 13
Rep Power: 12
njdyck is on a distinguished road
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.
njdyck is offline   Reply With Quote

Old   September 8, 2018, 15:06
Default Installation of paraview
  #15
New Member
 
Tanveer
Join Date: Sep 2018
Posts: 6
Rep Power: 8
tanveerfathima is on a distinguished road
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?
tanveerfathima is offline   Reply With Quote

Reply

Tags
openfoam, paraview, windows

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
OpenFOAM on cluster: version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found ovie OpenFOAM 10 April 19, 2021 19:06
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Paraview refuses to start after installation of OpenFoam flotus1 OpenFOAM Installation 12 March 6, 2014 15:42
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


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