meshDict 2.1 KB
Newer Older
franjo's avatar
franjo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*--------------------------------*- 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;
}
franjo's avatar
franjo committed
17 18 19 20 21 22 23 24 25

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

surfaceFile "Fan1.ftr";

maxCellSize 40;

boundaryCellSize 10;

franjo's avatar
franjo committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
minCellSize 1.25;

localRefinement
{
    // outer rim
    patch0
    {
        cellSize 5;
    }
    // blade seat edge
    patch5
    {
        cellSize 1.25;
    }

    // shaft
    patch6
    {
        cellSize 10;
    }

    // thin edges at blade ends
    patch37
    {
        cellSize 0.625;
    }
    patch55
    {
        cellSize 0.625;
    }
    patch72
    {
        cellSize 0.625;
    }
    patch89
    {
        cellSize 0.625;
    }
    patch86
    {
        cellSize 0.625;
    }
    patch114
    {
        cellSize 0.625;
    }
    patch138
    {
        cellSize 0.625;
    }
    patch157
    {
        cellSize 0.625;
    }

    // blades
    patch8
    {
        cellSize 5;
    }
    patch11
    {
        cellSize 5;
    }
    patch12
    {
        cellSize 5;
    }
    patch16
    {
        cellSize 5;
    }
    patch19
    {
        cellSize 5;
    }
    patch24
    {
        cellSize 5;
    }
    patch27
    {
        cellSize 5;
    }
    patch30
    {
        cellSize 5;
    }
);

keepCellsIntersectingPatches
{
    patch0
    {
        keepCells 1;
    }
    patch1
    {
        keepCells 1;
    }
    patch2
    {
        keepCells 1;
    }
}
franjo's avatar
franjo committed
131 132 133 134 135

keepCellsIntersectingBoundary 1;
checkForGluedMesh 1;
 
// ************************************************************************* //