CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

DxFoam crash outputting gif

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2007, 17:23
Default Hi all, I was trying out d
  #1
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
Hi all,
I was trying out dxFoam since I have it running now and was looking at the output options with it. Since animations are always nice, I noticed that it has the ability to output gifs and paste them into an animation.

However, when I use the "write control" tool (just typing dxFoam in terminal) and try to output a gif format, the following comes up:

in the messsage window:
/home/mjaworsk/OpenFOAM/linux/dx-4.4.4/dx/bin/dx: line 1793: 10725 Floating point exception "dxFoamExec" -r -B -F "/home/mjaworsk/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/postProcessin g/graphics/dxFoamExec/dxFoamExec.mdf" -F "/home/mjaworsk/.../graphics/dxFoamExec/dxFoamExec.mdf"

And a little window pops up saying that the connection to the server has been broken.

Has anyone come up on this one before? All the other output formats seem to be working fine. If not, is this more a problem with dx itself or with dxFoamExec? Any help would be appreciated.

Regards,
Mike Jaworski
mike_jaworski is offline   Reply With Quote

Old   December 29, 2007, 19:37
Default In order for OpenDX to support
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
In order for OpenDX to support gif output format (and others like png, jpg) you need to compile it using an ImageMagick library. If you have a version of this library with a bug, then OpenDX will behave as you describe.
The best practice I think it is to write the animation in miff format, which is supported by default in OpenDX. Then you may use an ImageMagick utility to convert the miff to gif:

convert file.miff file.gif

Dragos
dmoroian is offline   Reply With Quote

Old   December 30, 2007, 15:17
Default Thanks for the suggestion, Dra
  #3
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
Thanks for the suggestion, Dragos. I'll take a look at the ImageMagick libs I have and see about recompiling dx. If I recompile dx, will I have to recompile dxFoamExec as well?

Thanks again,
Mike
mike_jaworski is offline   Reply With Quote

Old   January 2, 2008, 05:55
Default Probably not, but the compilat
  #4
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Probably not, but the compilation of dxFoam is so fast that it doesn't really matter if you compile it once more.

Dragos
dmoroian 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
DxFoam postFoam on mac bigphil OpenFOAM Post-Processing 0 March 13, 2009 06:09
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Outputting data noName FLUENT 0 April 7, 2005 18:29
crash - help message short Phoenics 1 October 30, 2002 13:16
Outputting a XY-plane of data Matt Phoenics 3 October 11, 2001 09:58


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