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

[OpenFOAM] paraFoam / paraview crashes when exporting images/animation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2009, 14:51
Question paraFoam / paraview crashes when exporting images/animation
  #1
New Member
 
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 16
griztown is on a distinguished road
Hi,

As mentioned in the subject. I'm trying to save an animation but paraview (being run as paraFoam 3.6.1) keeps crashing. I've attached the error output to the attached file. It also crashes when I try and save a screen shot. Any ideas?

Here's the text of the first few lines:
Quote:
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x341e4c7
The rest of the error is in the attached file.
Attached Files
File Type: txt paraFoam_crash.txt (18.1 KB, 10 views)
griztown is offline   Reply With Quote

Old   December 5, 2009, 09:40
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,


It doesn't fix your problem but you can always download the paraview binary from paraview.org and then use 'foamToVTK' and open the VTK file. The binary paraview should work fine for saving snapshots.


Philip
bigphil is offline   Reply With Quote

Old   January 22, 2011, 05:43
Default
  #3
New Member
 
Emre Turkoz
Join Date: Aug 2010
Posts: 12
Rep Power: 15
Emre Turkoz is on a distinguished road
I've got the same problem. I wish there was any solution.
Emre Turkoz is offline   Reply With Quote

Old   January 24, 2011, 05:00
Default
  #4
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,


I use the paraview binary that can be downloaded here:
http://www.paraview.org/paraview/resources/software.htm

I have used Linux, Mac and Windows and they are all fine.

The way I create a animation from paraview is:

File -> save animation.
Then save your animation as jpeg images (instead of an avi).
This will create multiple jpeg images which can be sewn together to make an animation.

To join the jpegs together to create an mpeg (for Linux or Mac):
While in the directory with the jpegs, use the following command:
Code:
convert *.jpg animation_name.mpeg
The "convert" command require ImageMagick to be installed (http://www.imagemagick.org/script/index.php), and also you need to download mpeg2encode and mpeg2decode binaries from somewhere and put them in your path.

There are probably other ways to join multiple jpegs into an mpeg, but this works well for me.

If you just want a snap-shot of paraview then just use your operating system's built-in screenshot function (there's a printscreen button on Window's keyboards, in Mac it is cmd-shift-4, something similar in Linux).


Hope it helps,
Philip C
bigphil is offline   Reply With Quote

Old   March 28, 2012, 18:02
Default
  #5
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Hi,
I have similar problem on my Dell Latitude laptop with Ubuntu 11.10.
I am using paraFoam (paraview 3.12 64-bit).
It crashes/freezes after "save screenshot" command ...
(Although it works for animation)

Message from terminal :
X Error: BadMatch (invalid parameter attributes) 8
Extension: 155 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x4400273

It works fine on my second computer...

Did anyone of you solved this problem ?

Thanks
Ziemo
ziemowitzima is offline   Reply With Quote

Old   March 28, 2012, 18:14
Default
  #6
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
I found solution for this problem on:
http://www.vtk.org/Bug/view.php?id=12760
"
Also try disbaling "Use Offscreen Rendering for screenshots" from Edit |Settings dialog (Render View page).
"
posted by
Utkarsh Ayachit

But still it seems strange because I have, the same system ubuntu11.10 and same paraview, on my other computer and it works fine without doing this ...

Ziemo
ziemowitzima 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
[General] Paraview crashes using "Find Data" functionality Turbine ParaView 3 May 6, 2020 22:40
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] u2berggeist OpenFOAM Installation 2 July 2, 2018 17:03
[General] Paraview crashes when loading a large Ensight file flotus1 ParaView 5 July 13, 2015 05:35
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 09:12


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