|
[Sponsors] |
February 7, 2006, 11:47 |
THREAD_STORAGE always == NULL
|
#1 |
Guest
Posts: n/a
|
Hi all,
I have a udf wherein I impose a mass fraction gradient. Since at the first step the gradient is not defined, I placed a control like this: if (NULL != THREAD_STORAGE(t,SV_Y_0_G)) dYfdy = C_YI_G(c,t,0)[1]; else dYfdy = -0.1; My problem is that THREAD_STORAGE(t,SV_Y_0_G) is ALWAYS equal to zero at every step (not only the first). And if I change my grid it seems to work. Does anyone have idea why I have this problem? Thanks guys, keep up the good work. Luca |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent- Error: Null Domain Pointer | Mary | FLUENT | 12 | February 28, 2020 10:44 |
momentum source in half-cylindrical null objects | Noel | Phoenics | 1 | December 16, 2008 05:51 |
null pointer error | Virag | FLUENT | 0 | March 3, 2007 02:12 |
FSI: null element in coupled-physics | yus | Main CFD Forum | 0 | January 11, 2005 08:09 |
IPALL giving NULL values | cfd guy | CFX | 0 | November 29, 2001 10:51 |