mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Conservative AMI - use supplied points when resetting the AMI. See #2078
This commit is contained in:
@ -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;
|
||||
|
||||
@ -19,7 +19,7 @@ solvers
|
||||
"pcorr.*"
|
||||
{
|
||||
solver GAMG;
|
||||
smoother GaussSeidel;
|
||||
smoother DICGaussSeidel;
|
||||
cacheAgglomeration no;
|
||||
tolerance 0.02;
|
||||
relTol 0;
|
||||
|
||||
Reference in New Issue
Block a user