[Fluent Inc. Logo] return to home search
next up previous contents index

28.6.3 Saving an Animation

Once you have created your animation, you can save it in any of the following formats:



Animation File


You can save the key frame definitions to a file that can be read back into FLUENT (see Section  28.6.4) when you want to replay the animation. Since the animation file will contain only the key frame definitions, you must be sure that you have a case and data file containing the necessary surfaces and other information referred to by the key frame descriptions.

To write an animation file, select Key Frames in the Write/Record Format drop-down list in the Animate panel, and click the Write... button. In the resulting Select File dialog box, specify the name of the file and save it.



Hardcopy File


You can also generate a hardcopy file for each frame in the animation. This feature allows you to save your animation frames to hardcopy files used by an external animation program such as ImageMagick. To save the animation as a hardcopy file, follow these steps:

1.   Select Hardcopy Frames in the Write/Record Format drop-down list in the Animate panel.

2.   If necessary, click the Hardcopy Options... button to open the Graphics Hardcopy panel and set the appropriate parameters for saving the hardcopy files. (If you are saving hardcopy files for use with ImageMagick, for example, you may want to select the window dump format. See Section  4.14.1 for details.) Click Apply in the Graphics Hardcopy panel to save your modified settings.

figure   

Do not click the Save... button in the Graphics Hardcopy panel. You will save the hardcopy files from the Animate panel in the next step.

3.   In the Animate panel, click the Write... button. In the resulting Select File dialog box, specify the filename and click OK to save the files. (See Section  4.14.1 for information about specifying filenames that increment automatically as additional hardcopies are saved.) FLUENT will replay the animation, saving each frame to a separate file.



MPEG File


It is also possible to save all of the frames of the animation in an MPEG file, which can be viewed using an MPEG decoder such as mpeg_play. Saving the entire animation to an MPEG file will require less disk space than storing the individual window dump files (using the hardcopy method), but the MPEG file will yield lower-quality images. To save the animation to an MPEG file, follow these steps:

1.   Select MPEG in the Write/Record Format drop-down list in the Animate panel.

2.   In the Animate panel, click the Write... button. In the resulting Select File dialog box, specify the filename and click OK to save the files.

FLUENT will replay the animation and save each frame to a separate scratch file, and then it will combine all the files into a single MPEG file.


next up previous contents index Previous: 28.6.2 Playing an Animation
Up: 28.6 Animating Graphics
Next: 28.6.4 Reading an Animation
© Fluent Inc. 2006-09-20