CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Recompute Pressure from velocity firld in OPenFoam (https://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 11:51.