/*--------------------------------*- 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;
    object      topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

actions
(
    // Inlet
    {
        name    IEntranceSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-1.0 0.0 0.0)(0.0 2.0 1.0);
        }
    }
    {
        name    IEntranceZone;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set IEntranceSet;           // name of cellSet
        }
    }

    // Outlet
    {
        name    OEntranceSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (0.0 -1.0 0.0)(1.0 0.0 1.0);
        }
    }
    {
        name    OEntranceZone;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set OEntranceSet;           // name of cellSet
        }
    }

    // Outlet-right
    {
        name    OREntranceSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (1.0 0.0 0.0)(2.0 1.0 1.0);
        }
    }
    {
        name    OREntranceZone;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set OREntranceSet;           // name of cellSet
        }
    }
);

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