Skip to content

Commit

Permalink
Fix CHT boundary problem for flamelet computations (#2283)
Browse files Browse the repository at this point in the history
* changing CHT_WALL_INTERFACE
  • Loading branch information
Cristopher-Morales authored May 18, 2024
1 parent 9dcc4dc commit c0324a4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions SU2_CFD/src/integration/CIntegration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,13 @@ void CIntegration::Space_Integration(CGeometry *geometry,
break;
case CHT_WALL_INTERFACE:

if ( MainSolver == FLOW_SOL && (config->GetKind_FluidModel() == FLUID_FLAMELET) ){
solver_container[MainSolver]->BC_Isothermal_Wall(geometry, solver_container, conv_bound_numerics, visc_bound_numerics, config, iMarker);
break;
}
if ((MainSolver == SPECIES_SOL) || (MainSolver == HEAT_SOL) || ((MainSolver == FLOW_SOL) && ((config->GetKind_Regime() == ENUM_REGIME::COMPRESSIBLE) || config->GetEnergy_Equation()))) {
solver_container[MainSolver]->BC_ConjugateHeat_Interface(geometry, solver_container, conv_bound_numerics, config, iMarker);
}
else {
if ((MainSolver == FLOW_SOL && (config->GetKind_FluidModel() == FLUID_FLAMELET)) ||
(MainSolver == SPECIES_SOL) || (MainSolver == HEAT_SOL) ||
((MainSolver == FLOW_SOL) &&
((config->GetKind_Regime() == ENUM_REGIME::COMPRESSIBLE) || config->GetEnergy_Equation()))) {
solver_container[MainSolver]->BC_ConjugateHeat_Interface(geometry, solver_container, conv_bound_numerics,
config, iMarker);
} else {
solver_container[MainSolver]->BC_HeatFlux_Wall(geometry, solver_container, conv_bound_numerics, visc_bound_numerics, config, iMarker);
}
break;
Expand Down

0 comments on commit c0324a4

Please sign in to comment.