CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

(ACCESS_VIOLATION) when i hook my UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2010, 10:55
Default (ACCESS_VIOLATION) when i hook my UDF
  #1
Member
 
gina
Join Date: Apr 2009
Posts: 56
Rep Power: 17
gina is on a distinguished road
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
gina is offline   Reply With Quote

Old   August 23, 2010, 07:45
Default
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
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.
dmoroian is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:34.