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

incompressible, The exact meaning of P in case/0/p ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2009, 23:27
Default incompressible, The exact meaning of P in case/0/p ?
  #1
Senior Member
 
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17
panda60 is on a distinguished road
Dear all:
For simpleFoam solver, what is the exzct meaning of P in case/0/P file ?
It is refference value or the actual value ?
for initial field and outlet condition , we should set 0 or 101325/rho ?
Because I saw many imcompressible case set it to 0, but I set 101325/rho .
Thank you very much.
panda60 is offline   Reply With Quote

Old   December 2, 2009, 00:44
Default
  #2
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 17
Ohbuchi is on a distinguished road
There is no meaning for the value of p in incompressible flow. Only the gradient term of p is appeared in Navier-Stokes eq.
You can start both from p=0 or p=101324/rho, then simulated result may be translate by constant value.
Ohbuchi is offline   Reply With Quote

Old   December 2, 2009, 01:09
Default
  #3
Senior Member
 
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17
panda60 is on a distinguished road
Quote:
Originally Posted by Ohbuchi View Post
There is no meaning for the value of p in incompressible flow. Only the gradient term of p is appeared in Navier-Stokes eq.
You can start both from p=0 or p=101324/rho, then simulated result may be translate by constant value.
Thanks Ohbuchi,
I am l little understand, I saw the solver of simpleFoam ,in creatfields,H

# include "createPhi.H"

label pRefCell = 0;
scalar pRefValue = 0.0;
setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue);

The solver will select the pressure reference possition and reference value itself, so I just set the actual value in P file, is it right ?
panda60 is offline   Reply With Quote

Old   December 2, 2009, 05:41
Default
  #4
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 17
Ohbuchi is on a distinguished road
Yes, specified value for p in 0 directory means difference from reference value. So if you set the reference value of p=0, values in 0/p means absolute value.
Ohbuchi 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
Incompressible Ideal gas law Leverkin FLUENT 5 March 5, 2009 17:41
Abt: the speed of sound in incompressible flows jinwon park Main CFD Forum 3 August 21, 2008 21:44
LinearInterpolaterhoU amp meshSf exact meaning arkangel OpenFOAM Running, Solving & CFD 2 August 21, 2007 06:29
Reynold's number and incompressible flow Neil Main CFD Forum 3 October 24, 2006 09:11
Compressible vs. Incompressible formulations Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 17:51


All times are GMT -4. The time now is 20:14.