CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Averaging along an axis.. swak4foam?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 2, 2014, 13:02
Question Averaging along an axis.. swak4foam?
  #1
Senior Member
 
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 118
Rep Power: 14
tiam is on a distinguished road
Dear Foamers!

I am performing some channel flow LES. I would like to look at different statistics and how they converge, yet I have to be reasonable about the size of the data my simulation produces.

To stick to a simple example, let us assume that I am interested in seeing how the mean velocity profile is developing. Ideally, I would want to have OpenFOAM average the x-velocity component along z and x and produce a single profile along y. Then I can afford to save this profile at each iteration (or every 100, doesn't matter) and see how it is developing. Similar reasoning can be applied for second order moments, skewness etc.

So the question is whether I can do this averaging without starting to mess with pimpleFoam. Function objects enriched with swak4foam come to mind, so I started looking at that. As far as I see there is no averaging along an axis/direction implemented, probably because this is meangless in a lot of cases.

Any ideas? This is, after all, a pretty comon task for those who deal with turbulence investigation.
tiam is offline   Reply With Quote

 

Tags
averaging, les, swak4foam


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
[swak4Foam] averaging in spanwise direction of a patch kenny13 OpenFOAM Community Contributions 1 October 3, 2017 10:07
[swak4Foam] problems with averaging a new field fgarita OpenFOAM Community Contributions 1 October 28, 2016 03:27
Starting field averaging using libFunctionObject after certain time eelcovv OpenFOAM Programming & Development 25 December 7, 2015 22:28
Axis treatment in axisymmetrical problem Jakob1 OpenFOAM Pre-Processing 2 August 25, 2014 03:09
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 3 June 26, 2013 13:00


All times are GMT -4. The time now is 12:10.