CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Density Gradient- UDF (

Michal May 23, 2002 03:15

Density Gradient- UDF

How can I access a density gradient for UDF purposes? Macro C_R_G(c,t) doesn't work.


Greg Perkins May 23, 2002 06:41

Re: Density Gradient- UDF
I think the usage is:

C_R_G(c,t)[0] for x direction C_R_G(c,t)[1] for y direction etc.

If that doesn't work, copy C_R into a uds and then use



Michal May 23, 2002 06:45

Re: Density Gradient- UDF
Thanks for Your response,

I will try to do it by UDS - but I think such macro for density gradient should exists...


All times are GMT -4. The time now is 19:37.