|
[Sponsors] |
July 15, 2008, 04:08 |
UDF: How to use Macro C_VOF()
|
#1 |
Guest
Posts: n/a
|
Hi, every one:
I have defined a 2D immiscible liquid-liquid flow flied in a square box. I used the VOF model. I wanna identify the interface between the two liquids, so I used the following code to identify the interface: cell_t c; Thread *t; begin_c_loop(c,t) { real vof; vof=C_VOF(c,t); if (vof>0.&& vof<1.) { } However, when the UDF load to the fluent and iterating, there were errors ACESS_VIOLATION So I doubt that the using of the C_VOF has limitation. Could anyone who konws about this? Thank you very much!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
load sheme macro (Solv Execute Command macro) | manu | FLUENT | 2 | March 13, 2008 01:00 |
Macro Trouble -Winows Explorer Crashes with Macro | Martin Castillo | FLUENT | 1 | July 25, 2007 04:18 |
error in udf, C_VOF | paulina | FLUENT | 0 | April 16, 2004 09:29 |
error in udf, C_VOF | paulina | FLUENT | 0 | April 16, 2004 09:27 |
UDF{ C_VOF(c,pt[n]) } two phase flow | ROOZBEH | FLUENT | 2 | April 21, 2003 04:09 |