/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include "myDict";

/// Set units (1 to work in meters)
scale 1;


vertices
(
    ($x1 $y1 $z1)
    ($x2 $y1 $z1)
    ($x2 $y2 $z1)
    ($x1 $y2 $z1)
    ($x1 $y1 $z2)
    ($x2 $y1 $z2)
    ($x2 $y2 $z2)
    ($x1 $y2 $z2)
);


blocks
(
  name block hex (0 1 2 3 4 5 6 7) ($Nx $Ny 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(

  lateralWalls 
  {
     type wall;
     faces
     (
       (block 0) 
       (block 1) 
     );
  }

  frontAndBack 
  {
     type empty;
     faces
     (
       (block 4) 
       (block 5) 
     );
  }

  lowerWall
  {
      type wall;
      faces
      (
       (block 2) 
      );
  }

  topWall
  {
      type wall;
      faces
      (
       (block 3) 
      );
  }

);

mergePatchPairs
(
);

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