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

Animation Error in Fluent

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

Like Tree1Likes
  • 1 Post By rahamohajer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2009, 03:30
Exclamation Animation Error in Fluent
  #1
New Member
 
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17
Andrew is on a distinguished road
Hi Everyone,

I am simulating flow over a square cylinder in 3D and trying to create animations of the vortex field.

I am applying the animations through: Solve/Monitors/Animations.

However, when the simulation finishes and I try to playback the animation to write the mpeg, I get this error:

----------------------------------------
"mpeg_encode param1"

MPEG ENCODER STATS (1.5b)
------------------------
TIME STARTED: Wed Oct 14 16:45:48 2009
MACHINE: unknown
FIRST FILE: .\/velocity-magnitude-1_1_0000.ppm
LAST FILE: .\/velocity-magnitude-1_1_0199.ppm
PATTERN: i
GOP_SIZE: 12
SLICES PER FRAME: 1
RANGE: +/-8
PIXEL SEARCH: FULL
PSEARCH: EXHAUSTIVE
BSEARCH: CROSS2
QSCALE: 8 8 8
REFERENCE FRAME: ORIGINAL


Input file too small! (ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ)
Removing frame files ... done.
--------------------------------------

The animation files are saved as .hmf extensions, so I am not sure why it is searching for .ppm extension.

I have run a previous simulation with the same parameters and properties, but no error occurred. If anyone can help with this error and why it occurs, it will be greatly appreciated.

Thanks.

Andrew
Andrew is offline   Reply With Quote

Old   October 14, 2009, 08:10
Default
  #2
Member
 
JP
Join Date: Mar 2009
Posts: 57
Rep Power: 18
srjp is on a distinguished road
"hmf" files store the entire image (in all three dimensions) so that even after creating the animation, you can tilt/zoom and create a new view and then save the video file.

"ppm" files are 'frozen' image files. They are very small (almost 1000 times smaller file size than hmf). But once created, you cannot change the view.

Before creating the video, Fluent will convert your animation frames to ppm.

You can try this:
Open the "cxa" file in the folder that contains the animation details.
In that change the second line from "NAME: .\moviename" to "NAME: moviename". (Remove the dot and slash).
Save the file, exit & reopen Fluent. Do not read any case. Now read the new cxa file and try creating the mpeg file.
srjp is offline   Reply With Quote

Old   October 14, 2009, 08:46
Default
  #3
New Member
 
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17
Andrew is on a distinguished road
Thanks srjp,

This helps alot. I will try what you have suggested and let you know how it goes.

I notice that everytime Fluent is closed without creating the animation from the .hmf files, when Fluent is reopened, it does not allow the animation to be created and displays again another error message.

Can this be related to your suggestion, modifying the second line in the .cxa file?

Thanks again. I'll keep you posted on how it goes.

Regards

Andrew
Andrew is offline   Reply With Quote

Old   October 16, 2009, 02:18
Default
  #4
New Member
 
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17
Andrew is on a distinguished road
Thanks Srjp. Your suggestion worked great! Really appreciated.

I was always deleting the hmf files after closing Fluent because it would not read the cxa file once reopening Fluent. I always ran the simulations again and tried to create the animation before closing Fluent.

When opening Fluent, I should ensure the cxa file has been modified?

Thanks again.

Andrew
Andrew is offline   Reply With Quote

Old   October 16, 2009, 03:50
Default
  #5
Member
 
JP
Join Date: Mar 2009
Posts: 57
Rep Power: 18
srjp is on a distinguished road
Thats right.
For reasons I don't know, fluent changes the cxa file sometimes.
There is nothing wrong with the hmf files. Once you have created a set of hmf files and the linked cxa file, you don't need the case/data file at all. You just need to open fluent and then play/record your movie.
srjp is offline   Reply With Quote

Old   October 16, 2009, 04:09
Default
  #6
New Member
 
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17
Andrew is on a distinguished road
That's great! It is really good to know.

I notice that it does it more often when I have several animations being saved during the simulation. Maybe there is a memory requirement for Fluent. If the time step is too small or there are alot of .hmf files to read, Fluent tries to modify them to .ppm files, so it can read the animation.

It is good that the animations can be played and recorded just from the Fluent window and not by reading the case/data file.

Thanks for the help.

Andrew
Andrew is offline   Reply With Quote

Old   April 26, 2010, 08:05
Default
  #7
New Member
 
Deside
Join Date: Aug 2009
Posts: 17
Rep Power: 16
Deside is on a distinguished road
Thank you srjp for the reply to Andrew, it was so elaborate and i also got helped on the way. I am using Fluent 12.1 and seems the handling is deferent from the Fluent 6.2 version. I am not getting errors when writing Mpeg.
Deside is offline   Reply With Quote

Old   January 18, 2014, 01:31
Default
  #8
New Member
 
prash
Join Date: Oct 2013
Posts: 4
Rep Power: 12
prash_iaf is on a distinguished road
Quote:
Originally Posted by srjp View Post

You can try this:
Open the "cxa" file in the folder that contains the animation details.
In that change the second line from "NAME: .\moviename" to "NAME: moviename". (Remove the dot and slash).
Save the file, exit & reopen Fluent. Do not read any case. Now read the new cxa file and try creating the mpeg file.
Sorry i dont get it, i have the same probem. i have both cxa and hmf files but mpeg file is not created. gives an error of ppm file cannot be created. I dont get the suggestion of changing second line...pls help to clarify
__________________
SHARE YOUR KNOWLEDGE TO GAIN MORE
prash_iaf is offline   Reply With Quote

Old   February 9, 2020, 11:15
Default
  #9
New Member
 
raha
Join Date: Feb 2020
Location: https://t.me/pump_upp
Posts: 1
Rep Power: 0
rahamohajer is on a distinguished road
Send a message via ICQ to rahamohajer Send a message via AIM to rahamohajer Send a message via Yahoo to rahamohajer
your solution doesn't work for me. although its possible to play the sequences, writing as a mpeg or....is impossible. do you have any idea?
dats likes this.
rahamohajer is offline   Reply With Quote

Old   October 1, 2020, 16:42
Default But how to open .cxa file ?
  #10
New Member
 
ROBIN
Join Date: Nov 2019
Posts: 5
Rep Power: 6
kumar.119 is on a distinguished road
Quote:
Originally Posted by srjp View Post
"hmf" files store the entire image (in all three dimensions) so that even after creating the animation, you can tilt/zoom and create a new view and then save the video file.

"ppm" files are 'frozen' image files. They are very small (almost 1000 times smaller file size than hmf). But once created, you cannot change the view.

Before creating the video, Fluent will convert your animation frames to ppm.

You can try this:
Open the "cxa" file in the folder that contains the animation details.
In that change the second line from "NAME: .\moviename" to "NAME: moviename". (Remove the dot and slash).
Save the file, exit & reopen Fluent. Do not read any case. Now read the new cxa file and try creating the mpeg file.




How to open that .cxa file again in Fluent ?
What is to be selected when reading it in Fluent ?
Is it a case, or the data, or something else ?
I really didn't get it.
kumar.119 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
Fluent - license problem. Marcin FLUENT 3 April 13, 2018 16:33
Integration of a Custom C++ Model into FLUENT Syed Haider FLUENT 2 March 6, 2018 23:37
problem of running parallel Fluent on linux cluster ivanbuz FLUENT 15 September 23, 2017 19:12
On Bug of Fluent 12.0 lzgwhy FLUENT 0 August 26, 2009 06:41
Running fluent in UNIX L3munoz FLUENT 10 August 26, 2009 04:59


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