CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Understanding of potentialFoam's pressure equation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 9, 2010, 04:17
Default Understanding of potentialFoam's pressure equation
  #1
Member
 
Jianye Xia
Join Date: Mar 2009
Posts: 32
Rep Power: 8
bioexplore is on a distinguished road
Hello, OFers!

I have read about the wiki page describing about the solver of potentialFoam at :http://openfoamwiki.net/index.php/PotentialFoam

the pressure equation for potential flow is , but the implementation of the potentialFoam is as follows:

Code:
 
00059         fvScalarMatrix pEqn
00060         (
00061             fvm::laplacian
00062             (
00063                 dimensionedScalar
00064                 (
00065                     "1",
00066                     dimTime/p.dimensions()*dimensionSet(0, 2, -2, 0, 0),
00067                     1
00068                 ),
00069                 p
00070             )
00071          ==
00072             fvc::div(phi)
00073         );
00074
why it is not as the equation described in the wiki page? and how to dervie this equation?
bioexplore is offline   Reply With Quote

Old   July 13, 2010, 09:39
Default
  #2
Member
 
Jianye Xia
Join Date: Mar 2009
Posts: 32
Rep Power: 8
bioexplore is on a distinguished road
Nobody could help me? or my question is too stupid?
bioexplore is offline   Reply With Quote

Old   July 14, 2010, 11:25
Default
  #3
Member
 
Robertas N.
Join Date: Mar 2009
Location: Kaunas, Lithuania
Posts: 52
Rep Power: 8
r08n is on a distinguished road
Quote:
Originally Posted by bioexplore View Post
Nobody could help me? or my question is too stupid?
There is a similar question, maybe this helps:
Understanding icoFoam.C
r08n 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Pressure Inlet" Boundary Setup Wijaya FLUENT 13 April 11, 2013 08:50
Singular Pressure Poisson Equation Allan Main CFD Forum 13 January 14, 2013 13:49
Pressure Correction Equation Hooman Main CFD Forum 1 June 22, 2010 11:54
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
BCs for Pressure Correction Equation (SIMPLE) Bharath Somayaji Main CFD Forum 1 March 1, 2006 07:12


All times are GMT -4. The time now is 15:34.