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

Converting an animation file into JPEG format

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2006, 19:33
Default Converting an animation file into JPEG format
  #1
Shanti
Guest
 
Posts: n/a
Hi Could someone help me how to write an animation file to a JPEG format? When i am writing it from the animation-- playback menu, its giving an error "Error opening PPM file". Could someone really help me with it?

Thanks in advance, Shanti
  Reply With Quote

Old   February 9, 2006, 02:16
Default Re: Converting an animation file into JPEG format
  #2
Hamed
Guest
 
Posts: n/a
if u like to write results of an unsteady problem in JPEG u can use 2 method: 1-Solve->Animate->Define u can define that fluent write your results in ppm or metafile(hmf) or in memory then when solve finish, u write results by Solve->Animate->Playback-> here, u can write by hardcopy format(u should define in hardcopy option JPEG)

2-by Execute Commands->for more inf. refer to FLUENT-User-Guide-Help

BE LAMINAR
  Reply With Quote

Old   February 9, 2006, 04:07
Default Re: Converting an animation file into JPEG format
  #3
Mario
Guest
 
Posts: n/a
I have never heard of an animation in JPEG format. Fluent provides mpeg. Another way is to hardcopy JPEG pictures with Fluent, convert them into gif and merge them into a single gif-animation with a 3rd party program like ImageMagic which is freeare.
  Reply With Quote

Old   February 9, 2006, 14:40
Default Re: Converting an animation file into JPEG format
  #4
Shanti
Guest
 
Posts: n/a
HI

I am getting an error in writing the animation file in mpeg format. Its says "error in opening ppm file". This is the procedure i followed..

Solve-->Animate--> playback In this i selected mpeg in the drop down menu of write/record format.

Could someone help me with it...its really urgent

thanks shanti
  Reply With Quote

Old   February 10, 2006, 02:47
Default Re: Converting an animation file into JPEG format
  #5
srinivas
Guest
 
Posts: n/a
hi shanthi

As far as my knowledge u"ll get the animation (sequense files) only ur simulating unsteady flow.After simulating the flow go for

solve-->animate-->play back

then in the write/record format select mpeg or jpeg then simply write it

or even after this if u still don:t get then try this

in the frame lilst there is an icon |> first press this then repeat the above same procedure

hope it will works bye
  Reply With Quote

Old   February 10, 2006, 05:01
Default Re: Converting an animation file into JPEG format
  #6
edi
Guest
 
Posts: n/a
My personal opinion: mpegs made from fluent have really poor quality, much better if you wrote your frames as jpgs (solve>animate>playback as you posted, if it doesn't work-and on linux/unix machines often doesn't work-you can write every single frame playing the animation frame by frame and saving them on the file>hardcopy panel, manually or with a jou file) and then join them with an external application (I like makeavi, light and freeware).

Good luck

Edi.
  Reply With Quote

Old   February 10, 2006, 09:58
Default Re: Converting an animation file into JPEG format
  #7
Michael Bo Hansen
Guest
 
Posts: n/a
Good Idea. But remember that JPG's are created for photographic use and are not suitable for CFD plots. The best format is PNG which is not yet supported by FLUENT, but will be in the future. Hopefully 6.3. PNG files have better quality AND are smaller in sizes! In lack of PNG, you should use TIF files as the format for single frames. After you have create the movie using MakeAVI or a similiar product (IMGCON), you could decrease the size of the files by using "bbMPEG" http://members.cox.net/beyeler/bbmpeg.html This programs converts the files to an MPEG which dramatically reduces the size of the files. I have experienced from ~200 MB down to 15 MB. Just remember to keep the size to 640*480. People with old version of DirectX (lower than version 7) cannot see Mpeg movies with other sizes than 640*480. If you have a newer version of DirectX there should be no problems in choosing whatever sizes you want. Check the version from Start/Run/dxdiag - Michael
  Reply With Quote

Old   September 20, 2022, 07:51
Default
  #8
New Member
 
Gioacchino La Rochelle
Join Date: Jul 2016
Posts: 19
Rep Power: 9
Gioacchino La Rochelle is on a distinguished road
png is now supported

And I think it works great, but I have experienced an issue.

I am using an adaptive timestepping (varying from 1e-5s to 1e-3s), flow time 60s (calculation finished) recording every 0.1s as reported below.


Although these settings, the final video realized with Animation > Playback is 37s not 60s.
Gioacchino La Rochelle is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 17:46
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


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