CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

USD for heat flux BC

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

LinkBack Thread Tools Display Modes
Old   March 12, 2009, 09:24
Default USD for heat flux BC
Posts: n/a
Dear Fluent User, Could you please help me to write a UDF for the following boundary condition: Heat flux at some wall= aT^2 where T is temperature and a is constant. Many thanks
  Reply With Quote

Old   March 16, 2009, 10:42
New Member
Mavis Milton
Join Date: Mar 2009
Posts: 10
Rep Power: 10
milton.tafadzwa is on a distinguished road
You can try this. My computer does not have both c and fluent software so did not test it.
#include "udf.h"
#define A (value of a)
DEFINE_PROFILE(heat_flux, c, t)
cell_t c;
real x[ND_ND];
real T = C_T(c, t);

begin_c_loop (c,t)
y =x[1];
F_PROFILE(c,t,i) =A*T*T;
end_c_loop (c,t)
milton.tafadzwa is offline   Reply With Quote


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
Wind turbine simulation Saturn CFX 48 October 25, 2017 06:07
Problem setting with chtmultiregionFoam Antonin OpenFOAM 10 April 24, 2012 09:50
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Definition of Mass flux F1 Gavin Siemens 1 April 17, 2006 17:51
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09

All times are GMT -4. The time now is 06:47.