multiphase flow
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) } } |
All times are GMT -4. The time now is 16:22. |