BUG: patchProbes: clear found cells before finding faces
[OpenFOAM-2.0.x.git] / src / dynamicFvMesh / dynamicRefineFvMesh / dynamicMeshDict
blobc1bca80b265d92ddf019d48129e5900f6362cd67
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  2.0.0                                 |
5 |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      dynamicMeshDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 //dynamicFvMeshLib   "libtopoChangerFvMesh.so";
18 dynamicFvMesh      dynamicRefineFvMesh;
19 //staticFvMesh;
21 mixerFvMeshCoeffs
23     coordinateSystem
24     {
25         type            cylindrical;
26         origin          (0 0 0);
27         axis            (0 0 1);
28         direction       (1 0 0);
29     }
31     rpm             10;
33     slider
34     {
35         inside      insideSlider;
36         outside     outsideSlider;
37     }
40 // Refinement
41 dynamicRefineFvMeshCoeffs
43     // Refine every refineInterval timesteps
44     refineInterval 3;
46     // Maximum refinement level (starts from 0)
47     maxRefinement 2;
49     // Maximum cell limit (approximate)
50     maxCells 1000000;
52     // volScalarField to base refinement on
53     field gamma;
55     // Which cells to un/refine: based on point values (simple averaging).
56     // - refine pointCells of point value inbetween minLevel..maxLevel
57     // - unrefine pointCells that are within nBufferLayers of points marked
58     //   for refinement.
59     minLevel 0.01;
60     maxLevel 0.99;
61     nBufferLayers 1;
63     // Newly introduced patch points optionally get projected onto a surface
64     //projectSurfaces ("fixedWalls4.stl");
65     //projectPatches (fixedWalls);
66     // Maximum project distance
67     //projectDistance 1;
69     // Fluxes to adapt. For newly created faces or split faces the flux
70     // gets estimated from an interpolated volVectorField ('velocity')
71     // First is name of the flux to adapt, second is velocity that will
72     // be interpolated and inner-producted with the face area vector.
73     correctFluxes ((phi U));
76 // ************************************************************************* //