CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Heat flux BC at some walls is function of T (https://www.cfd-online.com/Forums/fluent/50856-heat-flux-bc-some-walls-function-t.html)

shannag March 12, 2009 19:04

Heat flux BC at some walls is function of T
 
Dear friends, I would like to apply a heat flux BC at some walls which is function of Temperature. Could you help me to write UDF for this case, example Heat flux= aT^2 where a is constant and T is temperature. many thanks shannag

A Kourm March 13, 2009 05:13

Re: Heat flux BC at some walls is function of T
 
Hi,

If you have a look at the FLUENT UDF User's manual (if you dont have one just google it and it will show up somehwere), there is an example there that sets a velocity profile BC (pg. 3-4 on the 6.1 version), you effectively are going to write the exact same thing, only the line which contains F_PROFILE for you will have your heat flux bc.

use something like C_T(c,tc) to get the cell temperature while you are looping through all the cells.

hope that helps

Agi

shannag March 13, 2009 13:46

Re: Heat flux BC at some walls is function of T
 
Dear A Kourm, I am new fluent user, I will try it and I will let you know . Many thanks and kind regards Shannag


All times are GMT -4. The time now is 21:59.