/*--------------------------------*- C++ -*----------------------------------*\
|                                                                             |
|                Generated by the CfdOF workbench for FreeCAD                 |
|                      https://github.com/jaheyns/CfdOF                       |
|                                                                             |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     4.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      meshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

surfaceFile       "Compound001_Geometry.fms";

maxCellSize       0.225;
boundaryCellSize  0.225;

objectRefinements
{
    MeshRefinement002
    {
        additionalRefinementLevels 6;
        type insideSurface;
        closedSurfaceFile "constant/triSurface/MeshRefinement002.stl";
    }
    MeshRefinement003
    {
        additionalRefinementLevels 5;
        type insideSurface;
        closedSurfaceFile "constant/triSurface/MeshRefinement003.stl";
    }
    MeshRefinement004
    {
        additionalRefinementLevels 4;
        type insideSurface;
        closedSurfaceFile "constant/triSurface/MeshRefinement004.stl";
    }
    MeshRefinement005
    {
        additionalRefinementLevels 4;
        type insideSurface;
        closedSurfaceFile "constant/triSurface/MeshRefinement005.stl";
    }
}

surfaceMeshRefinement
{
    MeshRefinement
    {
        additionalRefinementLevels  7;
        surfaceFile "constant/triSurface/MeshRefinement.stl";
        refinementThickness 0.005;
    }
    MeshRefinement001
    {
        additionalRefinementLevels  8;
        surfaceFile "constant/triSurface/MeshRefinement001.stl";
        refinementThickness 0.005;
    }
}

boundaryLayers
{
    patchBoundaryLayers
    {
        "patch_1_1"
        {
            nLayers 10;
            thicknessRatio 1.05;
        }
        "patch_1_2"
        {
            nLayers 10;
            thicknessRatio 1.05;
        }
    }

    optimiseLayer 1;
    untangleLayers 0;

    optimisationParameters
    {
        nSmoothNormals 3;
        maxNumIterations 5;
        featureSizeFactor 0.4;
        reCalculateNormals 1;
        relThicknessTol 0.1;
    }
}

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