Recompute Pressure from velocity firld in OPenFoam
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?
|All times are GMT -4. The time now is 12:41.|