CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Density is a function of location (http://www.cfd-online.com/Forums/fluent/44991-density-function-location.html)

magda June 11, 2007 14:17

Density is a function of location
 
Hi all,

I have a question about defining density. Is it possible to define the fluid density as a function of location?? say it depends on x, y coordinates only.

thanks, magda

charafedddine June 11, 2007 15:02

Re: Density is a function of location
 
hi, yes it depends on x, y and the time

magda June 11, 2007 15:20

Re: Density is a function of location
 
hmm...ok...if it's a steady state case so i don't have to consider it depends on time.

how can i define that?? I tried to write a udf and compile it, but it didn't work. I used a DEFINE_PROPERTY function. can you give me more hints? thanks


All times are GMT -4. The time now is 09:30.