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

Variable denisty in the contiuity and momentum equaiton

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2011, 08:23
Angry Variable denisty in the contiuity and momentum equaiton
  #1
Senior Member
 
Join Date: Jun 2010
Posts: 101
Rep Power: 7
Hooman is on a distinguished road
Hi,

I am writing a code for a flow with a low degree of in-compressibility. So in my continuity and momentum equations, the density varies. I have never worked with variable density before so I was wondering, how does one usually decide on how the density varies and go on about solving these equations where you have velocity and density as unknowns in the continuity equations.

I would appreciate any hints.

Thanks,

H
Hooman is offline   Reply With Quote

Old   June 1, 2011, 10:09
Default mild compressibility
  #2
Senior Member
 
CFDtoy
Join Date: Mar 2009
Location: United States
Posts: 145
Blog Entries: 2
Rep Power: 8
CFDtoy is on a distinguished road
Hello,
For mild compressibility - your pressure correction will have an additional term as d(rho')/dt modeled as, d(p'/C2)/dt where C = speed of sound. This will go into your ap (solving for p'). C2 can be approximated to gasConstant*temperature


No more big modifications from an incompressible code is required. merely include this this term in the P' eqn and you are all set.

ofcourse, dont forget to update rho from P - using ideal gas law.

Good luck.

CFDtoy



Quote:
Originally Posted by Hooman View Post
Hi,

I am writing a code for a flow with a low degree of in-compressibility. So in my continuity and momentum equations, the density varies. I have never worked with variable density before so I was wondering, how does one usually decide on how the density varies and go on about solving these equations where you have velocity and density as unknowns in the continuity equations.

I would appreciate any hints.

Thanks,

H
__________________
CFDtoy
CFDtoy is offline   Reply With Quote

Old   June 2, 2011, 04:44
Default mild compressibility
  #3
Senior Member
 
Join Date: Jun 2010
Posts: 101
Rep Power: 7
Hooman is on a distinguished road
Thanks very much for you reply.

I was wondering if you knew any references on mild compressibility. I just want to know where the equations you cited come from and understand it a bit more.

I am also a bit confused because my problem was an isothermal mechanical example for an incompressible fluid. So there were no thermal terms involved. The we decided to add a bit of compressibility to it. So do you think that the equations you just told me still apply for an isothermal case?

Also I was told that pressure in this case is a state variable and can be related to the bulk modulus. What do you think of this?

Sorry I asked too many questions. Thank you for your time.

H
Hooman is offline   Reply With Quote

Old   June 2, 2011, 07:16
Red face mild compressibility
  #4
Senior Member
 
Join Date: Jun 2010
Posts: 101
Rep Power: 7
Hooman is on a distinguished road
Sorry to be asking more questions again.
I just found out that because there are more variables involved for a compressible flow, one should also solve the energy equations plus another equations. Is this true for the case of mild compressibility?

Thanks very much again!
Hooman is offline   Reply With Quote

Old   June 2, 2011, 10:25
Default mild compressibility
  #5
Senior Member
 
CFDtoy
Join Date: Mar 2009
Location: United States
Posts: 145
Blog Entries: 2
Rep Power: 8
CFDtoy is on a distinguished road
For mildly compressible..you can get away with not solving for E. T can remain constant in the system, with rho changing with P only.

Quote:
Originally Posted by Hooman View Post
Sorry to be asking more questions again.
I just found out that because there are more variables involved for a compressible flow, one should also solve the energy equations plus another equations. Is this true for the case of mild compressibility?

Thanks very much again!
__________________
CFDtoy
CFDtoy is offline   Reply With Quote

Old   June 3, 2011, 04:52
Default weakly compressible
  #6
Senior Member
 
Join Date: Jun 2010
Posts: 101
Rep Power: 7
Hooman is on a distinguished road
Many thanks for you help!
Hooman is offline   Reply With Quote

Old   June 3, 2011, 10:30
Default
  #7
Senior Member
 
Join Date: Jun 2010
Posts: 101
Rep Power: 7
Hooman is on a distinguished road
Hi,
Can I just ask if you have any references for the equations you cited in your first reply?
Thanks,
H
Hooman is offline   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



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