CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Understanding of potentialFoam's pressure equation (http://www.cfd-online.com/Forums/openfoam-programming-development/77998-understanding-potentialfoams-pressure-equation.html)

bioexplore July 9, 2010 04:17

Understanding of potentialFoam's pressure equation
 
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 http://openfoamwiki.net/images/math/...e5189b1328.png, 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 July 13, 2010 09:39

Nobody could help me? or my question is too stupid?:confused:

r08n July 14, 2010 11:25

Quote:

Originally Posted by bioexplore (Post 267055)
Nobody could help me? or my question is too stupid?:confused:

There is a similar question, maybe this helps:
http://www.cfd-online.com/Forums/ope...icofoam-c.html


All times are GMT -4. The time now is 09:23.