CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   (ACCESS_VIOLATION) when i hook my UDF (

gina August 13, 2010 09:55

(ACCESS_VIOLATION) when i hook my UDF
Dear all,
I want to add a new K near the wall with the two low reynolds number (Abe and Chang) available in fluent.
this new k work very well with standard k_e but when I use the two low models ans i hok my UDF, FLUENT received fatal signal (ACCESS_VIOLATION).
please, can some one tell me why?!

thank you

dmoroian August 23, 2010 06:45

Hello Gina,
You don't give too many details so as a short answer: access violation means that you want to use a null pointer, or a pointer to a memory zone that is not allocated. What exactly generated this situation is hard to tell, especially without a sample of the code.
My suggestion is to try to run the udf under a debugger (here is an example how to do it:, or at least post the code that makes the trouble.

All times are GMT -4. The time now is 15:29.