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