Bugfix: whne comparing IB patch size, fvPatch is relevant (polyPatch size is different and wrong)

This commit is contained in:
Hrvoje Jasak 2018-10-11 17:15:07 +01:00
parent f9c325021f
commit e51b6eea28

View file

@ -63,7 +63,7 @@
if
(
f.boundaryField()[ibPatches[ibpI]].size()
!= patches[ibPatches[ibpI]].size()
!= mesh.boundary()[ibPatches[ibpI]].size()
)
{
if (immersedBoundaryFvPatch::debug)
@ -103,12 +103,19 @@
forAll (ibPatches, ibpI)
{
if (immersedBoundaryFvPatch::debug)
if
(
f.boundaryField()[ibPatches[ibpI]].size()
!= mesh.boundary()[ibPatches[ibpI]].size()
)
{
Info<< ".";
}
if (immersedBoundaryFvPatch::debug)
{
Info<< ".";
}
f.boundaryField()[ibPatches[ibpI]].updateOnMotion();
f.boundaryField()[ibPatches[ibpI]].updateOnMotion();
}
}
if (immersedBoundaryFvPatch::debug)
@ -142,7 +149,7 @@
if
(
f.boundaryField()[ibPatches[ibpI]].size()
!= patches[ibPatches[ibpI]].size()
!= mesh.boundary()[ibPatches[ibpI]].size()
)
{
if (immersedBoundaryFvPatch::debug)