CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF to calculate average heat flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2012, 19:54
Default UDF to calculate average heat flux
  #1
New Member
 
Join Date: Mar 2011
Posts: 7
Rep Power: 15
dynamics is on a distinguished road
Hi,
I am running a steady axisymmetric simulation (turbomachinery flow). During steady simulations, the wall heat flux oscillated due to unsteady and 3D nature of the flow (and I am forcing to solve it using steady axisymmetric approach).

I want to cumulatively average the wall heat flux w.r.t iterations ie.,
Let q_i = heat flux on a wall face at 'i' th iteration

i=1
qsum=q_1
qav=qsum/1

i=2
qsum=qsum+q_2
qav=qsum/2

i=3
qsum=qsum+q_3
qav=qsum/3

and so on

After the computations, I am planning to output the average heat flux (qav) on all the walls using
file/write-profile [wall_name]

Which UDF I need to use and please give some leads so that I can write it myself.

Thanks in advance
dynamics 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
Variable name for heat flux peterle CFX 4 February 13, 2014 03:21
how to Calculate heat flux??? sandip Main CFD Forum 0 December 4, 2009 05:58
UDF for a heat flux applied during T second on a w nazeem FLUENT 0 June 12, 2004 11:28
udf for transient heat flux BC isaac FLUENT 1 June 3, 2004 17:29
Heat flux UDF problem Paul FLUENT 1 September 11, 2003 07:13


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