|November 3, 2011, 15:50||
what is wrong with the DEFINE_ADJUST macro?
Join Date: Nov 2011
Posts: 4Rep Power: 6
Hi, there is two pahses surface flow of water and air, whick is model with VOF method. I want to simulate the distribution of dissolved oxygen just in water. So I need to give the values at the air area where the volume ratio of air is much than 0.5 at every timestep. The code is written with DEFINE_ADJUST macor as following.
if (vair>0.5) C_UDSI(c,t,0)=8.1;
It can be interpreted and hooked well.
But when I run calculation, the following erres occur.
FLUENT received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.
please give me some advices, Thank you in advance.
|Thread||Thread Starter||Forum||Replies||Last Post|
|udf error||srihari||FLUENT||0||February 9, 2009 10:00|
|Macro Trouble -Winows Explorer Crashes with Macro||Martin Castillo||FLUENT||1||July 25, 2007 04:18|
|Macro problem||cfddummy||CD-adapco||1||April 9, 2007 12:37|
|macro not function!||guang ai||CD-adapco||0||July 25, 2004 18:53|
|Call a macro from a macro||Flav||CD-adapco||2||July 1, 2004 05:42|