|
[Sponsors] |
February 23, 2007, 15:12 |
udf problem about wall heat flux
|
#1 |
Guest
Posts: n/a
|
Hi, I don't know how to define uniform heat flux of wall changing with time. Here is my code. But there is error when I start to iteration. If I should use DEFINE_HEAT_FLUX? Is there an simple example for this micro? Thanks!
#include "udf.h" DEFINE_PROFILE(fluxflow, thread, position) { real tim; face_t f; cell_t c; Thread *t; begin_f_loop(f, thread) { tim=RP_Get_Real("flow-time"); F_PROFILE(f, thread, position)=10tim } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User Wall Heat Flux | Dyls | STAR-CCM+ | 0 | May 13, 2013 11:58 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
UDF to calculate average heat flux | dynamics | Fluent UDF and Scheme Programming | 0 | July 21, 2012 18:54 |
heat flow UDF on coupled surface (wall-shadow wall) | Friedmann | Fluent UDF and Scheme Programming | 0 | August 5, 2010 10:25 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |