/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM v2512                                  |
|  \\    /   O peration     | topoSetDict                                     |
|   \\  /    A nd           | Cell Set Generation Settings                    |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

// Cell set creation for overset and background zones

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}

// Cell set actions

actions
(
    // Create background cell set

    {
        name    c0;
        type    cellSet;
        action  new;

        source  regionToCell;

        sourceInfo
        {
            insidePoints ((-0.04 -0.04 -0.11));
        }
    }

    // Copy selected cells to new set

    {
        name    c1;
        type    cellSet;
        action  new;

        source  cellToCell;

        sourceInfo
        {
            set c0;
        }
    }

    // Invert cell selection for overset region

    {
        name    c1;
        type    cellSet;
        action  invert;
    }
);

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