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

// Synchronise points between patches that share points.
// Set to false since we are just re-typing patches in place.
pointSync false;

// List of patches to create.
patches
(
    {
        // Name of the new patch to create (same as the old one)
        name            hydrofoil;

        // Dictionary describing the new patch's properties
        patchInfo
        {
            type        wall;
        }

        // How to construct the patch
        constructFrom   patches;

        // List of patches to construct from (the original patch)
        patches         (walls);
    }

    {
        // Name of the new patch to create
        name            frontandback;

        // Dictionary describing the new patch's properties
        patchInfo
        {
            type        empty;
        }

        // How to construct the patch
        constructFrom   patches;

        // List of patches to construct from
        patches         (front back);
    }
    
    
);

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