Skip to content
Snippets Groups Projects
Commit 72d709fa authored by Henry's avatar Henry
Browse files

interFoam: add support for p-relaxation

parent e1ff0a97
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment