CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Cumulative average

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2020, 11:02
Default Cumulative average
  #1
New Member
 
Nikolaos Papafilippou
Join Date: Apr 2019
Posts: 25
Rep Power: 7
Nikpap is on a distinguished road
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?
Nikpap is offline   Reply With Quote

Old   November 5, 2020, 13:44
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 17
fluid23 is on a distinguished road
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.
fluid23 is offline   Reply With Quote

Old   November 6, 2020, 06:16
Default
  #3
New Member
 
Nikolaos Papafilippou
Join Date: Apr 2019
Posts: 25
Rep Power: 7
Nikpap is on a distinguished road
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?
Nikpap is offline   Reply With Quote

Old   November 6, 2020, 08:18
Default
  #4
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 17
fluid23 is on a distinguished road
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.
fluid23 is offline   Reply With Quote

Old   February 2, 2021, 05:16
Default
  #5
New Member
 
Nikolaos Papafilippou
Join Date: Apr 2019
Posts: 25
Rep Power: 7
Nikpap is on a distinguished road
Hello!

So the way I finally did it was by creating the points I wanted to monitor in my domain. Then I created an XYZ internal table and auto extracted it based on timestep.

Using solution histories maybe could have been an option but I didnt manage to make it work and I also guess it would be way more demanding. The only downside in what I used is that I get a lot of .csv files that I have to combine in one place.

Thanks for the help!
Nikpap 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
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 13:48
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 17:24.