/*--------------------------------*- C++ -*----------------------------------*\
  ==  == ====== ====   ====    |
                    \\     ||  | Multiphase Cases Repository by HZDR
  ======   //   ||  || ===//   | Website: https://doi.org/10.14278/rodare.811
  ||  ||  //    ||  // || \\   | License: Creative Commons Attribution 4.0
  ==  == ====== ====   ==  ==  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include "${FOAM_CASE}/caseParameterDict"

actions
(
    // Disturbance
    {
        name    disturbance;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.0375 0 0.0375) (0.075 0.05 0.075);
    }
    {
        name    disturbance;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        cellSet disturbance;
    }

    // Reference plane
    {
        name    referencePlane;
        type    faceSet;
        action  new;
        source  boxToFace;
        box     (0 0 0.299) ($LX $LY 0.301);
    }
    {
        name    referencePlane;
        type    faceZoneSet;
        action  new;
        source  setToFaceZone;
        faceSet referencePlane;
    }

    // Spatial averaging
    // Cell 1
    {
        name    H3_cell1;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0 0 1.599) (0.01125 $LY 1.604);
    }
    {
        name    H3_cell1;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell1;
    }

    // Cell 2
    {
        name    H3_cell2;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.01125 0 1.599) (0.0225 $LY 1.604);
    }
    {
        name    H3_cell2;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell2;
    }

    // Cell 3
    {
        name    H3_cell3;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.0225 0 1.599) (0.03375 $LY 1.604);
    }
    {
        name    H3_cell3;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell3;
    }

    // Cell 4
    {
        name    H3_cell4;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.03375 0 1.599) (0.045 $LY 1.604);
    }
    {
        name    H3_cell4;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell4;
    }

    // Cell 5
    {
        name    H3_cell5;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.045 0 1.599) (0.05625 $LY 1.604);
    }
    {
        name    H3_cell5;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell5;
    }

    // Cell 6
    {
        name    H3_cell6;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.05625 0 1.599) (0.0675 $LY 1.604);
    }
    {
        name    H3_cell6;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell6;
    }

    // Cell 7
    {
        name    H3_cell7;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.0675 0 1.599) (0.07875 $LY 1.604);
    }
    {
        name    H3_cell7;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell7;
    }

    // Cell 8
    {
        name    H3_cell8;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.07875 0 1.599) (0.09 $LY 1.604);
    }
    {
        name    H3_cell8;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell8;
    }

    // Cell 9
    {
        name    H3_cell9;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.09 0 1.599) (0.10125 $LY 1.604);
    }
    {
        name    H3_cell9;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell9;
    }

    // Cell 10
    {
        name    H3_cell10;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0.10125 0 1.599) (0.1125 $LY 1.604);
    }
    {
        name    H3_cell10;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     H3_cell10;
    }
);

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