CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Calculation of Time Average of FLUENT data in CFD-Post

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

LinkBack Thread Tools Display Modes
Old   September 3, 2012, 10:56
Question Calculation of Time Average of FLUENT data in CFD-Post
New Member
Join Date: Aug 2010
Posts: 2
Rep Power: 0
gautamcfd is on a distinguished road
Hello everyone,

I have a question regarding calculation of time average of any variable in CFD-Post for the transient data from FLUENT simulations. In particular, I performed LES simulations in FLUENT and during the course of the entire run, I have exported all the variables to CFD-Post at specified time steps. The total number of CFD-Post transient files total to around 300.

Now, I would like to calculate the time average of say "subgrid eddy viscosity" in CFD-Post (using something like below) for entire 3D domain (even along certain lines would suffice) using those 300 files.

for (time_step =1; time_step < total_steps; time_step ++)
sum = sum + mu_t ;
mu_t_avg = sum/total_steps;

Is it possible to write a macro for this in the command editor. If so, it would be very helpful if someone can kindly post any such macro that they have used.

Thanks a lot for the help!

gautamcfd is offline   Reply With Quote


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
Post Processing Fluent Data Jonathan Vogt FLUENT 2 August 18, 2017 02:58
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
CFD post , average pressure Theerawat FLUENT 4 August 24, 2012 14:55
Average of Scalar of a cellset during the calculation for each time step safre OpenFOAM 12 August 15, 2012 10:32
how to make time average value in post wayne CFX 0 May 12, 2008 01:10

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