Skip to content

Commit c0324a4

Browse files
Fix CHT boundary problem for flamelet computations (#2283)
* changing CHT_WALL_INTERFACE
1 parent 9dcc4dc commit c0324a4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

SU2_CFD/src/integration/CIntegration.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,13 @@ void CIntegration::Space_Integration(CGeometry *geometry,
171171
break;
172172
case CHT_WALL_INTERFACE:
173173

174-
if ( MainSolver == FLOW_SOL && (config->GetKind_FluidModel() == FLUID_FLAMELET) ){
175-
solver_container[MainSolver]->BC_Isothermal_Wall(geometry, solver_container, conv_bound_numerics, visc_bound_numerics, config, iMarker);
176-
break;
177-
}
178-
if ((MainSolver == SPECIES_SOL) || (MainSolver == HEAT_SOL) || ((MainSolver == FLOW_SOL) && ((config->GetKind_Regime() == ENUM_REGIME::COMPRESSIBLE) || config->GetEnergy_Equation()))) {
179-
solver_container[MainSolver]->BC_ConjugateHeat_Interface(geometry, solver_container, conv_bound_numerics, config, iMarker);
180-
}
181-
else {
174+
if ((MainSolver == FLOW_SOL && (config->GetKind_FluidModel() == FLUID_FLAMELET)) ||
175+
(MainSolver == SPECIES_SOL) || (MainSolver == HEAT_SOL) ||
176+
((MainSolver == FLOW_SOL) &&
177+
((config->GetKind_Regime() == ENUM_REGIME::COMPRESSIBLE) || config->GetEnergy_Equation()))) {
178+
solver_container[MainSolver]->BC_ConjugateHeat_Interface(geometry, solver_container, conv_bound_numerics,
179+
config, iMarker);
180+
} else {
182181
solver_container[MainSolver]->BC_HeatFlux_Wall(geometry, solver_container, conv_bound_numerics, visc_bound_numerics, config, iMarker);
183182
}
184183
break;

0 commit comments

Comments
 (0)