CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   laplacian(rAU, p) == fvc::div(phiHbyA)? (https://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 chapter 2.7 in my PhD thesis, the link to it is provided in my user page at openfoamwiki.net: http://openfoamwiki.net/index.php/User:Santiagomarquezd

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 15:19.