diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshUpdate.C b/src/OpenFOAM/meshes/polyMesh/polyMeshUpdate.C index a6f5afc6f3..0d79993dc3 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshUpdate.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshUpdate.C @@ -65,6 +65,16 @@ void Foam::polyMesh::updateMesh(const mapPolyMesh& mpm) // Map the list newMotionPoints.map(oldMotionPoints, mpm.pointMap()); + + // Any points created out-of-nothing get set to the current coordinate + // for lack of anything better. + forAll(mpm.pointMap(), newPointI) + { + if (mpm.pointMap()[newPointI] == -1) + { + newMotionPoints[newPointI] = points_[newPointI]; + } + } } // Reset valid directions (could change by faces put into empty patches)