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