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

UDF for wall heat flux ?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2001, 23:51
Default UDF for wall heat flux ?
  #1
Seyoung Oh
Guest
 
Posts: n/a
Hi ! Fluent users

I am tring to use UDF to modificate the heat flux at the wall boundary. However, I can't find the Fluent's variable which denotes the wall heat flux in the function " DEFINE_HEAT_FLUX".

Is there anybody who know this variable name? please let me know.

Thanks in advance.
  Reply With Quote

Old   April 13, 2001, 16:49
Default Re: UDF for wall heat flux ?
  #2
Xiao Hu
Guest
 
Posts: n/a
Looks like you may want to use DEFINE_PROFILE instead of DEFINE_HEAT_FLUX. DEFINE_PROFILE allows you to define a heat flux profile while DEFINE_HEAT_FLUX allows you to define the way to calculate heat flux. In other words, if you want to specify heat flux as a function of location, DEFINE_PROFILE is what you need.
  Reply With Quote

Old   June 9, 2001, 10:58
Default Re: UDF for wall heat flux ?
  #3
Christophe Doublet
Guest
 
Posts: n/a
"Looks like you may want to use DEFINE_PROFILE instead of DEFINE_HEAT_FLUX. DEFINE_PROFILE allows you to define a heat flux profile while DEFINE_HEAT_FLUX allows you to define the way to calculate heat flux.In other words, if you want to specify heat flux as a function of location, DEFINE_PROFILE is what you need."

Hi, I have a similar problem: I want to specify a heat transfer coeficients profile around a turbine blade in 3d. Ok, my profile is constant all over the blade span. To have an exemple of what FLUENT expects as an input file. I ran a dummy case, then PROFILE-> Write, I choose my surface and Heat transfer coefficient and now I have a file with: 4 vectors (x, y, z, heat transfer coefficients). I have a huge amount of points (all the nodes of my mesh I guess...), but I just want to specify a few points. Is there a mean of doing that or have I really to specify a value for each nodes???
  Reply With Quote

Old   June 14, 2001, 00:22
Default Re: UDF for wall heat flux ?
  #4
Greg Perkins
Guest
 
Posts: n/a
My understanding is that

DEFINE_PROFILE allows you to define the heat flux profile at the surface

whereas

DEFINE_HEAT_FLUX allows you to define the heat transfer co-efficient profile at the surface

I have used both in my codes.

You can specify a constant or variable values depending upon how you write your udf. Do this by accessing the node, face data and adjacent cell data at the surface.

Example: If you want to modify just some points for a different heat transfer co-efficient you can use the example for DEFINE_HEAT_FLUX in the udf manual and add a test to change h at a particular region on the surface.

Greg
  Reply With Quote

Old   December 3, 2014, 14:17
Smile
  #5
New Member
 
Farzad Montazery
Join Date: Oct 2014
Location: Iran, Tabriz
Posts: 21
Rep Power: 2
famon is on a distinguished road
Quote:
Originally Posted by Greg Perkins
;97255
My understanding is that

DEFINE_PROFILE allows you to define the heat flux profile at the surface

whereas

DEFINE_HEAT_FLUX allows you to define the heat transfer co-efficient profile at the surface

I have used both in my codes.

You can specify a constant or variable values depending upon how you write your udf. Do this by accessing the node, face data and adjacent cell data at the surface.

Example: If you want to modify just some points for a different heat transfer co-efficient you can use the example for DEFINE_HEAT_FLUX in the udf manual and add a test to change h at a particular region on the surface.

Greg
Hi
I am writing UDF code for variable heat flux over a circular tube but H value is unacceptable, could you please look at my UDF and tell me my mistakes?

#include "udf.h"
DEFINE_PROFILE(axial_flux_profile,t,i)
{
real x[ND_ND]; /* this will hold the position vector */
real q;
real m;
face_t f;

begin_f_loop(f,t)
{
F_CENTROID(x,f,t);
q = 0.5; /* q is the heat flux at z=0 in W/m2 */
m = 1;
F_PROFILE(f,t,i) = q*exp(0.5*m*x[3]);
}
end_f_loop(f,t)
}


Best Regards
Farzad
famon 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
CFX - wall heat flux divarano CFX 2 December 4, 2006 17:14
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
heat flux to heat rejection azmir CD-adapco 0 June 23, 2004 20:53
UDF for a heat flux applied during T second on a w nazeem FLUENT 0 June 12, 2004 10:28
udf for transient heat flux BC isaac FLUENT 1 June 3, 2004 16:29


All times are GMT -4. The time now is 19:26.