CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Density Gradient- UDF (https://www.cfd-online.com/Forums/fluent/29789-density-gradient-udf.html)

Michal May 23, 2002 03:15

Density Gradient- UDF
 
Hi,

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

Michal

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

C_UDSI_G(c,t,uds)[0]

Greg

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...

Michal


All times are GMT -4. The time now is 21:12.