CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

generate movie after simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2010, 03:45
Default generate movie after simulation
  #1
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hi all,

I would like to know whether it is possible to generate movie (or series of jpegs) once the simulation is done.

to be more precise, I have data files and frequency of data written is 0.1 seconds.
I have to read all these data files
and generate a movie out of it.

Regards
Raghu
raagh77 is offline   Reply With Quote

Old   August 29, 2010, 06:14
Default
  #2
New Member
 
Ben Jimenez
Join Date: Aug 2010
Posts: 5
Rep Power: 15
descendents1 is on a distinguished road
The primary way I know of creating animations (with jpegs or hmfs, or ppms etc.) is to write them for each time step.

So create an hmf file for every time step. The hmf (hoops metafile) will allow you to store data from Fluent. In effect, you can create your hmf files, record your animation after setting view, lights, etc., and then you can change the view of your model and record your animation AGAIN from a different view. It's a neat tool. That's why I like hmfs.

You can also create the jpegs or tiffs or ppms and then obtain a 3rd party processor to compile the frames into an animation. I would go the hmf route because you can create the animations in Fluent and not have to use the 3rd party software.

You cannot do it now, you will have to re-run your solution and record an hmf or other file type for each time step.

Check the Fluent help files for this, it's a neat process to learn.
descendents1 is offline   Reply With Quote

Old   August 29, 2010, 08:10
Default
  #3
Senior Member
 
xrs333
Join Date: Aug 2010
Posts: 125
Rep Power: 16
xrs333 is on a distinguished road
I have a suggestion.
Reread the data files in turn and save a hard copy of the graph for each with the view fixed, then use third party software to compile the pictures into a animated gif pic. Or if you move the camera around the target every time you display the field variable, you even can get a time-freezed animation.
xrs333 is offline   Reply With Quote

Old   August 30, 2010, 00:21
Default
  #4
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Thanks for your reply..

My situation is bit different now. Already I have simulation results stored quite frequently (.data files) and I have to utilize these data files to generate movie.. without running the simulation again.

Is it possible to utilize these data files .. without running the simulation..?
raagh77 is offline   Reply With Quote

Old   August 31, 2010, 06:18
Default Reading individual data files.
  #5
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Yes, I think this is the only possible option.
to read all the data files and use thirdparty tool to create animation. (Though it is cumbersome to read each and everydata file)

Is there any way (like scripting) to automate this process ?
i.e.

1. File > Read data > *.dat
2. File > save picture as > *.jpg

for each *.data files

Regards
Raghu
raagh77 is offline   Reply With Quote

Old   August 31, 2010, 12:24
Default
  #6
Senior Member
 
xrs333
Join Date: Aug 2010
Posts: 125
Rep Power: 16
xrs333 is on a distinguished road
You can record a journal file, and then edit it and 'save as' for each data file to use.
xrs333 is offline   Reply With Quote

Old   September 1, 2010, 04:07
Default
  #7
Senior Member
 
Philipov's Avatar
 
Svetlin Filipov
Join Date: Mar 2009
Location: United Kingdom
Posts: 176
Rep Power: 17
Philipov is on a distinguished road
Try using Tecplot..... There you can load multiple pairs case-data files from your calculation and then to generate animation file of different format (avi, flash and more).... Personally, I do not recommend to use Fluent itself for animation.... with Tecplot it is easy

(Tecplot is not the only one solution but is what I can work with and it works)
Philipov is offline   Reply With Quote

Old   September 1, 2010, 04:21
Default
  #8
New Member
 
Ben Jimenez
Join Date: Aug 2010
Posts: 5
Rep Power: 15
descendents1 is on a distinguished road
It's also easy in Fluent. The quality may not be as good as Tecplot, however.
descendents1 is offline   Reply With Quote

Old   September 1, 2010, 06:33
Default
  #9
New Member
 
padhu
Join Date: Jun 2009
Location: Bangalore, India
Posts: 27
Rep Power: 16
padmanathan is on a distinguished road
Fluent is having option to animate the simulation, using Display->Scene Animation (or) Scene. and it is having read option too. if you little bit go through the user guide you can find.
padmanathan is offline   Reply With Quote

Old   November 25, 2010, 06:18
Default CFD post
  #10
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
probably better option could be
to load dat files in CFD post and create animation
another option could be ..paraview (recent version) had fluent input files but never tried till now.
raagh77 is offline   Reply With Quote

Old   November 25, 2010, 08:44
Default
  #11
New Member
 
Rok Sibanc
Join Date: Sep 2009
Posts: 9
Rep Power: 16
snow is on a distinguished road
i use ffmpeg for combining pictures into movie. free, command line and millions of codecs you can use.
snow is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solar Radiation in OpenFOAM plainstyle OpenFOAM Running, Solving & CFD 15 July 8, 2014 04:43
velocity profile export from a simulation onto another sudhirlv STAR-CCM+ 1 September 12, 2010 18:57
Salome and Code Saturne simulation of simple room and objects cristian.ocnarescu Main CFD Forum 0 June 21, 2010 10:19
strange simulation error Ralf Schmidt FLUENT 2 May 4, 2007 13:02
transient simulation: natural convection problem? Basics CFX 3 September 25, 2002 09:42


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