CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF for wall heat flux ? (http://www.cfd-online.com/Forums/fluent/28297-udf-wall-heat-flux.html)

Seyoung Oh March 11, 2001 22:51

UDF for wall heat flux ?
 
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.

Xiao Hu April 13, 2001 16:49

Re: UDF for wall heat flux ?
 
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.

Christophe Doublet June 9, 2001 10:58

Re: UDF for wall heat flux ?
 
"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???

Greg Perkins June 14, 2001 00:22

Re: UDF for wall heat flux ?
 
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


All times are GMT -4. The time now is 08:01.