CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Accessing C_DUDX (http://www.cfd-online.com/Forums/fluent/37102-accessing-c_dudx.html)

CC June 30, 2005 04:54

Accessing C_DUDX
 
Hi All,

I'm trying to access C_DUDX, C_DUDY, etc from within a UDF. I have worked out that if I try to use these macros straight after loading a case all I get is 0.0, but if I provoke Fluent into using the velocity derivative through the GUI (i.e. by clicking 'calculate' in the contour plot menu with dx-velocity/dx selected) then I get useful values.

Does anybody know how I can provoke Fluent to determine these values without me having to intervene through the GUI?

Also, does anybody know how C_DUDX and D_U_G[0] differ?

Thanks,

Chris


All times are GMT -4. The time now is 00:01.