Bugfix: whne comparing IB patch size, fvPatch is relevant (polyPatch size is different and wrong)
This commit is contained in:
parent
f9c325021f
commit
e51b6eea28
1 changed files with 13 additions and 6 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue