snappyHexMesh: Simplified and rationalised the region refinement level specification

The inside or outside region refinement level is now specified using the simple
"level <level>" entry in refinementRegions e.g.

    refinementRegions
    {
        refinementBox
        {
            mode    inside;
            level   5;
        }
    }

rather than

    refinementRegions
    {
        refinementBox
        {
            mode    inside;
            levels  ((1E15 5));
        }
    }

where the spurious "1E15" number is not used and the '((...))' is unnecessary clutter.
This commit is contained in:
Henry Weller
2021-06-15 13:20:44 +01:00
parent 7b7fa5a9af
commit be9fb841a1
20 changed files with 167 additions and 107 deletions

View File

@ -131,8 +131,8 @@ castellatedMeshControls
{
refineHole
{
mode inside;
levels ((1E15 3));
mode inside;
level 3;
}
}

View File

@ -61,8 +61,8 @@ castellatedMeshControls
{
pipeWall
{
mode insideSpan;
levels ((1000 2));
mode insideSpan;
level (1000 2);
cellsAcrossSpan 40;
}
}