CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   help in eulerian-eulerian (https://www.cfd-online.com/Forums/fluent/95204-help-eulerian-eulerian.html)

sebastian1430 December 9, 2011 02:50

help in eulerian-eulerian
 
Hi everyone, I am trying to simulate a packed bed reactor using eulerian-eulerian approach, but when I run this udf, fluent doesn't function, if anyone knows whats the problem, please help me. Fluent says:

Error:
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.
Error Object: #f

This is the udf

DEFINE_HET_RXN_RATE(hetreaction,c,t,r,mw,yi,rr,rr_ t)
{
*rr=C_T(c,t);
}

shk12345 December 9, 2011 10:25

hi
 
May be some property within your udf is not been calculated
Or some NAN number is being calculated in your udf
Then only that problems comes.

Use
printf("%f",variable names)
in ur udf and try to debug which variable is not been calculated properly in ur udf.

Hope taht will help you.

Thanks
SHK

sebastian1430 December 9, 2011 18:43

Thank youso muchshoeb, I'll check the code this weekend and I'll comment you


All times are GMT -4. The time now is 23:33.