levelSet: Bug fix to volField levelSetAverage

This commit is contained in:
Will Bainbridge
2017-09-28 15:33:39 +01:00
parent 1d0c7cf773
commit 63c18662dd
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ int main(int argc, char *argv[])
// Set the fields
alpha == levelSetFraction(h, hp, !liquid);
U == UMean + levelSetAverage(mesh, h, hp, uGas, uGasp, uLiq, uLiqp);
U == UMean + levelSetAverage(h, hp, uGas, uGasp, uLiq, uLiqp);
// Set the boundary fields
forAll(mesh.boundary(), patchi)

View File

@ -215,7 +215,7 @@ Foam::levelSetAverage
forAll(mesh.boundary(), patchi)
{
result.boundaryField()[patchi] =
result.boundaryFieldRef()[patchi] =
levelSetAverage
(
mesh.boundary()[patchi],