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

How to calculate mean turbulent flux in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ykanani

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2015, 10:49
Default How to calculate mean turbulent flux in openfoam
  #1
New Member
 
Simon Zhang
Join Date: Dec 2013
Posts: 12
Rep Power: 12
simonsg is on a distinguished road
Hi guys,

Is anyone know how to calculate mean turbulent flux (mean u'c') in openfoam? I know people can set function object in controlDict for fieldAverage to compute turbulence fluctuation such as mean u' or mean c'. But how to compute mean u'c'? Do we need to create customized functions for that? Anyone with similar experience can give suggestions?

Thanks & regards,
Simon
simonsg is offline   Reply With Quote

Old   September 28, 2016, 13:34
Default
  #2
Member
 
Yousef
Join Date: Feb 2015
Posts: 40
Rep Power: 11
ykanani is on a distinguished road
Quote:
Originally Posted by simonsg View Post
Hi guys,

Is anyone know how to calculate mean turbulent flux (mean u'c') in openfoam? I know people can set function object in controlDict for fieldAverage to compute turbulence fluctuation such as mean u' or mean c'. But how to compute mean u'c'? Do we need to create customized functions for that? Anyone with similar experience can give suggestions?

Thanks & regards,
Simon
1- define new variable like uc (with multiplying instantaneous values of u to c)
2- use fieldaverage utility to calculate <uc>, <u>, <c> (time average )

3- Then <u'c'> = <uc> - <u><c> (you can either calculate it in paraview or by adding the calculation to the solver, first one is easier)
jadidi.cfd likes this.
ykanani 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
Udf for moving heat flux in 2D cylindrical geometry devia21 Fluent UDF and Scheme Programming 0 April 20, 2015 01:27
Calculating heat flux in OpenFOAM eretief OpenFOAM Programming & Development 1 May 19, 2014 11:15
wall heat flux in openfoam hz283 OpenFOAM 1 January 4, 2014 08:51
Turbulent heat flux through the wall feldy77 OpenFOAM 6 March 6, 2012 14:33
isotropic homogeneous turbulent flow field with OpenFoam Matthias89 OpenFOAM 2 February 5, 2012 08:26


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