|
[Sponsors] |
How does fluent calculate the temperature when applying constant heat flux? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 30, 2023, 10:44 |
How does fluent calculate the temperature when applying constant heat flux?
|
#1 |
New Member
Join Date: Jun 2022
Posts: 27
Rep Power: 3 |
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) } |
|
|
|
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 |