1 if(interface.twoFluids() && pNeedRef)
3 phi.boundaryField()[interface.bPatchID()] =
5 U.boundaryField()[interface.bPatchID()]
6 & mesh.Sf().boundaryField()[interface.bPatchID()]
10 mag(phi.boundaryField()[interface.bPatchID()]);
12 if(mag(gSum(weights)) > VSMALL)
14 weights /= gSum(weights);
17 phi.boundaryField()[interface.bPatchID()] -=
18 weights*gSum(phi.boundaryField()[interface.bPatchID()]);
20 // Info << "Free surface shadow flow rate: "
21 // << gSum(phi.boundaryField()[interface.bPatchID()]) << endl;
23 phi.boundaryField()[interface.bPatchID()] +=
24 p.boundaryField()[interface.bPatchID()].snGrad()
25 *mesh.magSf().boundaryField()[interface.bPatchID()]
26 /AU.boundaryField()[interface.bPatchID()];