interFoam: add support for p-relaxation

This commit is contained in:
Henry
2013-11-16 10:28:41 +00:00
parent e1ff0a97c4
commit 72d709fa5c

View File

@ -49,6 +49,8 @@
{
phi = phiHbyA - p_rghEqn.flux();
p_rgh.relax();
U = HbyA + rAU*fvc::reconstruct((phig - p_rghEqn.flux())/rAUf);
U.correctBoundaryConditions();
fvOptions.correct(U);