mappedExtrudedPatchBase: Support patchToPatch coupling

This completes commit 381e0921 and permits patches on the "top" of
extruded regions to determine the point locations opposite as well as
the face centres and areas. This means that patches with dissimilar
meshes can now be coupled via the patchToPatch interpolation engine.

A few fixes have also been applied to extrudeToRegionMesh to make the
intrude option compatibile with extrusion into internal faces and
between opposing zones/sets/patches. The 'shadow' entries used for
extrusion inbetween opposing zones/sets/patches have also been renamed
to 'opposite' for consistency with the patch names and patch types
entries; e.g.,

    faceZones           (fz1 fz3);
    oppositeFaceZones   (fz2 fz4); // <-- was 'faceZonesShadow'

    faceSets            (fs1 fs3);
    oppositeFaceSets    (fs2 fs4); // <-- was 'faceSetsShadow'

    patches             (p1 p3);
    oppositePatches     (p2 p4); // <-- was 'patchesShadow'
This commit is contained in:
Will Bainbridge
2023-05-05 11:30:21 +01:00
parent e5aa8ab63c
commit 74a63a08e4
23 changed files with 1349 additions and 550 deletions

View File

@ -74,7 +74,7 @@ Foam::mappedFilmSurfacePolyPatch::mappedFilmSurfacePolyPatch
const label index,
const word& neighbourRegion,
const word& neighbourPatch,
const word& bottomPatch,
const bool isExtrudedRegion,
const polyBoundaryMesh& bm
)
:
@ -84,7 +84,7 @@ Foam::mappedFilmSurfacePolyPatch::mappedFilmSurfacePolyPatch
*this,
neighbourRegion,
neighbourPatch,
bottomPatch,
isExtrudedRegion,
cyclicTransform(true)
)
{}

View File

@ -98,7 +98,7 @@ public:
const label index,
const word& neighbourRegion,
const word& neighbourPatch,
const word& bottomPatch,
const bool isExtrudedRegion,
const polyBoundaryMesh& bm
);