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

pressure in incompressible solvers

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By immortality
  • 2 Post By wyldckat
  • 5 Post By cfdonline2mohsen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2013, 22:27
Default pressure in incompressible solvers
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
hi
I have a doubt about how In incompressible solvers pressure can be varied.(like in simpleFoam)is temperature variable or consant while energy equation is not solved?
If density and temperature are constant Then according to ideal gas equation,pressure should be constant.
How can resolve this paradox?
ScarFace likes this.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 9, 2013, 07:37
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ehsan,

A quick analogy is to think in incompressible flow as if it were forces applied to a solid object. The solid moves because there is a force applied to it; in incompressible fluid flow, the fluid moves because there is a pressure difference.

Best regards,
Bruno
immortality and ScarFace like this.
__________________
wyldckat is offline   Reply With Quote

Old   June 9, 2013, 07:55
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
thanks.your interpretation is correct Bruno.but in incompressible solvers energy equation is not solved at all.so temperature should be constant.in other hand its incompressible thus rho is constant too.so p=\rho \, R \,T
p should be constant(in a gas flow with Mach<.3) but in incompressible tutorials variation of p can be see and also as you say an example p should be variable.
although its not related to my work but like to know more about it.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 9, 2013, 08:04
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
OK, for reference, this is the wiki page here at CFD-Online for this topic: http://www.cfd-online.com/Wiki/Incompressible_flow

If you look at the section "Governing Equations", only the continuity and momentum equations are calculated in simpleFoam. And more specifically, these are explained here: http://openfoamwiki.net/index.php/Th...hm_in_OpenFOAM
__________________
wyldckat is offline   Reply With Quote

Old   June 9, 2013, 08:56
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
thanks.so equation of state is not used in incompressible.
but I have a doubt that energy equation is used or is a voluntary option?
Quote:
A consequence of incompressible flow is that there is no equation of state for pressure, unlike in compressible flow. Since there is no separate equation for pressure, it must be obtained from the continuity and momentum equations. The main role of pressure is to satisfy the zero divergence condition of the velocity field. Note that pressure is only determined up to a constant.
If the viscosity is assumed to be constant, then the energy equation is decoupled from the continuity and momentum equations.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 9, 2013, 10:08
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
As you quoted:
Quote:
If the viscosity is assumed to be constant, then the energy equation is decoupled from the continuity and momentum equations.
I believe that at least in simpleFoam, the energy equation is simply not calculated, since it's decoupled, therefore it's not needed for solving the fluid transport.
__________________
wyldckat is offline   Reply With Quote

Old   June 10, 2013, 05:30
Default
  #7
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16
cfdonline2mohsen is on a distinguished road
Dear Ehsan

Ba Salam
I was reading the above discussion between you and Bruno.
In an incompressible Forced convection flow, the energy equation is decoupled from the momentum equation i.e. Temperature is a passive scalar. it means that it is dependent on velocity (the convection term in energy equation ) but its value does not have any effect on flow field (i.e. velocity). the incompressible solvers in OpenFOAM do not solve energy equation but you can simply add it to solve for T!
in contrast, in free (or natural) convection the momentum and energy equations are coupled together via Boussinesq approximation. in another word there is a term involving Temperature in momentum equation that couple the two equations together. If you look at the natural convection solvers, you will see energy equation for sure!
And the final point is that the equation of state is only valid for ideal (or perfect) gasses! in an incompressible flow there is an equation for temperature that involves 3 terms: temporal,convection and diffusion. it means that heat can be transferred via these 3 method so constant density dos not mean that Temperature is constant too!

These are the basic concepts of fluid mechanics and heat transfer and I recommend you to study them precisely otherwise using OpenFOAM without knowing this fundamental concepts will be like playing Xbox or PlayStation!

Good Luck
wyldckat, Tobi, ScarFace and 2 others like this.
cfdonline2mohsen 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
Which pressure OpenFOAM use for incompressible flow? P/rho or (P-101325)/rho ? panda60 OpenFOAM 16 August 14, 2018 04:57
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
pressure inlet in incompressible flow dirk FLUENT 2 June 22, 2005 13:27
incompressible flow - prescribing pressure drop - how best to do it? M. Gerritsen Main CFD Forum 4 January 10, 1999 09:53


All times are GMT -4. The time now is 00:46.