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

(ACCESS_VIOLATION) when i hook my UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 13, 2010, 09:55
Default (ACCESS_VIOLATION) when i hook my UDF
  #1
Member
 
gina
Join Date: Apr 2009
Posts: 56
Rep Power: 7
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, 06:45
Default
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 644
Rep Power: 10
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 02:05.
dmoroian is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 03:08
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
how to hook this udf shanu FLUENT 1 August 26, 2011 10:48
UDF hook problem in command line mode. Benlong FLUENT 1 November 12, 2007 14:45
UDF hook on the WALL boundary condition Luke FLUENT 0 June 7, 2006 11:54


All times are GMT -4. The time now is 22:21.