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/)
-   -   laplacian(rAU, p) == fvc::div(phiHbyA)? (http://www.cfd-online.com/Forums/openfoam-programming-development/120352-laplacian-rau-p-fvc-div-phihbya.html)

sharonyue July 4, 2013 20:28

laplacian(rAU, p) == fvc::div(phiHbyA)?
 
2 Attachment(s)
Hi,

In icoFoam's code, we have:
Code:

fvScalarMatrix pEqn
                (
                    fvm::laplacian(rAU, p) == fvc::div(phiHbyA)
                );

Why its not div(HbyA) as of the equation in the image?

This equation is deduced by myself. If it was wrong just correct me.

santiagomarquezd July 5, 2013 08:16

Check https://docs.google.com/file/d/0B2lp...it?usp=sharing chapter 2.7

Regards.

sharonyue July 7, 2013 20:20

I figure this out, after I get\nabla  u=0, I should make an integration first instead of substitution of u.


All times are GMT -4. The time now is 06:04.