/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM v2512                                  |
|  \\    /   O peration     | refineMeshDict                                  |
|   \\  /    A nd           | Mesh Refinement Settings                        |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

// Mesh refinement settings for selected cell zone

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      refineMeshDict;
}

// Cell set selected for refinement

set             cR2; 

// Coordinate system type

coordinateSystem global;

// Global coordinate directions

globalCoeffs
{
    tan1            ( 1 0 0 );
    tan2            ( 0 1 0 );
}

// Patch local coordinate directions

patchLocalCoeffs
{
    patch           outside;

    tan1            ( 1 0 0 );
    tan2            ( 0 0 1 );
}

// Refinement directions

directions      
(
    tan2
    tan1
    normal
);

// Hexahedral refinement option

useHexTopology  yes; 

// Geometric cutting option

geometricCut    no;

// Intermediate mesh writing option

writeMesh       no;