/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  8
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      createPatchDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

pointSync false;

writeCyclicMatch  false;

patches
(
    {
        name copperToWater;

        patchInfo
        {
            type mappedWall;
            sampleMode      nearestPatchFace;
            sampleRegion    water;
            samplePatch     waterToCopper;
        }
        constructFrom patches;
        patches (copperToWaterSalome_extruded);
    }
    {
        name copperToAir;

        patchInfo
        {
            type mappedWall;
            sampleMode      nearestPatchFace;
            sampleRegion    air;
            samplePatch     airToCopper;
        }
        constructFrom patches;
        patches (copperToAirSalome_extruded);
    }
    {
        name front;

        patchInfo
        {
            type cyclic;
            neighbourPatch  back;
            
        }
        constructFrom patches;
        patches (mainFace_top);
    }
    {
        name back;

        patchInfo
        {
            type cyclic;
            neighbourPatch  front;
        }
        constructFrom patches;
        patches (mainFace);
    }
);

// ************************************************************************* //
