CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

runtime averaging along homogenous directions

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2016, 06:06
Default runtime averaging along homogenous directions
New Member
Joao Bettencourt
Join Date: Feb 2016
Posts: 4
Rep Power: 7
jbettencourt is on a distinguished road
Dear all,

I am simulating DNS of channel flow where the x and y direction have periodic BC. I want to compute a profile in z (the non-homogenous direction) of the fluctuating velocity components. To do this I need to average the velocity components at each z=constant level of my structured mesh.

I have searched the OpenFOAM literature and forums and found only approximate solutions. I could use a sampling function object but my problem is how to specify that, at each time step, the function object must sample at several planes along the z direction?
jbettencourt is offline   Reply With Quote

Old   June 8, 2016, 05:01
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Fuenlabrada
Posts: 271
Rep Power: 11
agustinvo is on a distinguished road
Hello Joao

In this thread a sample utility is presented
where a plane is obtained by averaging in one direction.

But, if you only want to have a profile (i.e. a line), you should use this application:

If there is any possibility to do this during the runtime, I have no idea, but I would like to know

I hope it was helpful!
agustinvo is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Starting field averaging using libFunctionObject after certain time eelcovv OpenFOAM Programming & Development 25 December 7, 2015 23:28
Spanwise averaging during runtime for dynamic Smagorinsky kreddy OpenFOAM Programming & Development 3 February 18, 2015 09:20
Problem in3D model processing mebinitap OpenFOAM 2 December 12, 2014 05:40
runTime out of scope in functionObject Sune OpenFOAM Programming & Development 2 September 26, 2012 03:11
When to use mass flow averaging cspectre CFX 2 December 6, 2009 06:30

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