CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF using problem, error happens-heip!!

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2008, 08:03
Default UDF using problem, error happens-heip!!
Posts: n/a
Hi everyone,

I have a problem with using udf in the Stanford website, which is for a low-reynolds number-k-e model by using scalar equaitons by deactivating the k and e equations.

I compile and attach the UDF in FLUENT with no problem, and hooking the various functions (sources,bc,scalar diffusivity and eddy viscosity) is ok, but after i hook the udf Routine of DEFINE_ADJUST and initializing, FLUENT gives me this fatal error:

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: ()

the UDF routines of DEFINE_ADJUST is as follows,

DEFINE_ADJUST(turb_adjust, domain) {

Thread *t;

cell_t c; /* Set the turbulent viscosity */

thread_loop_c (t, domain)





C_STORAGE_R(c,t,SV_MU_T) = C_R(c,t)*CMU*f_mu(c,t)*sqrt(C_UDSI(c,t,TKE))/C_UDSI(c,t,TDR);



} }

The problem above have bothered me for a long time. Can anybody tell me the reason? I can give you my case file by e-mail,If necessary. Any help would be much appreciated. Micheal.
  Reply With Quote

Old   December 9, 2008, 07:51
Default Re: UDF using problem, error happens-heip!!
Posts: n/a
Hi Michael,

Did you find some solution for the error.

if you have some solution, Can you post the same or write an email to me.

Thanks. Sk.

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
help problem with "syntax error" Bo FLUENT 0 February 16, 2009 11:15
Error in fluent, Who knows what's the problem? tina FLUENT 0 October 7, 2008 22:07
Will this global error cause me any problem? Forrest CFX 2 February 9, 2006 09:33
Plotting Problem/Error Shazlan Siemens 3 March 30, 2005 05:19
UDF problem error msg Johan Svensson FLUENT 0 May 12, 2004 10:42

All times are GMT -4. The time now is 09:03.