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

// Cell set and refinement zone creation

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

// Cell selection actions

actions
(
    
    // Select cells inside refinement box

    {
        name    cref2;
        type    cellSet;
        action  new;

        source  boxToCell;

        sourceInfo
        {
            box (-0.03 -0.03 -0.17) (0.03 0.03 1);
        }
    }

    // Create refinement cell zone

    {
        name    cR2;
        type    cellZoneSet;
        action  new;

        source  setToCellZone;

        sourceInfo
        {
            set cref2;
        }
    }

);

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