|
[Sponsors] |
December 2, 2008, 09:03 |
UDF using problem, error happens-heip!!
|
#1 |
Guest
Posts: n/a
|
Hi everyone,
I have a problem with using udf in the Stanford website http://www.stanford.edu/class/me469b/handout.html, 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) if (FLUID_THREAD_P(t)) { begin_c_loop(c,t) { 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); } end_c_loop(c,t) } } 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. |
|
December 9, 2008, 08:51 |
Re: UDF using problem, error happens-heip!!
|
#2 |
Guest
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help problem with "syntax error" | Bo | FLUENT | 0 | February 16, 2009 12:15 |
Error in fluent, Who knows what's the problem? | tina | FLUENT | 0 | October 7, 2008 23:07 |
Will this global error cause me any problem? | Forrest | CFX | 2 | February 9, 2006 10:33 |
Plotting Problem/Error | Shazlan | Siemens | 3 | March 30, 2005 06:19 |
UDF problem error msg | Johan Svensson | FLUENT | 0 | May 12, 2004 11:42 |