|
[Sponsors] |
July 15, 2008, 16:32 |
Problem with DEFINE_ADJUST
|
#1 |
Guest
Posts: n/a
|
Hi,
I am using a UDF in Define_Adjust to do some calculations. My UDF is as follows: DEFINE_ADJUST(Adju,d) { real density; Thread *t; cell_t c; density = C_R(c,t); } I interpret it but when I iterate then it gives 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: () Kindly suggest, why I am getting this error and how this problem can be solved. Thanks Anshul Mittal |
|
July 15, 2008, 17:32 |
Re: Problem with DEFINE_ADJUST
|
#2 |
Guest
Posts: n/a
|
I hope you doing loop over the 'Thread' like as follow
DEFINE_ADJUST(Adju,d) { real density; Thread *t; cell_t c; thread_loop_c(t,d) { begin_c_loop(c,t) density = C_R(c,t); end_c_loop(c,t) } } |
|
July 17, 2008, 13:21 |
Re: Problem with DEFINE_ADJUST
|
#3 |
Guest
Posts: n/a
|
Thanks.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DEFINE_ADJUST Problem | Davis Yohanes Arifin | FLUENT | 14 | February 29, 2020 04:37 |
Problem setting C_MU_T with DEFINE_ADJUST | Andy | FLUENT | 3 | June 22, 2018 02:53 |
Could I use DEFINE_ADJUST to set B.C ? | pour | FLUENT | 0 | May 22, 2008 13:07 |
About DEFINE_ADJUST | sagga | FLUENT | 1 | February 3, 2006 09:49 |
Problem setting C_MU_T with DEFINE_ADJUST | sarah_ron | FLUENT | 1 | February 24, 2005 12:11 |