Bugfix in pointPatchInterpolate

Regarding boundary condition update for non coupled boundaries of point fields.
Author: Dario Zivkovic.
This commit is contained in:
Vuko Vukcevic 2018-12-08 13:03:43 +01:00
parent d078a84815
commit ef386d6d44

View file

@ -169,6 +169,12 @@ void pointPatchInterpolation::interpolate
{ {
pf.boundaryField()[patchi].initAddField(); 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) forAll(pf.boundaryField(), patchi)
@ -180,9 +186,15 @@ void pointPatchInterpolation::interpolate
pf.internalField() 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) if (debug)
{ {