1 /*--------------------------------*- C++ -*----------------------------------*\
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 \*---------------------------------------------------------------------------*/
14 object dynamicMeshDict;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 //- Specify dynamicFvMesh library
19 dynamicFvMeshLibs ("libdynamicTopoFvMesh.so");
21 //- Select the type of dynamicFvMesh
22 dynamicFvMesh dynamicTopoFvMesh;
24 //- Select the type of motionSolver
25 solver mesquiteMotionSolver;
29 //- Optimization metric
30 optMetric AspectRatioGamma;
32 //- Objective function
35 //- Optimization algorithm
36 optAlgorithm FeasibleNewton;
38 //- Termination criteria sub-dictionaries
39 //- (takes default values if not specified)
40 //- Specifying an empty sub-dictionary
41 //- terminates with available options
51 //- For composite functions, two objectives need to be specified
52 // firstFunction LPtoP;
53 // secondFunction LInf;
55 //- For scaled functions, scale and objective needs to be specified
56 // scaleFunction PMeanP;
59 //- Power value for the LPtoP objective function
63 //- Specify a tolerance for the surface-smoothing CG solver
66 //- Specify number of CG sweeps for surface-smoothing
69 //- Specify slip patches for the motionSolver
76 //- Constrain surface mesh-motion on a specified cylinder
77 cylindricalConstraints
79 //- Specify options per slip patch
82 axisPoint (0.0 0.0 0.0);
83 axisVector (0.0 0.0 1.0);
88 //- Specify fixedValue patches for the motionSolver
93 type angularOscillatingDisplacement;
95 //type oscillatingDisplacement;
96 //amplitude (0 0 -0.01);
101 value uniform (0 0 0);
105 //- Specify interval for surface smoothing
109 //- Options for dynamicTopoFvMesh
112 //- Should all options be made mandatory?
113 //- Useful for first-time use.
114 allOptionsMandatory no;
116 //- Set run-time debug level [0-5]
119 //- Specify the number of threads
122 //- Specify re-meshing interval
123 //- Negative value implies no re-meshing
126 //- Specify whether the length-scale field
127 //- should be dumped to disk
128 dumpLengthScale false;
130 //- sliverThreshold specifies the
131 //- quality criteria for sliver removal.
132 sliverThreshold 0.35;
134 //- Should the tool attempt to remove slivers
135 //- that fall below the sliverThreshold value?
138 //- Skip mapping step. Useful while using
139 //- this tool as a pre-processor
142 // Toggle edgeRefinement on/off
145 //- Options for edge-bisection/collapse.
146 //- The edgeRefinement flag must be set for
147 //- the following options to have effect
154 //- By default, existing boundary edge-lengths
155 //- are used for length-scales.
156 //- Length-scale can be fixed for certain patches.
157 fixedLengthScalePatches
165 //- Avoid refinement on certain patches, if necessary
166 noModificationPatches
169 //- Set floating length-scale values on certain patches
170 freeLengthScalePatches
173 //- Limit lengthScales to specified values, if necessary
174 // minLengthScale 0.1;
175 // maxLengthScale 0.3;
177 //- Field-based refinement options
178 // fieldRefinement gamma;
179 // fieldLengthScale 0.005;
180 // lowerRefineLevel 0.001;
181 // upperRefineLevel 0.999;
186 //- If the number of modifications are to be limited, set this option
187 // maxModifications 1000;
189 //- Load custom libraries for metrics
190 // tetMetricLibs ("libtetMetrics.so");
192 //- Tetrahedral mesh quality metric
195 //- Avoid 2-2 swapping on certain patches
200 // ************************************************************************* //