levelSet: Bug fix to volField levelSetAverage
This commit is contained in:
@ -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)
|
||||
|
||||
@ -215,7 +215,7 @@ Foam::levelSetAverage
|
||||
|
||||
forAll(mesh.boundary(), patchi)
|
||||
{
|
||||
result.boundaryField()[patchi] =
|
||||
result.boundaryFieldRef()[patchi] =
|
||||
levelSetAverage
|
||||
(
|
||||
mesh.boundary()[patchi],
|
||||
|
||||
Reference in New Issue
Block a user