CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Recompute Pressure from velocity firld in OPenFoam (http://www.cfd-online.com/Forums/openfoam-solving/125201-recompute-pressure-velocity-firld-openfoam.html)

raw17 October 21, 2013 09:23

Recompute Pressure from velocity firld in OPenFoam
 
Hello Everyone,
I am doing a LES channel flow simulation in openfoam. For some of my results I have to modify my velocity field using Newton method. I would like to recompute pressure for that modified velocity fields. I dont understand how to solve pressure Poisson's equation in OpenFoam. Can I take the grad(UEqn) and do something like this

solve(grad(UEqn) == -fvc::laplacian(1,p));

or something else?

Thankyou
Subhendu


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