CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   CFX Animations - A Guide (

Michael Bo Hansen December 5, 2005 10:31

CFX Animations - A Guide
I think that the movie quality from CFX-POST could be better. So I've made this workaround to create high quality videos. Have a look at

Any comments? - Michael Bo

Mike December 5, 2005 11:26

Re: CFX Animations - A Guide
This is excellent, I'll have to give it a try! It would be interesting to see if you can get the same quality using the Screen Capture option to generate the images. For large cases it takes a long time to print the images from CFX-Post, but Screen Captures are a lot faster. Mike

James Date December 5, 2005 12:26

Re: CFX Animations - A Guide
Yeah, this is the only way to get high quality video's. I use a similar method which uses a batch file which calls CFX-post in batch mode using a session file. Its pretty quick as it doesn't load the files on screen.

Ogbeni December 5, 2005 12:38

Re: CFX Animations - A Guide
Michael, This may be obvious, but how do you run scripts in CFX-POST

Michael Bo Hansen December 6, 2005 04:11

Re: CFX Animations - A Guide
Hi Ogbeni. As written in the guide: Click Session/Play Session... And choose your *.cse file.

Sam December 6, 2005 05:24

Re: CFX Animations - A Guide
This is great. I used to generate the animation from Post but the quality is really poor that I give up at the end...


Yingchun December 6, 2005 06:58

Re: CFX Animations - A Guide
Screen capture is fairly ok for display purpose. If my memory is right, i tried to large image size, say equal or twice of your screen resolution for either png or jpg file format, the animations turn out ok.

Michael, this is great and helpful, thanks

HR December 6, 2005 16:04

Re: CFX Animations - A Guide
FYI, an easy way to get a higher quality MPEG directly from Post-10.0 is to set Quality to High in Animation > Options > Advanced tab. I could not see any artefacts in the resulting MPEG, but the file is 5 times bigger than with the default setting (Medium).

Nepal December 6, 2005 19:49

The pdf link is dead ??
Hi,Michael Bo Hansen The link is dead, would you please re-sent again, thanks!

Michael Bo Hansen December 7, 2005 06:15

Re: The pdf link is dead ??
I'm sorry about that. Check kind regards

Nepal December 7, 2005 21:45

Re: The pdf link is dead ?? Still No-Go!
Link is still dead, would you please send it to thanks!

Michael Bo Hansen December 13, 2005 10:00

Re: CFX Animations - A Guide
NB!! Not all windows versions can handle MPEG movies with other size than 640x480. It has to do with the version of DirectX installed on the windows machine. All versions (7.0 is restricted to 640x480). So if you want to be sure that the movie can be seen by all, set the "Image Height" to 480 and "Image width" to 640 in the script.

Neale December 28, 2005 12:54

Re: CFX Animations - A Guide
Yes, this is totally overkill.

The default options in CFX Post are setup so that you get a reasonable quality video with a reasonable file size. This makes complete sense.

To get the best quality video out of CFX Post you have to do three things:

- Make sure you use lots of frames between keyframes, especially for transient calculations (1 frame per timestep is the best). More frames = smoother video.

- Save the animation frames to PPM files instead of JPEG on the Animation options panel. JPEG is lossy image format and any movie created from these will be lower quality, PPM is lossless so you will not loose any image quality because of the frame file format. PPM files are however, bigger, so you need more disk space.

- Set the MPEG Quality to High in Animation Options Advanced tab.

Just doing that I've always gotten really really nice looking videos directly from CFX Post.


Michael Bo Hansen January 2, 2006 04:17

Re: CFX Animations - A Guide
You can choose to set the quality of the animations to high, but you still will get smoother and smaller file sizes if you take that video and convert it to a mpeg video using bbMPEG ( .

derz April 6, 2010 04:54

yeh if anyone could send me that pdf would be great thanks!

morgan349 April 21, 2010 04:02


please can you mail the pdf to


Claudia April 21, 2010 04:09

That sounds quite good. Could anyone send it to

Thanks a lot!!!

re_poli May 30, 2010 17:04

help with animation
I saw the discussion about a pdf that was a guide for animation in CFX. Does anyone have this pdf to send me at: ?

HMR February 17, 2011 05:00

CFX Animations - A Guide
I have seen Michael Bo Hansen's discussion about high quality movie in pdf which is a guide for animation in CFX.

I tried to download but I can't access the weblink, maybe it was dead.

Could anyone anyone send me above pdf at:


Far February 20, 2011 15:28

All times are GMT -4. The time now is 16:18.