CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

runtime averaging along homogenous directions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 17, 2016, 05:06
Default runtime averaging along homogenous directions
  #1
New Member
 
Joao Bettencourt
Join Date: Feb 2016
Posts: 4
Rep Power: 2
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, 04:01
Default
  #2
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Brussels
Posts: 103
Rep Power: 5
agustinvo is on a distinguished road
Hello Joao

In this thread a sample utility is presented
Homogeneous Average
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:
https://github.com/OpenFOAM/OpenFOAM...us/postChannel

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

Reply

Thread Tools
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 On
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 02:11
When to use mass flow averaging cspectre CFX 2 December 6, 2009 06:30


All times are GMT -4. The time now is 11:02.