|
[Sponsors] |
January 15, 2009, 07:54 |
HELP!!!about species transfer
|
#1 |
Guest
Posts: n/a
|
now I am using species transfer. but there are a problem with it. the mass fraction is suppose to smaller than 0.5,but the running result is always bigger than 0.5. I try to write UDF to fix the value. but fluent always show me mistake. I hope anyone can give me a help for this problem.
Thanks very much. #include "udf.h" DEFINE_PROFILE(mass_fraction, thread, position) { real y; face_t f; Thread *t; cell_t c; int i; y = C_YI(c,t,i); if (y < 0.5) y = y; if (y>0.5) y = 0.5; begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = y; } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Species Mass Transfer | houman | CFX | 2 | January 4, 2006 06:44 |
Species Mass Transfer | Abu-Khawlah | FLUENT | 0 | December 9, 2005 11:35 |
transfer of species | Muhammad Shakaib | FLUENT | 0 | October 12, 2005 06:47 |
about the species transfer during solidification | Bing Ma | FLUENT | 0 | March 1, 2005 10:42 |
Species Transfer !!! Top Top Urgent!!! | Mohammed Shamol | FLUENT | 2 | April 27, 2004 04:20 |