# Cumulative average

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

 November 5, 2020, 12:02 Cumulative average #1 New Member   Nikolaos Papafilippou Join Date: Apr 2019 Posts: 2 Rep Power: 0 Hello, I using the implicit unsteady method to model the flow field of a burner (including the swirler). I get 3 different velocity profiles that correspond to 3 different timesteps (10^-3, 5x10^-5 and 10^-4). It has been suggested to me to do cumulative average and see if it reaches an asymptotic value. In star I have only seen the regular and the moving average, do you know how I could do a cumulative one?

 November 5, 2020, 14:44 #2 Senior Member   Matt Join Date: Aug 2014 Posts: 847 Rep Power: 14 I don't think that makes sense to do inside of star-ccm. You have to do this across simulations, so its not a field function or report that any one model can return. I had never even heard of a cumulative average outside of a GPA so I did some reading, I think what is suggested is to do this... Y2(1) = Y(1) Y2(2) = (Y(1) + Y(2))/2 Y2(3) = (Y(1) + Y(2) + Y(3))/3 https://www.itl.nist.gov/div898/soft...hat%20element.

 November 6, 2020, 07:16 #3 New Member   Nikolaos Papafilippou Join Date: Apr 2019 Posts: 2 Rep Power: 0 First off, thanks for the prompt reply. In hindsight my original question was a bit unclear, I do apologise. Because these 3 timesteps produce different velocity fields, I would like to see how the cumulative average evolves over the course of the simulation, say for the 10^-3 s case. Could I do that by using a report and plot from star-ccm?

 November 6, 2020, 09:18 #4 Senior Member   Matt Join Date: Aug 2014 Posts: 847 Rep Power: 14 That makes more sense, thanks for clarifying. I think you will probably want to check out solution histories. You can use these to store data from previous time steps. It shouldn't be too complicated of an exercise to create a field function to do a cumulative average. Having not tried it myself, all I can do is point you in the right direction. Check out the help files under Post-Processing>Analysis Workflow>Transient Solution Data>Transient Solution Data Workflow>Retrieving Transient Solution Data. Perhaps someone else can give you a more specific answer.