CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to find density without having dynamic viscosity?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By alexeym
  • 1 Post By mturcios777
  • 1 Post By mturcios777

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2014, 11:07
Default How to find density without having dynamic viscosity?
  #1
ooo
Member
 
Join Date: Feb 2012
Posts: 49
Rep Power: 14
ooo is on a distinguished road
For a particular purpose, I need to know the density in my flow simulation. But the only parameter can be set, is the kinematic viscosity.
For example consider a simulation with the nu=0.01.
If i don't have the dynamic viscosity, how can i find the density?!
ooo is offline   Reply With Quote

Old   January 20, 2014, 11:47
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

I guess you are doing your incompressible flow simulation. So density is constant everywhere. So if you take random simulation with random value of kinematic viscosity there's no way to get density out of it.
ooo likes this.
alexeym is offline   Reply With Quote

Old   January 20, 2014, 14:42
Default
  #3
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
As long as you have set your kinematic viscocity correctly (in transportProperties) for the fluid you are simulating, the density is whatever you need it to be. Just remember that the pressure for incompressible cases is the kinematic pressure (p/rho_0). So if you have the kinematic viscocity of say 7.4E-7 m^2/s, then you could either have methanol at 20 C or Isobutane at around -60 C (just a table I have in front of me at the moment). So depending on the fluid you want to be simulating, all the relevant properties should be scaled by the proper density. In the cases I said earlier, densitites are 788.4 and around 650 kg/m^3 respectively, and you would have to multiply your kinematic viscocity, kinematic pressure and any similarly scaled property accordingly.
ooo likes this.
mturcios777 is offline   Reply With Quote

Old   January 27, 2014, 07:38
Default
  #4
ooo
Member
 
Join Date: Feb 2012
Posts: 49
Rep Power: 14
ooo is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
As long as you have set your kinematic viscocity correctly (in transportProperties) for the fluid you are simulating, the density is whatever you need it to be. Just remember that the pressure for incompressible cases is the kinematic pressure (p/rho_0). So if you have the kinematic viscocity of say 7.4E-7 m^2/s, then you could either have methanol at 20 C or Isobutane at around -60 C (just a table I have in front of me at the moment). So depending on the fluid you want to be simulating, all the relevant properties should be scaled by the proper density. In the cases I said earlier, densitites are 788.4 and around 650 kg/m^3 respectively, and you would have to multiply your kinematic viscocity, kinematic pressure and any similarly scaled property accordingly.
Thanks for your answers.
I've implemented a method to simulate the flow around a 2d cylinder without having the geometry of the cylinder.But i have forces on the coordinates of the cylinder.
So i would like to use these forces to compute drag coefficient!
The formula is : Cd = Fd / (0.5 * rho * u^2 * D ) . the points is that the dimension of Fd in my algorithm is m/s^2 and its not divided by rho !
I would appreciate if you have some idea about this.
ooo is offline   Reply With Quote

Old   January 27, 2014, 17:49
Default
  #5
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
How are you calculating Fd?
mturcios777 is offline   Reply With Quote

Old   January 27, 2014, 20:55
Default
  #6
ooo
Member
 
Join Date: Feb 2012
Posts: 49
Rep Power: 14
ooo is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
How are you calculating Fd?
The velocity is interpolated to a lagrangian grid, then a force in lagrangian grid computes by : F=U/dt (then this force is distributed to the eulerian grid and ....)
But the points is that the dimension of the force is m/s2 ...
ooo is offline   Reply With Quote

Old   January 28, 2014, 13:46
Default
  #7
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Well that makes sense, as Force is actually d(mU)/dt:

http://en.wikipedia.org/wiki/Newton'...27s_second_law

The units are consistent with an incompressible fluid, as rho is not changing, and m=rho*V (where V is volume).

Because your rho is already been divided out in the incompressible formulation, Cd = Fd/(1/2 u^2 D)
ooo likes this.
mturcios777 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with divergence TDK FLUENT 13 December 14, 2018 07:00
calculation of laminar dynamic viscosity in BasicThermo.H hz283 OpenFOAM 0 December 28, 2012 13:06
dynamic viscosity setup fat bug CFX 5 March 20, 2008 12:01
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
Where can I find air density Matthew Bliss Main CFD Forum 2 December 9, 1998 04:28


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