|
[Sponsors] |
August 13, 2010, 10:55 |
(ACCESS_VIOLATION) when i hook my UDF
|
#1 |
Member
gina
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
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 |
|
August 23, 2010, 07:45 |
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
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: http://www.cfd-online.com/Wiki/Udf_debug), or at least post the code that makes the trouble. Last edited by dmoroian; August 27, 2010 at 03:05. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
hook a compiled DEFINE_ADJUST UDF to FLUENT | caloggero | Fluent UDF and Scheme Programming | 3 | December 14, 2012 04:08 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
how to hook this udf | shanu | FLUENT | 1 | August 26, 2011 11:48 |
UDF hook problem in command line mode. | Benlong | FLUENT | 1 | November 12, 2007 15:45 |
UDF hook on the WALL boundary condition | Luke | FLUENT | 0 | June 7, 2006 12:54 |