|
[Sponsors] |
January 22, 2010, 10:30 |
multiphase flow
|
#1 |
New Member
ali bedir
Join Date: Jan 2010
Posts: 1
Rep Power: 0 |
Hi,
I study nanofluids and I use mixture model. There are two phases: solid particular and liquid phase. I want to modify effective thermal conductivity. I have writen an UDF. I want udf to use constant experimantal efective thermal conductivity(C_K_EFF). when I interprete, there is an error: invalid lvalue in assignment(C_K_EFF(c,mix_thread,prt)=0.63. which macro should I use? Here is the udf: DEFINE_ADJUST(myudf, mix_domain) { Thread *mix_thread; Thread **pt; cell_t c; real prt; mp_thread_loop_c(mix_thread, mix_domain, pt) { begin_c_loop(c, mix_thread) { C_K_EFF=(c, mix_thread,prt)=0.63; } end_c_loop(c, mix_thread) } } |
|
Tags |
multiphase, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase flow! | Amer | FLUENT | 2 | May 16, 2012 16:57 |
Multiphase flow information | amir | FLUENT | 2 | May 25, 2007 07:01 |
Realizable k-epsilon eqns for multiphase flow | Rana | FLUENT | 0 | December 8, 2006 14:46 |
Multiphase Flow | mbga8ejf | CFX | 0 | July 10, 2003 11:26 |
multiphase flow | Shane Gillis | FLUENT | 10 | August 28, 2000 20:12 |