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

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


// Cell zone setup for overset mesh

actions
(

    // Clear existing cell set

    {
        name    allcells;
        type    cellSet;
        action  clear;
    }

    // Select all cells

    {
        name    allcells;
        type    cellSet;
        action  invert;
    }

    // Create moving cell zone

    {
        name    movingZone;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;

        sourceInfo
        {
            set allcells;
        }
    }
    
);