Skip to content

Commit c43559e

Browse files
committed
honestly this function is so f'ed
1 parent eb476ae commit c43559e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SU2_CFD/src/output/CFlowOutput.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ void CFlowOutput::WriteForcesBreakdown(const CConfig* config, const CSolver* flo
12531253
break;
12541254
}
12551255

1256-
if ((Kind_Solver == RANS) || (Kind_Solver == INC_RANS)) {
1256+
if (turbulent) {
12571257
switch (config->GetKind_ConductivityModel_Turb()) {
12581258
case CONDUCTIVITYMODEL_TURB::CONSTANT_PRANDTL:
12591259
file << "Turbulent Conductivity Model: CONSTANT_PRANDTL \n";
@@ -1605,7 +1605,7 @@ void CFlowOutput::WriteForcesBreakdown(const CConfig* config, const CSolver* flo
16051605
break;
16061606
}
16071607

1608-
if ((Kind_Solver == RANS) || (Kind_Solver == ADJ_RANS) || (Kind_Solver == DISC_ADJ_RANS)) {
1608+
if (turbulent) {
16091609
switch (config->GetKind_ConductivityModel_Turb()) {
16101610
case CONDUCTIVITYMODEL_TURB::CONSTANT_PRANDTL:
16111611
file << "Turbulent Conductivity Model: CONSTANT_PRANDTL \n";

0 commit comments

Comments
 (0)