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

How does fluent calculate the temperature when applying constant heat flux?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2023, 10:44
Default How does fluent calculate the temperature when applying constant heat flux?
  #1
New Member
 
Join Date: Jun 2022
Posts: 27
Rep Power: 3
Mars35 is on a distinguished road
Hi guys,

I was writing a udf to describe the wall temperature under a constant heat flux of 10,000 in 2D.

However, my fluid temperature profile is different from/lower than the one ansys simulated on its own. I was wondering how fluent calculate the temperature based on the heat flux. Here is my code, any help would be greatly appreciated!

#include "udf.h"
#include "sg.h"
#define q 10000.0
#define k 0.6

DEFINE_PROFILE(wall_temperature,t,i)
{
real A[ND_ND];
real ds, A_by_es;
face_t f;
real es[ND_ND];
real dr0[ND_ND];

begin_f_loop(f,t)
{

BOUNDARY_FACE_GEOMETRY(f,t,A,ds,es,A_by_es,dr0);
F_PROFILE(f,t,i)= C_T(F_C0(f,t),THREAD_T0(t))+q/k*ds;
}
end_f_loop(f,t)
}
Mars35 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
How to Calculate the flow heat transfer temperature in a tube if heat flux is given ? nareshzeeda1994 FLUENT 0 March 9, 2018 01:12
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
UDF for a constant heat flux minus radiation based on face temperature MarioArias Fluent UDF and Scheme Programming 3 March 10, 2015 15:54
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
Constant wall heat flux with uniform temperature Jake FLUENT 2 September 29, 2003 11:34


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