Skip to content
Snippets Groups Projects
Commit b766becf authored by Henry's avatar Henry Committed by Andrew Heather
Browse files

Added makeRelative for MRF

Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1221
parent 0a7259cc
No related merge requests found
......@@ -17,6 +17,8 @@ if (simple.transonic())
*(fvc::interpolate(HbyA) & mesh.Sf())
);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
surfaceScalarField phic
(
"phic",
......@@ -61,6 +63,8 @@ else
fvc::interpolate(rho*HbyA) & mesh.Sf()
);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
closedVolume = adjustPhi(phiHbyA, U, p);
phiHbyA += fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf();
......
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