CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Multiple .res files in animation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 13, 2004, 13:20
Default Multiple .res files in animation
  #1
Gloria Gaynor
Guest
 
Posts: n/a
Greetings,
Anyone knows whether is possible to perform an automated animation with multiple .res files in CFX-POST? When I want one single animation of several .res files (multiple restarts) the CFX-POST doesn't recognise the next .res file loaded in the animation panel. The code seems to get lost. Or perhaps I've been doing the wrong approach. Anyone have a clue?
Thanks in advance, G. G.
  Reply With Quote

Old   April 13, 2004, 18:14
Default Re: Multiple .res files in animation
  #2
Glenn Horrocks
Guest
 
Posts: n/a
Hi Gloria,

Yes, you can do it, I have done it many times. Firstly, you can either generate the frames manually or use a Post/Perl script. Make sure you have the Options/Advanced/Keep Intermediate Graphics files selected. This will then generate the frames for the entire animation across the multiple res files.

Then you need to generate the animation from the frames. If you have some gizmo to do this then use it, many people have software to create animated GIFs, AVIs and MPEGs. CFX-Post actually calls a package called mpeg-tools to generate the MPEG from the frames, so you can use that if you want. You will find it in the /CFX5.6/tools/share/src/mpeg_tools directory. Also by manually creating the animation you can do things like slowing the frame rate below 24 frames per second by repeating frames. Very useful.

Anyway, give this a try and let us know how you get on.

Regards, Glenn
  Reply With Quote

Old   April 14, 2004, 08:35
Default Re: Multiple .res files in animation
  #3
Gloria Gaynor
Guest
 
Posts: n/a
Thanks for the reply Glenn,
Yes, I've been doing the manual approach, generating several independent animations (just storing the jpeg files) and afterwards renaming the files accordingly and editing the mpg.param file as well (needed by the mpeg_encode utility).
But my lazy part had to ask you guys about it. That's it...
Anyway, if you want to share some perl/post scripting, that would be really great.
Thanks again, G. G.
  Reply With Quote

Old   April 14, 2004, 13:02
Default Re: Multiple .res files in animation
  #4
Robin
Guest
 
Posts: n/a
Hi Gloria,

Simply load the next res file and add a new key frame. If you are doing it in CFX-5.6, reduce the number of intermediate frames to zero between these two key frames. CFX-5.7 doesn't have a problem with this.

If it is a transient animation, make sure you load the last timestep of the previous res file before loading the first timestep of the next res file.

Regards, Robin
  Reply With Quote

Old   April 14, 2004, 17:09
Default Re: Multiple .res files in animation
  #5
Gloria Gaynor
Guest
 
Posts: n/a
Robin,
It's exactly the solution I've been looking for.
Thanks, G. G.
  Reply With Quote

Old   April 6, 2009, 19:36
Default
  #6
New Member
 
Thomas Murray
Join Date: Apr 2009
Posts: 1
Rep Power: 0
muzza3000 is on a distinguished road
I had this exact problem caused by multiple restarts, the best way to solve it is just to copy and paste the .trn files from the previous runs and place them in the final directory. Then when you open the final .res file into cfx post all of the time steps are present and you can form the animation in the usual way.

Hope this helps anyone else who is currently having this problem as i realise the date is quite far back!!!
muzza3000 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
Animation of multiple cgns files John Smith Main CFD Forum 0 February 19, 2008 15:57


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