Skip to content

Commit acce0ac

Browse files
committed
Add SST_SUST where missing. And handle NONE instead of default in switches.
1 parent f810117 commit acce0ac

7 files changed

Lines changed: 59 additions & 59 deletions

File tree

SU2_CFD/src/drivers/CDriver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,16 +1315,16 @@ void CDriver::Numerics_Preprocessing(CConfig *config, CGeometry **geometry, CSol
13151315

13161316
if (turbulent || fem_turbulent)
13171317
switch (config->GetKind_Turb_Model()) {
1318+
case TURB_MODEL::NONE:
1319+
SU2_MPI::Error("No turbulence model selected.", CURRENT_FUNCTION);
1320+
break;
13181321
case TURB_MODEL::SA: spalart_allmaras = true; break;
13191322
case TURB_MODEL::SA_NEG: neg_spalart_allmaras = true; break;
13201323
case TURB_MODEL::SA_E: e_spalart_allmaras = true; break;
13211324
case TURB_MODEL::SA_COMP: comp_spalart_allmaras = true; break;
13221325
case TURB_MODEL::SA_E_COMP: e_comp_spalart_allmaras = true; break;
13231326
case TURB_MODEL::SST: menter_sst = true; break;
13241327
case TURB_MODEL::SST_SUST: menter_sst = true; break;
1325-
default:
1326-
SU2_MPI::Error("Specified turbulence model unavailable or none selected", CURRENT_FUNCTION);
1327-
break;
13281328
}
13291329

13301330
/*--- If the Menter SST model is used, store the constants of the model and determine the

SU2_CFD/src/output/CAdjFlowCompOutput.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ void CAdjFlowCompOutput::SetHistoryOutputFields(CConfig *config){
118118
/// DESCRIPTION: Root-mean square residual of the adjoint nu tilde.
119119
AddHistoryOutput("RMS_ADJ_NU_TILDE", "rms[A_nu]", ScreenOutputFormat::FIXED, "RMS_RES", "Root-mean square residual of the adjoint nu tilde.", HistoryFieldType::RESIDUAL);
120120
break;
121-
case TURB_MODEL::SST:
121+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
122122
/// DESCRIPTION: Root-mean square residual of the adjoint kinetic energy.
123123
AddHistoryOutput("RMS_ADJ_TKE", "rms[A_k]", ScreenOutputFormat::FIXED, "RMS_RES", "Root-mean square residual of the adjoint kinetic energy.", HistoryFieldType::RESIDUAL);
124124
/// DESCRIPTION: Root-mean square residual of the adjoint dissipation.
125125
AddHistoryOutput("RMS_ADJ_DISSIPATION", "rms[A_w]", ScreenOutputFormat::FIXED, "RMS_RES", " Root-mean square residual of the adjoint dissipation.", HistoryFieldType::RESIDUAL);
126126
break;
127-
default: break;
127+
case TURB_MODEL::NONE: break;
128128
}
129129
}
130130
/// END_GROUP
@@ -146,13 +146,13 @@ void CAdjFlowCompOutput::SetHistoryOutputFields(CConfig *config){
146146
/// DESCRIPTION: Maximum residual of the adjoint nu tilde.
147147
AddHistoryOutput("MAX_ADJ_NU_TILDE", "max[A_nu]", ScreenOutputFormat::FIXED, "MAX_RES", "Maximum residual of the adjoint nu tilde.", HistoryFieldType::RESIDUAL);
148148
break;
149-
case TURB_MODEL::SST:
149+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
150150
/// DESCRIPTION: Maximum residual of the adjoint kinetic energy.
151151
AddHistoryOutput("MAX_ADJ_TKE", "max[A_k]", ScreenOutputFormat::FIXED, "MAX_RES", "Maximum residual of the adjoint kinetic energy.", HistoryFieldType::RESIDUAL);
152152
/// DESCRIPTION: Maximum residual of the adjoint dissipation.
153153
AddHistoryOutput("MAX_ADJ_DISSIPATION", "max[A_w]", ScreenOutputFormat::FIXED, "MAX_RES", "Maximum residual of the adjoint dissipation.", HistoryFieldType::RESIDUAL);
154154
break;
155-
default: break;
155+
case TURB_MODEL::NONE: break;
156156
}
157157
}
158158
/// END_GROUP
@@ -175,13 +175,13 @@ void CAdjFlowCompOutput::SetHistoryOutputFields(CConfig *config){
175175
/// DESCRIPTION: BGS residual of the adjoint nu tilde.
176176
AddHistoryOutput("BGS_ADJ_NU_TILDE", "bgs[A_nu]", ScreenOutputFormat::FIXED, "BGS_RES", "BGS residual of the adjoint nu tilde.", HistoryFieldType::RESIDUAL);
177177
break;
178-
case TURB_MODEL::SST:
178+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
179179
/// DESCRIPTION: BGS residual of the adjoint kinetic energy.
180180
AddHistoryOutput("BGS_ADJ_TKE", "bgs[A_k]", ScreenOutputFormat::FIXED, "BGS_RES", "BGS residual of the adjoint kinetic energy.", HistoryFieldType::RESIDUAL);
181181
/// DESCRIPTION: BGS residual of the adjoint dissipation.
182182
AddHistoryOutput("BGS_ADJ_DISSIPATION", "bgs[A_w]", ScreenOutputFormat::FIXED, "BGS_RES", "BGS residual of the adjoint dissipation.", HistoryFieldType::RESIDUAL);
183183
break;
184-
default: break;
184+
case TURB_MODEL::NONE: break;
185185
}
186186
}
187187

@@ -235,11 +235,11 @@ void CAdjFlowCompOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, C
235235
case TURB_MODEL::SA: case TURB_MODEL::SA_NEG: case TURB_MODEL::SA_E: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E_COMP:
236236
SetHistoryOutputValue("RMS_ADJ_NU_TILDE", log10(adjturb_solver->GetRes_RMS(0)));
237237
break;
238-
case TURB_MODEL::SST:
238+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
239239
SetHistoryOutputValue("RMS_ADJ_TKE", log10(adjturb_solver->GetRes_RMS(0)));
240240
SetHistoryOutputValue("RMS_ADJ_DISSIPATION", log10(adjturb_solver->GetRes_RMS(1)));
241241
break;
242-
default: break;
242+
case TURB_MODEL::NONE: break;
243243
}
244244
}
245245
SetHistoryOutputValue("MAX_ADJ_DENSITY", log10(adjflow_solver->GetRes_Max(0)));
@@ -256,11 +256,11 @@ void CAdjFlowCompOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, C
256256
case TURB_MODEL::SA: case TURB_MODEL::SA_NEG: case TURB_MODEL::SA_E: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E_COMP:
257257
SetHistoryOutputValue("MAX_ADJ_NU_TILDE", log10(adjturb_solver->GetRes_Max(0)));
258258
break;
259-
case TURB_MODEL::SST:
259+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
260260
SetHistoryOutputValue("MAX_ADJ_TKE", log10(adjturb_solver->GetRes_Max(0)));
261261
SetHistoryOutputValue("MAX_ADJ_DISSIPATION", log10(adjturb_solver->GetRes_Max(1)));
262262
break;
263-
default: break;
263+
case TURB_MODEL::NONE: break;
264264
}
265265
}
266266

@@ -279,11 +279,11 @@ void CAdjFlowCompOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, C
279279
case TURB_MODEL::SA: case TURB_MODEL::SA_NEG: case TURB_MODEL::SA_E: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E_COMP:
280280
SetHistoryOutputValue("BGS_ADJ_NU_TILDE", log10(adjturb_solver->GetRes_BGS(0)));
281281
break;
282-
case TURB_MODEL::SST:
282+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
283283
SetHistoryOutputValue("BGS_ADJ_TKE", log10(adjturb_solver->GetRes_BGS(0)));
284284
SetHistoryOutputValue("BGS_ADJ_DISSIPATION", log10(adjturb_solver->GetRes_BGS(1)));
285285
break;
286-
default: break;
286+
case TURB_MODEL::NONE: break;
287287
}
288288
}
289289
}
@@ -335,13 +335,13 @@ void CAdjFlowCompOutput::SetVolumeOutputFields(CConfig *config){
335335
/// DESCRIPTION: Adjoint nu tilde.
336336
AddVolumeOutput("ADJ_NU_TILDE", "Adjoint_Nu_Tilde", "SOLUTION", "Adjoint Spalart-Allmaras variable");
337337
break;
338-
case TURB_MODEL::SST:
338+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
339339
/// DESCRIPTION: Adjoint kinetic energy.
340340
AddVolumeOutput("ADJ_TKE", "Adjoint_TKE", "SOLUTION", "Adjoint kinetic energy");
341341
/// DESCRIPTION: Adjoint dissipation.
342342
AddVolumeOutput("ADJ_DISSIPATION", "Adjoint_Omega", "SOLUTION", "Adjoint rate of dissipation");
343343
break;
344-
default: break;
344+
case TURB_MODEL::NONE: break;
345345
}
346346
}
347347
/// END_GROUP
@@ -364,13 +364,13 @@ void CAdjFlowCompOutput::SetVolumeOutputFields(CConfig *config){
364364
/// DESCRIPTION: Residual of the nu tilde.
365365
AddVolumeOutput("RES_ADJ_NU_TILDE", "Residual_Adjoint_Nu_Tilde", "RESIDUAL", "Residual of the Spalart-Allmaras variable");
366366
break;
367-
case TURB_MODEL::SST:
367+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
368368
/// DESCRIPTION: Residual of the adjoint kinetic energy.
369369
AddVolumeOutput("RES_ADJ_TKE", "Residual_Adjoint_TKE", "RESIDUAL", "Residual of the turb. kinetic energy");
370370
/// DESCRIPTION: Residual of the adjoint dissipation.
371371
AddVolumeOutput("RES_ADJ_DISSIPATION", "Residual_Adjoint_Omega", "RESIDUAL", "Residual of the rate of dissipation");
372372
break;
373-
default: break;
373+
case TURB_MODEL::NONE: break;
374374
}
375375
}
376376
/// END_GROUP
@@ -417,15 +417,15 @@ void CAdjFlowCompOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CS
417417
if (!frozen_visc) {
418418
// Turbulent
419419
switch(turb_model){
420-
case TURB_MODEL::SST:
420+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
421421
SetVolumeOutputValue("ADJ_TKE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0));
422422
SetVolumeOutputValue("ADJ_DISSIPATION", iPoint, Node_AdjTurb->GetSolution(iPoint, 1));
423423
break;
424424
case TURB_MODEL::SA: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E:
425425
case TURB_MODEL::SA_E_COMP: case TURB_MODEL::SA_NEG:
426426
SetVolumeOutputValue("ADJ_NU_TILDE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0));
427427
break;
428-
default: break;
428+
case TURB_MODEL::NONE: break;
429429
}
430430
}
431431

@@ -442,15 +442,15 @@ void CAdjFlowCompOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CS
442442

443443
if (!frozen_visc) {
444444
switch(config->GetKind_Turb_Model()){
445-
case TURB_MODEL::SST:
445+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
446446
SetVolumeOutputValue("RES_ADJ_TKE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0) - Node_AdjTurb->GetSolution_Old(iPoint, 0));
447447
SetVolumeOutputValue("RES_ADJ_DISSIPATION", iPoint, Node_AdjTurb->GetSolution(iPoint, 1) - Node_AdjTurb->GetSolution_Old(iPoint, 1));
448448
break;
449449
case TURB_MODEL::SA: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E:
450450
case TURB_MODEL::SA_E_COMP: case TURB_MODEL::SA_NEG:
451451
SetVolumeOutputValue("RES_ADJ_NU_TILDE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0) - Node_AdjTurb->GetSolution_Old(iPoint, 0));
452452
break;
453-
default: break;
453+
case TURB_MODEL::NONE: break;
454454
}
455455
}
456456

SU2_CFD/src/output/CAdjFlowIncOutput.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ void CAdjFlowIncOutput::SetHistoryOutputFields(CConfig *config){
124124
/// DESCRIPTION: Root-mean square residual of the adjoint nu tilde.
125125
AddHistoryOutput("RMS_ADJ_NU_TILDE", "rms[A_nu]", ScreenOutputFormat::FIXED, "RMS_RES", "Root-mean square residual of the adjoint nu tilde.", HistoryFieldType::RESIDUAL);
126126
break;
127-
case TURB_MODEL::SST:
127+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
128128
/// DESCRIPTION: Root-mean square residual of the adjoint kinetic energy.
129129
AddHistoryOutput("RMS_ADJ_TKE", "rms[A_k]", ScreenOutputFormat::FIXED, "RMS_RES", "Root-mean square residual of the adjoint kinetic energy.", HistoryFieldType::RESIDUAL);
130130
/// DESCRIPTION: Root-mean square residual of the adjoint dissipation.
131131
AddHistoryOutput("RMS_ADJ_DISSIPATION", "rms[A_w]", ScreenOutputFormat::FIXED, "RMS_RES", "Root-mean square residual of the adjoint dissipation.", HistoryFieldType::RESIDUAL);
132132
break;
133-
default: break;
133+
case TURB_MODEL::NONE: break;
134134
}
135135
}
136136
if (config->AddRadiation()){
@@ -156,13 +156,13 @@ void CAdjFlowIncOutput::SetHistoryOutputFields(CConfig *config){
156156
/// DESCRIPTION: Maximum residual of the adjoint nu tilde.
157157
AddHistoryOutput("MAX_ADJ_NU_TILDE", "max[A_nu]", ScreenOutputFormat::FIXED, "MAX_RES", "Maximum residual of the adjoint nu tilde.", HistoryFieldType::RESIDUAL);
158158
break;
159-
case TURB_MODEL::SST:
159+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
160160
/// DESCRIPTION: Maximum residual of the adjoint kinetic energy.
161161
AddHistoryOutput("MAX_ADJ_TKE", "max[A_k]", ScreenOutputFormat::FIXED, "MAX_RES", "Maximum residual of the adjoint kinetic energy.", HistoryFieldType::RESIDUAL);
162162
/// DESCRIPTION: Maximum residual of the adjoint dissipation.
163163
AddHistoryOutput("MAX_ADJ_DISSIPATION", "max[A_w]", ScreenOutputFormat::FIXED, "MAX_RES", "Maximum residual of the adjoint dissipation.", HistoryFieldType::RESIDUAL);
164164
break;
165-
default: break;
165+
case TURB_MODEL::NONE: break;
166166
}
167167
}
168168
/// END_GROUP
@@ -184,13 +184,13 @@ void CAdjFlowIncOutput::SetHistoryOutputFields(CConfig *config){
184184
/// DESCRIPTION: BGS residual of the adjoint nu tilde.
185185
AddHistoryOutput("BGS_ADJ_NU_TILDE", "bgs[A_nu]", ScreenOutputFormat::FIXED, "BGS_RES", "BGS residual of the adjoint nu tilde.", HistoryFieldType::RESIDUAL);
186186
break;
187-
case TURB_MODEL::SST:
187+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
188188
/// DESCRIPTION: BGS residual of the adjoint kinetic energy.
189189
AddHistoryOutput("BGS_ADJ_TKE", "bgs[A_k]", ScreenOutputFormat::FIXED, "BGS_RES", "BGS residual of the adjoint kinetic energy.", HistoryFieldType::RESIDUAL);
190190
/// DESCRIPTION: BGS residual of the adjoint dissipation.
191191
AddHistoryOutput("BGS_ADJ_DISSIPATION", "bgs[A_w]", ScreenOutputFormat::FIXED, "BGS_RES", "BGS residual of the adjoint dissipation.", HistoryFieldType::RESIDUAL);
192192
break;
193-
default: break;
193+
case TURB_MODEL::NONE: break;
194194
}
195195
}
196196
if (config->AddRadiation()){
@@ -253,11 +253,11 @@ void CAdjFlowIncOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, CS
253253
case TURB_MODEL::SA: case TURB_MODEL::SA_NEG: case TURB_MODEL::SA_E: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E_COMP:
254254
SetHistoryOutputValue("RMS_ADJ_NU_TILDE", log10(adjturb_solver->GetRes_RMS(0)));
255255
break;
256-
case TURB_MODEL::SST:
256+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
257257
SetHistoryOutputValue("RMS_ADJ_TKE", log10(adjturb_solver->GetRes_RMS(0)));
258258
SetHistoryOutputValue("RMS_ADJ_DISSIPATION", log10(adjturb_solver->GetRes_RMS(1)));
259259
break;
260-
default: break;
260+
case TURB_MODEL::NONE: break;
261261
}
262262
}
263263
if (config->AddRadiation()){
@@ -281,11 +281,11 @@ void CAdjFlowIncOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, CS
281281
case TURB_MODEL::SA: case TURB_MODEL::SA_NEG: case TURB_MODEL::SA_E: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E_COMP:
282282
SetHistoryOutputValue("MAX_ADJ_NU_TILDE", log10(adjturb_solver->GetRes_Max(0)));
283283
break;
284-
case TURB_MODEL::SST:
284+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
285285
SetHistoryOutputValue("MAX_ADJ_TKE", log10(adjturb_solver->GetRes_Max(0)));
286286
SetHistoryOutputValue("MAX_ADJ_DISSIPATION", log10(adjturb_solver->GetRes_Max(1)));
287287
break;
288-
default: break;
288+
case TURB_MODEL::NONE: break;
289289
}
290290
}
291291

@@ -308,11 +308,11 @@ void CAdjFlowIncOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, CS
308308
case TURB_MODEL::SA: case TURB_MODEL::SA_NEG: case TURB_MODEL::SA_E: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E_COMP:
309309
SetHistoryOutputValue("BGS_ADJ_NU_TILDE", log10(adjturb_solver->GetRes_BGS(0)));
310310
break;
311-
case TURB_MODEL::SST:
311+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
312312
SetHistoryOutputValue("BGS_ADJ_TKE", log10(adjturb_solver->GetRes_BGS(0)));
313313
SetHistoryOutputValue("BGS_ADJ_DISSIPATION", log10(adjturb_solver->GetRes_BGS(1)));
314314
break;
315-
default: break;
315+
case TURB_MODEL::NONE: break;
316316
}
317317
}
318318
if (config->AddRadiation()){
@@ -370,13 +370,13 @@ void CAdjFlowIncOutput::SetVolumeOutputFields(CConfig *config){
370370
/// DESCRIPTION: Adjoint nu tilde.
371371
AddVolumeOutput("ADJ_NU_TILDE", "Adjoint_Nu_Tilde", "SOLUTION", "Adjoint Spalart-Allmaras variable");
372372
break;
373-
case TURB_MODEL::SST:
373+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
374374
/// DESCRIPTION: Adjoint kinetic energy.
375375
AddVolumeOutput("ADJ_TKE", "Adjoint_TKE", "SOLUTION", "Adjoint turbulent kinetic energy");
376376
/// DESCRIPTION: Adjoint dissipation.
377377
AddVolumeOutput("ADJ_DISSIPATION", "Adjoint_Omega", "SOLUTION", "Adjoint rate of dissipation");
378378
break;
379-
default: break;
379+
case TURB_MODEL::NONE: break;
380380
}
381381
}
382382

@@ -411,13 +411,13 @@ void CAdjFlowIncOutput::SetVolumeOutputFields(CConfig *config){
411411
/// DESCRIPTION: Residual of the nu tilde.
412412
AddVolumeOutput("RES_ADJ_NU_TILDE", "Residual_Adjoint_Nu_Tilde", "RESIDUAL", "Residual of the adjoint Spalart-Allmaras variable");
413413
break;
414-
case TURB_MODEL::SST:
414+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
415415
/// DESCRIPTION: Residual of the adjoint kinetic energy.
416416
AddVolumeOutput("RES_ADJ_TKE", "Residual_Adjoint_TKE", "RESIDUAL", "Residual of the adjoint turb. kinetic energy");
417417
/// DESCRIPTION: Residual of the adjoint dissipation.
418418
AddVolumeOutput("RES_ADJ_DISSIPATION", "Residual_Adjoint_Omega", "RESIDUAL", "Residual of adjoint rate of dissipation");
419419
break;
420-
default: break;
420+
case TURB_MODEL::NONE: break;
421421
}
422422
}
423423
if (config->AddRadiation()){
@@ -479,15 +479,15 @@ void CAdjFlowIncOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSo
479479
// Turbulent
480480
if (!frozen_visc){
481481
switch(turb_model){
482-
case TURB_MODEL::SST:
482+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
483483
SetVolumeOutputValue("ADJ_TKE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0));
484484
SetVolumeOutputValue("ADJ_DISSIPATION", iPoint, Node_AdjTurb->GetSolution(iPoint, 1));
485485
break;
486486
case TURB_MODEL::SA: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E:
487487
case TURB_MODEL::SA_E_COMP: case TURB_MODEL::SA_NEG:
488488
SetVolumeOutputValue("ADJ_NU_TILDE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0));
489489
break;
490-
default: break;
490+
case TURB_MODEL::NONE: break;
491491
}
492492
}
493493
// Radiation
@@ -507,15 +507,15 @@ void CAdjFlowIncOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSo
507507
}
508508
if (!frozen_visc){
509509
switch(config->GetKind_Turb_Model()){
510-
case TURB_MODEL::SST:
510+
case TURB_MODEL::SST: case TURB_MODEL::SST_SUST:
511511
SetVolumeOutputValue("RES_ADJ_TKE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0) - Node_AdjTurb->GetSolution_Old(iPoint, 0));
512512
SetVolumeOutputValue("RES_ADJ_DISSIPATION", iPoint, Node_AdjTurb->GetSolution(iPoint, 1) - Node_AdjTurb->GetSolution_Old(iPoint, 1));
513513
break;
514514
case TURB_MODEL::SA: case TURB_MODEL::SA_COMP: case TURB_MODEL::SA_E:
515515
case TURB_MODEL::SA_E_COMP: case TURB_MODEL::SA_NEG:
516516
SetVolumeOutputValue("RES_ADJ_NU_TILDE", iPoint, Node_AdjTurb->GetSolution(iPoint, 0) - Node_AdjTurb->GetSolution_Old(iPoint, 0));
517517
break;
518-
default: break;
518+
case TURB_MODEL::NONE: break;
519519
}
520520
}
521521
if (config->AddRadiation()){

0 commit comments

Comments
 (0)