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

Fluid property dependencies

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 15, 2003, 11:52
Default Fluid property dependencies
  #1
Atit Koonsrisuk
Guest
 
Posts: n/a
I read from 'CFX' manual that 'for a General Fluid, density and specific heat capacity can depend on pressure, temperature and any defined additional variables.' I would like to model the system which the 'real' water is a working fluid. The temperature of the system is changed significantly. So I would like to allow the density of water to change as temperature change. I can't find any example or tutorial for this kind of problem from the manual or the CFX forum. Could anyone suggestion me how to deal with this? Thank you very much.

Atit
  Reply With Quote

Old   November 16, 2003, 21:30
Default Re: Fluid property dependencies
  #2
Neale
Guest
 
Posts: n/a
what sort of functional dependence of density on temperature did you have in mind? If you know what you want then it could be as easy as entering an expression for density in CFX-Pre.

Neale
  Reply With Quote

Old   November 17, 2003, 05:21
Default Re: Fluid property dependencies
  #3
Atit Koonsrisuk
Guest
 
Posts: n/a
Actually I am not sure yet. I found, from textbooks, the density of water in table form or express implicitly in non-linear equation form, that I have no idea how to enter it in CFX. Could you provide me the suggestion please? Thank you very much.

Atit
  Reply With Quote

Old   November 18, 2003, 02:27
Default Re: Fluid property dependencies
  #4
Jeniffer
Guest
 
Posts: n/a
Hi, Atit,

There is a Density Dependence and Temperature Dependence option when you set the density.

Good luck,

Jeniffer
  Reply With Quote

Old   November 18, 2003, 03:50
Default Re: Fluid property dependencies
  #5
matej
Guest
 
Posts: n/a
Hi Atit,

You can find a lot of info (including references!) on http://webbook.nist.gov/chemistry/

The easiest way you can start with is to push the data you have got in tables through some regression, and find a fit for your temperature region. Then you can go for variable density of water, and add the function of density on temperature/pressure into the ccl. (how to do this is described in tutorial.) This way you will see, if you are getting the effect you want and you can search for more precise and correct way of doing it.

good luck matej
  Reply With Quote

Old   November 19, 2003, 05:38
Default Re: Fluid property dependencies
  #6
Atit Koonsrisuk
Guest
 
Posts: n/a
Thank you for your very useful information. After I follow your suggestion, I got this problem. I create the expression for density that depend on temperature. In 'Properties' form of 'Water at RTP Modified'. I enter that expression for 'Density', and tick 'Temperature' checkbox at the 'Density depends on' part in 'Density Dependency' form. Following that, the 'Set Buoyancy properties' checkbox in 'Properties' form is gray, and I have to enter the range of temperature. Then I go to 'Fluid Models' form. Since my problem is about natural convection in water, I choose 'Buoyant' in the 'Buoyancy Model'. However when I press 'Apply' , I got the error message say that 'The thermal expansivity has not been set. Please change the fluid so that it has these properties, or chage the domain models.' I solve the above problem by leaving the checkbox blank, that mean I enter only the CEL expression for density. Then the 'Set Buoyancy properties' checkbox is not gray and there is no temperature range to be enter in this time. After entering the expansivity value, everything seems to be OK. However the result from 'Solver' is likely to be wrong. Any suggestion? Thank you very much.
  Reply With Quote

Old   November 19, 2003, 05:54
Default Re: Fluid property dependencies
  #7
matej
Guest
 
Posts: n/a
I'm not any expert in buoyancy matters, but I guess you can either set the density dependency and then set the grav. force in momentum equation, OR you can use the buoynancy model in cfx, which switch on the boussinesq approximation where you need to set the thermal expasivity and the grav. force is set automaticly by cfx. You should not try to use all of it at one run ).

Are you really sure, that the results with buoynancy model are wrong?

matej

  Reply With Quote

Old   November 20, 2003, 01:37
Default Re: Fluid property dependencies
  #8
Atit Koonsrisuk
Guest
 
Posts: n/a
Dear Matej, How do we set the gravity force in momentum equations? Thank you very much.

Atit
  Reply With Quote

Old   November 20, 2003, 03:36
Default Re: Fluid property dependencies
  #9
matej
Guest
 
Posts: n/a
You need to add the source into the momentum equation. That is described in Physical models of Solver modelling p.28

the source itself is defined for example in Sovler theory on p. 26. where the buoynancy model is described.

From a technical point of view: You create Subdomain, and you prescribe a source in the subdomain. If you want a source in the whole geo, you prescribe the subdomain for the whole geometry. weverything in panels in cfx5pre.

final hint - it is a good idea to run a buoynancy problem in double precision!

matej

  Reply With Quote

Old   November 25, 2003, 23:35
Default Re: Fluid property dependencies
  #10
Neale
Guest
 
Posts: n/a
Atit,

Thermal expansivity is only required if density is a constant and you are running a buoyancy model. In this case the flow solver uses the Bousinessque model which adds a source term to the momentum equation which is something like g*beta*(T-Tref) where T is the fluid temperature.

When density is varying with temperature, as in your case, the Bousinessque model no longer applies and the flow solver will switch to using the full bouyancy model which adds a source term to the momentum equation in the form (rho - rho_ref)*g. CFX-Pre is not smart enough to automatically detect that your density is a function of temperature so it asks you to specify it instead. Sounds like a bug in Pre really. The flow solver will do the right thing, have no worries.

Neale
  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
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Theory behind the solid domain rotation in fluid using Bets property Riken CFX 0 October 28, 2009 10:51
VOF - fluid property problem weechristo FLUENT 1 April 11, 2009 15:08
How to apply negtive pressure to outlet bioman66 CFX 5 June 3, 2006 01:40
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 18:55.