CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Wall boundary conditions for temperature (http://www.cfd-online.com/Forums/fluent/43655-wall-boundary-conditions-temperature.html)

J.Y.Shin February 8, 2007 01:30

Wall boundary conditions for temperature
 
Following was the program for specifying that the wall temperature is equal to the "adjacent cell temperature + 10", but it failed.

What's wrong with my program????? ---------------------------------------------------------- #include "udf.h"

DEFINE_PROFILE(face_temp_grad, thread, position) { face_t f; cell_t c;

begin_f_loop(f, thread) {

F_PROFILE(f, thread, position) = C_T(c,thread)+10.; } end_f_loop(f, thread)

}


All times are GMT -4. The time now is 06:17.