Reset gamma and sGamma patch values for IB patches

This commit is contained in:
Hrvoje Jasak 2018-09-26 14:50:38 +01:00
parent 6ba8b5e6b3
commit c3251bc400

View file

@ -31,6 +31,14 @@
gamma.boundaryField()[patchI] =
sGamma.boundaryField()[patchI];
}
else
{
sGamma.boundaryField()[patchI] =
scalarField(mesh.boundary()[patchI].size(), 1);
gamma.boundaryField()[patchI] =
scalarField(mesh.boundary()[patchI].size(), 1);
}
}
// Adjust the mask in dead faces and dead cells