1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
| {
"timeMarchControl": {
"dtImplicit": 1e100,
"nTimeStep": 1,
"steadyQuit": true,
"useRestart": false,
"odeCode": 0,
"tEnd": 3e+200
},
"convergenceControl": {
"nTimeStepInternal": 10000,
"rhsThresholdInternal": 1e-8,
"res_base": 0.0,
"useVolWiseResidual": true
},
"outputControl": {
"nConsoleCheck": 1,
"nConsoleCheckInternal": 10,
"consoleOutputMode": 1,
"nDataOutC": 100,
"nDataOut": 10,
"nDataOutCInternal": 50,
"nDataOutInternal": 1000000000,
"nRestartOut": 100,
"nRestartOutC": 10,
"nRestartOutCInternal": 200,
"nRestartOutInternal": 1000000000,
"tDataOut": 3e+200,
"consoleMainOutputFormatInternal": [
"\t Internal === Step [{step:4d},{iStep:2d},{iter:4d}] ",
"res {termRed}{resRel:.15e}{termReset} ",
"t,dT,dTaumin,CFL,nFix {termGreen}[{tSimu:.3e},{curDtImplicit:.3e},{curDtMin:.3e},{CFLNow:.3e},[alphaInc({nLimInc},{alphaMinInc:.3g}), betaRec({nLimBeta},{minBeta:.3g}), alphaRes({nLimAlpha},{minAlpha:.3g})]]{termReset} ",
"Time[{telapsedM:.3f}] recTime[{trecM:.3f}] rhsTime[{trhsM:.3f}] commTime[{tcommM:.3f}] limTime[{tLimM:.3f}] limTimeA[{tLimiterA:.3f}] limTimeB[{tLimiterB:.3f}]"
],
"dataOutAtInit": true
},
"implicitCFLControl": {
"CFL": 50,
"nForceLocalStartStep": 2147483647,
"nCFLRampStart": 2147483647,
"nCFLRampLength": 2147483647,
"CFLRampEnd": 0.0,
"useLocalDt": true
},
"dataIOControl": {
"uniqueStamps": false,
"meshRotZ": 0.0,
"meshFile": "../data/mesh/NACA0012_H2.cgns",
"outPltName": "../data/out/NACA0012_H2-MGtest",
"outPltMode": 0,
"readMeshMode": 0,
"outPltTecplotFormat": true,
"outPltVTKFormat": false,
"outAtPointData": true,
"outAtCellData": true,
"outBndData": true,
"outCellScalarNames": [
// "minJacobiDetRel",
// "cellVolume",
"dWall"
]
},
"boundaryDefinition": {},
"implicitReconstructionControl": {
"nInternalRecStep": 1,
"zeroGrads": false,
"recLinearScheme": 0, // 2 is fpcg, 1 is gmres
"nGmresSpace": 5,
"nGmresIter": 1,
"fpcgResetScheme": 0,
"fpcgResetReport": 1,
"recThreshold": 1e-05,
"nRecConsolCheck": 10,
"storeRecInc": true,
"dampRecIncDTau": false
},
"limiterControl": {
"useLimiter": false,
"smoothIndicatorProcedure": 0,
"limiterProcedure": 1, //1 == CWBAP
"nPartialLimiterStart": 1000000,
"nPartialLimiterStartLocal": 1000000
},
"vfvSettings": {
"maxOrder": 3,
"intOrder": 5,
"intOrderVR": 5,
"cacheDiffBase": true,
"jacobiRelax": 1.0,
"SORInstead": false,
"smoothThreshold": 1e-3,
"WBAP_nStd": 10.0,
"normWBAP": false,
"subs2ndOrder": 1,
"subs2ndOrderGGScheme": 0,
"baseSettings": {
"localOrientation": true,
"anisotropicLengths": false
},
"functionalSettings": {
// "scaleType": "MeanAACBB",
"dirWeightScheme": "HQM_OPT",
// "dirWeightScheme": "ManualDirWeight",
// "manualDirWeights": [
// 1.0,
// 1,
// 0,
// 0
// ],
"geomWeightScheme": "HQM_SD",
"geomWeightPower": 0.5,
"geomWeightBias": 1,
// "geomWeightScheme": "SD_Power",
// "geomWeightPower1": -0.5,
// "geomWeightPower2": 0.5,
// "useAnisotropicFunctional": true,
// // "anisotropicType": "InertiaCoordBB",
// "inertiaWeightPower": 0,
// "scaleMultiplier": 1,
"_tail": 0
}
},
"linearSolverControl": {
"jacobiCode": 0,
"sgsIter": 0,
"sgsWithRec": 0,
"gmresCode": 1,
"gmresScale": 2,
"nGmresSpace": 5,
"nGmresIter": 2,
"multiGridLP": 1,
"multiGridLPInnerNIter": 4,
"directPrecControl": {
"useDirectPrec": true,
"iluCode": 2,
"orderingCode": 4,
"_tail": 0
}
},
"others": {
"nFreezePassiveInner": 0
},
"eulerSettings": {
"ignoreSourceTerm": false,
"useScalarJacobian": false,
"useRoeJacobian": false,
"riemannSolverType": "Roe_M1",
"uRecBetaCompressPower": 1,
"wallDistScheme": 1,
"wallDistExection": 5,
"wallDistRefineMax": 0.01,
"wallDistIter": 1000,
"wallDistLinSolver": 0,
"wallDistResTol": 1e-4,
"wallDistPoissonP": 8,
"ransUseQCR": 0,
"ransSARotCorrection": 1,
"usePrimGradInVisFlux": 0,
// "ransForce2nd": 1,
"constMassForce": [
0.0,
0.0,
0.0
],
"Comment": {
"M0.15": [
1,
1,
0,
0,
79.8650793650794,
1.3,
{
"Rgas": 0.116221972344982
}
],
"M0.8": [
1,
1,
0,
0,
2.971576866040534,
1.3,
{
"Rgas": 0.003338277043445
}
]
},
"farFieldStaticValue": [
1,
1,
0,
0,
79.8650793650794,
3
],
// "farFieldStaticValue": [
// 10000,
// 96.5925826289068,
// 25.8819045102521,
// 0,
// 79.8650793650794,
// 1.3
// ],
"idealGasProperty": {
"gamma": 1.4,
"Rgas": 0.116221972344982,
// "Rgas": 0.0000116221972344982,
"muGas": 3.472222222222222e-7,
// "muGas": 3.472222222222222e-5,
"prGas": 0.72,
"TRef": 273.15,
"CSutherland": 110.4
},
"cLDriverSettings": {
"AOAInit": 5.0,
"AOAAxis": "z",
"CL0Axis": "y",
"CD0Axis": "x",
"refArea": 1.0,
"refDynamicPressure": 0.5,
"targetCL": 1.0,
// "nIterStartDrive": 1000,
"nIterConvergeMin": 100,
"CLconvergeThreshold": 0.001,
"CLconvergeWindow": 10
},
"cLDriverBCNames": [
"WALL"
]
},
"restartState": {
"iStep": 1,
"iStepInternal": 15000,
"odeCodePrev": -1,
"lastRestartFile": "../data/out/NACA0012_H2__C_p16_restart_test1.dir"
}
}
|