/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2312                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1.0;

vertices
(
    (-340 -302 -3)     // Slightly smaller than the STL model bounds
    (332 -302 -3)
    (332 341 -3)
    (-340 341 -3)
    (-340 -302 95)     // Slightly larger than the STL model bounds
    (332 -302 95)
    (332 341 95)
    (-340 341 95)
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (100 100 100) simpleGrading (1 1 1)  // Adjust mesh density as needed
);

edges
(
);

boundary
(
    frontAndBack
    {
        type patch;
        faces
        (
            (0 3 7 4)
            (1 2 6 5)
        );
    }
    leftAndRight
    {
        type patch;
        faces
        (
            (0 4 5 1)
            (3 7 6 2)
        );
    }
    topAndBottom
    {
        type patch;
        faces
        (
            (4 7 6 5)
            (0 3 2 1)
        );
    }
);

mergePatchPairs
(
);

