CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Multiple Moving Meshes Animation (http://www.cfd-online.com/Forums/cfx/62754-multiple-moving-meshes-animation.html)

Tristan March 18, 2009 21:30

Multiple Moving Meshes Animation
 
I have a moving mesh simulation that is made up of a sequence of meshes. I run them one after the other (using separate .def files) in order to study a piston-cylinder problem so that I don't end up with really small cells during compression or really large cells during expansion. Does anyone know how I can combine the different meshes and their associated transient result files into a single animation?

Thanks,

Tristan

mvoss March 19, 2009 04:54

hey!

you could save the single frames for each .res file and simply copypaste them in one folder and make an new animation out of them.Should be possible with ... maybe...Irfanview.
If there are many .res-files you should think about batchprocessing via sessionfiles.

neewbie

Tristan March 19, 2009 13:45

I only have 3 .res files but each of them has around 10 .trn files so I was hoping CFX Post would allow me to bring them all in at once and create one animation. Apparently that's not possible?

Thanks,

Tristan

ghorrocks March 19, 2009 20:14

Hi,

Yes, it is possible. You can use the CFX-Post scripting to get it to load the 3 results files sequentially. Don't use the animation gizmo in CFX, use a script file to load a timestep, write a frame, load the next timestep, write a frame, load the next res file... etc.

To get you started in CFX-Post session files, record a session doing a frame or two of the sequence and edit it from there.

Glenn Horrocks


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