|
[Sponsors] |
[swak4Foam] Averaging along an axis.. swak4foam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 2, 2014, 13:02 |
Averaging along an axis.. swak4foam?
|
#1 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 118
Rep Power: 14 |
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. |
|
Tags |
averaging, les, swak4foam |
|
|
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 |