|
[Sponsors] |
August 7, 2006, 19:53 |
Total Heat Flux Calculated by FLUENT
|
#1 |
Guest
Posts: n/a
|
Users,
wanted: how to access the total heat flux, as calculated by FLUENT, from within a UDF. context: I have a very simple rectangular (2d) enclosure- 4 walls. I've imposed constant temperatures to three of the sides and a linearly varying temperature along the 4th wall. I'm using the S2S radiation model, and this problem is radiation only- no flow. The walls are of "0" thickness and the enclosure is just air. I want the total heat flux at each cell/face, of the wall across from the one with varying temperature. I know Fluent can calculate the heat flux (you can plot it! or use "Wall Fluxes"), but I don't know how to get to it from within my UDF - is there a way to read it in or calculate it? Another way of calculating it using other vari ables determined by FLUENT? Thank you! |
|
August 9, 2006, 11:32 |
Re: Total Heat Flux Calculated by FLUENT
|
#2 |
Guest
Posts: n/a
|
for each wall zone, within a f_loop,do this: co=F_C0(f,t); /*see udf manual*/ tco=THREAD_T0(t); temp_face=F_T(f,t); temp_centroid=C_T(co,tco); BOUNDARY_FACE_GEOMETRY(f,t,A,ds,es,A_by_es,dr0);/*see manual*/ q=C_K_L(co,tco)*(temp_centroid-temp_face)/ds; /*that is q=lambda*DT/ds !*/
|
|
August 9, 2006, 11:38 |
Re: Total Heat Flux Calculated by FLUENT
|
#3 |
Guest
Posts: n/a
|
Don't you know how i was surprised by the fact that fluent can plot the heat flux but doesn't have a simple macro that works for each cell/face as i did! Moreover,i tested my way to compute heat flux, summing it all over the faces of a wall,and comparing it to the fluent's plot: perfect. Please, if you know how to, ask fluent inc. to enclose a similar macro in the next release! Cheers from Roma.
|
|
August 17, 2006, 14:31 |
Re: Total Heat Flux Calculated by FLUENT
|
#4 |
Guest
Posts: n/a
|
Thank you Daniele. I just found a different way- good news! FLUENT does have a hidden macro for heat flux (I don't know how anyone is supposed to figure this out- I got it through a tech support search). You can use the macro "BOUNDARY_HEAT_FLUX(f,t)" to return the total (convection, radiation, conduction) heat flux for a given face. This is flux per area, so multiply that value by the boundary's area if you want the total heat flux. I worked great in my simple model. So hopfully this macro will show up in the next eddition of the FLUENT UDF manual! --Darron
|
|
June 1, 2010, 08:46 |
|
#5 |
New Member
Join Date: Mar 2010
Posts: 3
Rep Power: 16 |
Hi Darron, I have the same problem...can you tell me where is this tuttorial/tech support or send me a copy or a link? Is it possible use the MACRO BOUNDARY_HEAT_FLUX with a dynamic mesh? Thank you very much...
Bye |
|
November 16, 2010, 22:17 |
|
#6 |
New Member
tan Xianghui
Join Date: Nov 2010
Posts: 3
Rep Power: 15 |
Would you please tell us more exactly of how to use the macro
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall Heat Flux & Temperature | Greg Perkins | FLUENT | 10 | November 20, 2015 10:32 |
Change Equation Total heat flux ? | boku | FLUENT | 0 | November 24, 2010 04:00 |
HTC/Wall Heat Flux monitoring in 12.1 | Michael.J | CFX | 4 | June 10, 2010 09:36 |
Inconsistent Total Heat Transfer Rate | Ken Adams | FLUENT | 0 | July 24, 2007 12:04 |
solar heat flux through roof | Tim | FLUENT | 1 | January 17, 2007 17:01 |