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

Calculation of Time Average of FLUENT data in CFD-Post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2012, 11:56
Question Calculation of Time Average of FLUENT data in CFD-Post
  #1
New Member
 
Gautam
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!

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


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