BUG: Conservative AMI - use supplied points when resetting the AMI. See #2078

This commit is contained in:
Andrew Heather 2023-07-26 15:36:25 +01:00
parent aff5c3b680
commit 1fc9313c97
2 changed files with 3 additions and 3 deletions

View File

@ -383,8 +383,8 @@ void Foam::cyclicAMIPolyPatch::resetAMI(const UList<point>& points) const
}
const cyclicAMIPolyPatch& nbr = neighbPatch();
pointField srcPoints(localPoints());
pointField nbrPoints(nbr.localPoints());
const pointField srcPoints(points, meshPoints());
pointField nbrPoints(points, nbr.meshPoints());
Info<< "AMI: Creating AMI for source:" << name()
<< " and target:" << nbr.name() << endl;

View File

@ -19,7 +19,7 @@ solvers
"pcorr.*"
{
solver GAMG;
smoother GaussSeidel;
smoother DICGaussSeidel;
cacheAgglomeration no;
tolerance 0.02;
relTol 0;