|
[Sponsors] |
December 29, 2007, 18:23 |
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 |
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 |
|
December 29, 2007, 20:37 |
In order for OpenDX to support
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
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 |
|
December 30, 2007, 16:17 |
Thanks for the suggestion, Dra
|
#3 |
Senior Member
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17 |
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 |
|
January 2, 2008, 06:55 |
Probably not, but the compilat
|
#4 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Probably not, but the compilation of dxFoam is so fast that it doesn't really matter if you compile it once more.
Dragos |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DxFoam postFoam on mac | bigphil | OpenFOAM Post-Processing | 0 | March 13, 2009 07:09 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
Outputting data | noName | FLUENT | 0 | April 7, 2005 19:29 |
crash - help message | short | Phoenics | 1 | October 30, 2002 14:16 |
Outputting a XY-plane of data | Matt | Phoenics | 3 | October 11, 2001 10:58 |