Bugfix in pointPatchInterpolate
Regarding boundary condition update for non coupled boundaries of point fields. Author: Dario Zivkovic.
This commit is contained in:
parent
d078a84815
commit
ef386d6d44
1 changed files with 13 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Reference in a new issue