A interesting question for multiphase experts!?
Hi;
I wrote a UDF for indirect accessing to mass imbalance and energy residual in two phase flow with VOF model. There isn't any mass transfer between phases . Also, I access to mass imbalance directly through Display--> contours-->mass imbalance and accessing to energy residual is possible through saving of cell residuals and keeping temporary solver memory from being freed using following TUI command: /solve/set> expert Change no to yes at: Save cell residuals for post-processing? [yes] Keep temporary solver memory from being freed? [yes] and then using following macro for energy residual access directly: C_STORAGE_R(c,t,SV_T_R) But results show that residuals using my udf (direct access) is wrong ? Why it happend? Would somebody like to recieve my udf code and help me? Thanks in advance for everybody help me. |
All times are GMT -4. The time now is 05:51. |