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)
@ -102,6 +102,12 @@
}
forAll (ibPatches, ibpI)
{
if
(
f.boundaryField()[ibPatches[ibpI]].size()
!= mesh.boundary()[ibPatches[ibpI]].size()
)
{
if (immersedBoundaryFvPatch::debug)
{
@ -110,6 +116,7 @@
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)