diff --git a/src/meshTools/patchIntersection/FacePatchIntersection.C b/src/meshTools/patchIntersection/FacePatchIntersection.C index d6c28514b4..1dc5b960f8 100644 --- a/src/meshTools/patchIntersection/FacePatchIntersection.C +++ b/src/meshTools/patchIntersection/FacePatchIntersection.C @@ -140,7 +140,10 @@ Foam::FacePatchIntersection::FacePatchIntersection this->srcPatch_.localPoints(), labelList(), labelListList(), - this->srcPatch_.localFaces() + this->srcPatch_.localFaces(), + "normals", + true, + srcPointNormals ); const fileName tgtFileName = type() + "_tgtPatch.vtk"; Info<< indent << "Writing patch to " << tgtFileName << endl; diff --git a/src/meshTools/patchIntersection/TriPatchIntersection.C b/src/meshTools/patchIntersection/TriPatchIntersection.C index 87bcbce802..43b94e8ee1 100644 --- a/src/meshTools/patchIntersection/TriPatchIntersection.C +++ b/src/meshTools/patchIntersection/TriPatchIntersection.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2023-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -3776,7 +3776,10 @@ Foam::TriPatchIntersection::TriPatchIntersection this->srcPatch_.localPoints(), labelList(), labelListList(), - this->srcPatch_.localFaces() + this->srcPatch_.localFaces(), + "normals", + true, + srcPointNormals ); const fileName tgtFileName = type() + "_tgtPatch.vtk"; Info<< indent << "Writing patch to " << tgtFileName << endl;