/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2012                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

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

actions
(
    // x = 0 (Inlet)
    {
        name inletFace;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (-0.01 -20.53 -0.1) (0.01 20.53 1.1);
        }
    }

    {
        name inletZone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet inletFace;
        }
    }

    // x = 20
    {
        name x20Face;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (19.99 -16.64 -0.1) (20.01 16.64 1.1);
        }
    }

    {
        name x20Zone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet x20Face;
        }
    }

    // x = 40
    {
        name x40Face;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (39.99 -12.75 -0.1) (40.01 12.75 1.1);
        }
    }

    {
        name x40Zone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet x40Face;
        }
    }

    // Start of throat (x = 54.12)
    {
        name throatInFace;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (54.11 -10.01 -0.1) (54.13 10.01 1.1);
        }
    }

    {
        name throatInZone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet throatInFace;
        }
    }

    // End of throat (x = 74.12)
    {
        name throatOutFace;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (74.11 -10.01 -0.1) (74.13 10.01 1.1);
        }
    }

    {
        name throatOutZone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet throatOutFace;
        }
    }

    // x = 110
    {
        name x110Face;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (109.99 -12.52 -0.1) (110.01 12.52 1.1);
        }
    }

    {
        name x110Zone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet x110Face;
        }
    }

    // Outlet (x = 140) for 4° diffuser
    {
        name outletFace;
        type faceSet;
        action new;
        source boxToFace;
        sourceInfo
        {
            box (139.99 -14.61 -0.1) (140.01 14.61 1.1);
        }
    }

    {
        name outletZone;
        type faceZoneSet;
        action new;
        source setToFaceZone;
        sourceInfo
        {
            faceSet outletFace;
        }
    }
);