STYLE: miss-aligned Headers
[foam-extend-3.2.git] / tutorials / mesh / moveDynamicMesh / circCylinder3dHex / constant / dynamicMeshDict
blobd52084cfe8a754cb2523250cd94d81b5aa31da33
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | foam-extend: Open Source CFD                    |
4 |  \\    /   O peration     | Version:     3.0                                |
5 |   \\  /    A nd           | Web:         http://www.extend-project.de       |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     location    "constant";
14     object      dynamicMeshDict;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // Select the type of dynamicFvMesh, and load custom library
19 dynamicFvMesh           dynamicMotionSolverFvMesh;
21 solver                  mesquiteMotionSolver;
22 //solver                  laplace;
23 //diffusivity             uniform 1.0;
24 //diffusivity             quadratic;
25 //distancePatches         (topWall);
26 //frozenDiffusion         off;
28 mesquiteOptions
30     // Optimization metric
31 //     optMetric               AspectRatioGamma;
32     optMetric
33     {
34 //         firstMetric   EdgeLength;
35         firstMetric MeanRatio;
36 //         secondMetric MeanRatio;
37         secondMetric  AspectRatioGamma;
38     }
40     // Objective function
41     objFunction             CompositeOFAdd;
43     // Optimization algorithm
44     optAlgorithm            FeasibleNewton;
45 //     optAlgorithm            ConjugateGradient;
47     // Termination criteria sub-dictionary (takes default values if not specified)
48     // Specifying an empty sub-dictionary terminates with available options
49     tcInner
50     {
51        //relGradL2            1e-2;
52        //cpuTime              0.5;
53        iterationLimit       5;
54     }
55     // tcOuter
56     // {}
58     sliverThreshold        0.05;
60     // For composite functions, two objectives need to be specified
61     firstFunction           LInf;
62     secondFunction          LPtoP;
64     // For scaled functions, scale and objective needs to be specified
65     // scaleFunction        PMeanP;
66     // scale                1.5;
68     // Power value for the LPtoP objective function
69     pValue                  20;
70     power                   2;
72     // Specify a tolerance for the CG solver
73     tolerance               1e-2;
75     // Specify number of CG sweeps
76     nSweeps                 1;
78     // Specify a relaxation factor, if necessary
79     //relaxationFactor        0.1;
81     // Specify slip patches for the motionSolver
82     slipPatches
83     {
84         sideWall;
85         topWall;
86         bottomWall;
87     }
89     cylindricalConstraints
90     {
91         // Specify options per slip patch
92         sideWall
93         {
94             axisPoint      (0.0 0.0 0.0);
95             axisVector     (0.0 0.0 1.0);
96             radius          1.0;
97         }
98     }
100     // Specify fixedValue patches for the motionSolver
101     fixedValuePatches
102     {
103         topWall
104         {
105             //type          angularOscillatingDisplacement;
106             //amplitude     -0.0125;
107             type          oscillatingDisplacement;
108             amplitude     (0 0 0.01);
109             axis          (1 0 0);
110             origin        (0 0 3);
111             angle0        0.0;
112             omega         0.15;
113             value         uniform (0 0 0);
114         }
115     }
117     // Specify interval for surface smoothing
118     surfInterval            1;
121 // ************************************************************************* //