/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                |
| \\      /  F ield         | cfMesh: A library for mesh generation          | 
|  \\    /   O peration     |                                                |
|   \\  /    A nd           | Author: Franjo Juretic                         | 
|    \\/     M anipulation  | E-mail: franjo.juretic@c-fields.com            |
\*---------------------------------------------------------------------------*/

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

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

surfaceFile "bunnyWrapped.stl";

maxCellSize 100.0;

boundaryCellSize 25;

objectRefinements
{
    ear1
    {
        cellSize 10;
        type cone;
        p0   (-100 1873 -320);
        radius0  200;
        p1   (-560 1400 0);
        radius1   200;
    }
    ear2
    {
        cellSize 10;
        type cone;
        p0   (-650 1873 -620);
        radius0  200;
        p1   (-670 1300 0);
        radius1  200;
    }
    tail
    {
        cellSize 10;
        type box;
        centre  (500 500 150);
        lengthX  100;
        lengthY  150;
        lengthZ  200;
    }
    insideTheBody
    {
        cellSize 10;
        type sphere;
        centre  (0 700 0);
        radius  50;
    }
    muzzlePiercing
    {
        cellSize 10;
        type line;
        p0      (-750 1000 450);
        p1      (-750 1500 450);
    }
}

meshQualitySettings
{
    maxNonOrthogonality        65;

    maxSkewness   4.0;
}

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