|
[Sponsors] |
March 30, 2006, 05:16 |
Help with----- ADJUST
|
#1 |
Guest
Posts: n/a
|
hi I have written a UDF and want to use this value as the velocity on the wall(slip condition). May be I have to use DEFINE_ADJUST but I do not know how to do it. Can anybody help me?
#include <udf.h> #include <mem.h> DEFINE_PROFILE(sidea_wall_vel, t, i) { real g_u; face_t f; cell_t c0; Thread *t0; begin_f_loop(f,t) { c0=F_C0(f,t); t0=t->t0; g_u=C_DUDY(c0,t0); F_PROFILE(f,t,i)=g_u; } end_f_loop(f,t) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to export every data w.r.t time to txt file | jaho | CFX | 94 | August 25, 2015 10:45 |
How to adjust wall temperature | nutow | FLUENT | 0 | September 4, 2011 06:37 |
ADJUST udf | Jubs | FLUENT | 3 | February 12, 2007 07:00 |
adjust gradient temperature on the cylinder's wall | Konrad | FLUENT | 1 | August 28, 2006 08:16 |
How to adjust turbulent transport constants? | Wang | FLUENT | 0 | December 6, 2000 08:57 |