From ef386d6d44d9c5ac0469d69ee70db7f0cdfcd613 Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Sat, 8 Dec 2018 13:03:43 +0100 Subject: [PATCH] Bugfix in pointPatchInterpolate Regarding boundary condition update for non coupled boundaries of point fields. Author: Dario Zivkovic. --- .../pointPatchInterpolate.C | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/finiteVolume/interpolation/volPointInterpolation/pointPatchInterpolation/pointPatchInterpolate.C b/src/finiteVolume/interpolation/volPointInterpolation/pointPatchInterpolation/pointPatchInterpolate.C index e04eabc26..1155c95d1 100644 --- a/src/finiteVolume/interpolation/volPointInterpolation/pointPatchInterpolation/pointPatchInterpolate.C +++ b/src/finiteVolume/interpolation/volPointInterpolation/pointPatchInterpolation/pointPatchInterpolate.C @@ -169,6 +169,12 @@ void pointPatchInterpolation::interpolate { pf.boundaryField()[patchi].initAddField(); } + else + { + // Bugfix: Need to update ordinary boundary conditions. + // Dario Zivkovic, 8/Dec/2018. + pf.boundaryField()[patchi].initEvaluate(); + } } forAll(pf.boundaryField(), patchi) @@ -180,9 +186,15 @@ void pointPatchInterpolation::interpolate pf.internalField() ); } + else + { + // Bugfix: Need to update ordinary boundary conditions. + // Dario Zivkovic, 8/Dec/2018. + pf.boundaryField()[patchi].evaluate(); + } } - // Coupled boundaries already updated. Nothing to do. VV, 4/Dec/2017. + // All boundaries already updated. Nothing to do. VV, 4/Dec/2017. if (debug) {