CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Density is a function of location

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 11, 2007, 14:17
Default Density is a function of location
  #1
magda
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 11, 2007, 15:02
Default Re: Density is a function of location
  #2
charafedddine
Guest
 
Posts: n/a
hi, yes it depends on x, y and the time
  Reply With Quote

Old   June 11, 2007, 15:20
Default Re: Density is a function of location
  #3
magda
Guest
 
Posts: n/a
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
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
UDF for density as a function of something not necessarily temperature! rmousavibt FLUENT 0 May 12, 2009 10:12
Solver and density function for high speed vapour christian OpenFOAM Running, Solving & CFD 17 April 12, 2007 02:41
User defined function for density gradient ben akih CFX 3 October 10, 2006 21:47
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


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