|September 3, 2012, 11:56||
Calculation of Time Average of FLUENT data in CFD-Post
Join Date: Aug 2010
Posts: 2Rep Power: 0
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!
|Thread||Thread Starter||Forum||Replies||Last Post|
|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|
|Post Processing Fluent Data||Jonathan Vogt||FLUENT||1||August 7, 2005 13:24|