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

[OpenFOAM] ParaView 340 experience Does not show animation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2008, 13:48
Default ParaView 340 experience Does not show animation
  #1
eno
New Member
 
Sean Bian
Join Date: Mar 2009
Posts: 19
Rep Power: 17
eno is on a distinguished road
I installed paraView 3.4.0 in windows to work with OpenFOAM in cygWin. However the animation does not start and it appears that the data are not read except at t = 0.
It worked fine when paraview 3.2.1 was installed.
eno is offline   Reply With Quote

Old   November 7, 2008, 01:10
Default Hi, Sean: Maybe not the bes
  #2
Member
 
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17
dbxmcf is on a distinguished road
Hi, Sean:

Maybe not the best solution for you, however, if you don't want to waste time on compiling, you can just install a native windows version of paraview 3.4 (it does not require cygwin), then use foamToVTK to convert to the vtk format which can be read by paraview, the rest is the same as paraFoam.
dbxmcf is offline   Reply With Quote

Old   November 11, 2008, 11:01
Default Thanks Roy, Will try this.
  #3
eno
New Member
 
Sean Bian
Join Date: Mar 2009
Posts: 19
Rep Power: 17
eno is on a distinguished road
Thanks Roy, Will try this.
eno is offline   Reply With Quote

Old   November 14, 2008, 06:24
Default Hi, I'm using a fresh 8.10
  #4
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Hi,

I'm using a fresh 8.10 Ubuntu with OpenFOAM 1.5 and just have downloaded Paraview 3.4.0.

I have a few issues with this combo :

* the view area in paraview is grey, can't see anything: must drag or zoom to se something and it disappear as soon as I release the mouse.

* in Paraview 3.4.0 you can import/open OpenFOAM files (*.foam) but how can I export OpenFOAM results to *.foam files ?

Must I use paraFoam to do that which is not available with Paraview 3.4.0 or is there a script/utility that can do this ?

I someone has found a workaround ...
Thank you very much

Best regards
Francois
francois is offline   Reply With Quote

Old   November 14, 2008, 06:56
Default Salut François ;) Using gen
  #5
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 45
Rep Power: 17
elorriaux is on a distinguished road
Salut François ;)

Using gentoo, i don't have problems to visualize my cases with Paraview 3.4.0 (i've tried binaries and self-compiled version without any problems). I don't think your visualization problem is an OF issue, it must be related to ubuntu libraries and paraview or your graphics drivers. Perhaps you should try to build paraview 3.4.0 from sources (new laptop ???!!! ;)).

I've noticed some strange issues with OF-1.5 when i try to visualize multiple domains (fluid/structure interaction), but i think it comes from me or the foamToVTK tool.

I don't think Paraview 3.4.0 includes an OpenFOAM writer. If paraFoam can do that, it's surely an improvement from OF stuff.

Actually, i don't use the OF import in paraview, I export my results with foamToVTK. You should perhaps try it....

Bye, Etienne.
elorriaux is offline   Reply With Quote

Old   November 14, 2008, 08:35
Default Hi Etienne ! Nice to have s
  #6
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Hi Etienne !

Nice to have some news from you, I'm happy to see that you still are on the bleeding edge of CFD and a Gentoo power user !!! Hope everything is fine for you in your new job.

The Ubuntu blank/gray view problem with paraview 3.4.0 is related to the visual effects available with gnome (think it's compiz). When you don't enable them everything is fine now. ATI cards were always a problem for me with Linux (and yes Etienne I've got a new laptop ... crazy isn't it ?)

As you have just suggested I'm usually using foamToVTK to export my results and think I will continue to do that until I will find a solution to create .foam files.

Has someone an idea to create those file, must I always use paraFoam for that ?

Thanks.

ps: C'est super sympa Etienne d'avoir de tes news comme ça, j'espère que tout se passe bien pour toi là-bas et que tu t'éclates dans ton nouveau job. Donne nous des nouvelles de temps en temps, au plaisir de te revoir ...
francois is offline   Reply With Quote

Old   November 14, 2008, 10:23
Default > Has someone an idea to creat
  #7
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
> Has someone an idea to create those file, must I always use paraFoam for that ?


You could just touch it into existence (like paraFoam does inside).
For the current working directly, you can just define an alias:

alias touchFoam='touch ${PWD##*/}.OpenFOAM'
olesen is offline   Reply With Quote

Old   November 14, 2008, 11:23
Default Thanks Mark for your answer !
  #8
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Thanks Mark for your answer !

But I'm not sure to understand your advice.

Correct me if I'm wrong, with this alias I only have an empty ${PWD##*/}.OpenFOAM file (which I move to ${PWD##*/}.foam because this is the extension known by paraview).

And trying to open this empty file in paraview cause a crash.

May I miss something ?

Best regards
Francois
francois is offline   Reply With Quote

Old   November 14, 2008, 11:40
Default Okay, now I understand (I thin
  #9
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Okay, now I understand (I think).

The .foam file extension is used by the OpenFOAM reader included in ParaView, which I know crashes almost immediately. The same extension (.foam) is used by Takuya's version of the same reader. This version is generally really good, but you'll have to get the code from the wiki and compile it yourself.

The .OpenFOAM file extension is used by the OpenFOAM library reader included with OpenFOAM (applications/postProcessing/graphics/PV3Reader). I've found it to be really stable as well, but here you might have to recompile paraview etc.
You should find enough messages on the forum about people having problems getting this built just right if there are any differences in Qt versions etc.
olesen is offline   Reply With Quote

Old   November 14, 2008, 12:36
Default Thanks Mark for your clear ans
  #10
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Thanks Mark for your clear answer, I understand your last answer greater now.

Will look on the forum/wiki for the Takuya's version of OpenFOAm in Paraview.

By the way I'm still surprised that the file needed will be empty.

Have a nice day.
Thanks again
francois is offline   Reply With Quote

Old   November 14, 2008, 13:38
Default > By the way I'm still surpris
  #11
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
> By the way I'm still surprised that the file needed will be empty.

It is only that Paraview/VTK uses the file extension to determine which reader to use. If the reader can actually read the contents of the file, that's another issue. The OpenFOAM readers don't need the contents of this file, they just need to know in which case directory they are being started.

BTW: you can simply touch a .foam/.OpenFOAM file into existence even if you've already started Paraview.
olesen is offline   Reply With Quote

Reply


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
[General] Paraview does not show the blocks in the flume shimakasaei ParaView 0 February 21, 2019 20:45
[General] paraview animation drudox ParaView 2 January 24, 2019 10:40
[OpenFOAM] Questions about Paraview to show Parallel run of OpenFOAM padian ParaView 20 September 24, 2018 13:52
HOW TO SHOW TIME IN ANIMATION IN Fluent CFD POST niazgdc FLUENT 0 October 12, 2017 03:58
[OpenFOAM] field average calculated doesn't show up in paraview Divyaprakash ParaView 0 October 24, 2015 05:24


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