Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Small fix for QN coupling.
  • Loading branch information
oleburghardt committed Apr 28, 2026
commit cf5236272b8eb7cdece1348209ff6f55ea753a21
7 changes: 5 additions & 2 deletions SU2_CFD/src/interfaces/cht/CConjugateHeatInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ void CConjugateHeatInterface::SetTarget_Variable(CSolver *target_solution, CGeom
target_solution->SetConjugateHeatVariable(Marker_Target, Vertex_Target, 0,
target_config->GetRelaxation_Factor_CHT(), Target_Variable[0]);

if ((target_config->GetKind_CHT_Coupling() == CHT_COUPLING::DIRECT_TEMPERATURE_ROBIN_HEATFLUX) ||
(target_config->GetKind_CHT_Coupling() == CHT_COUPLING::AVERAGED_TEMPERATURE_ROBIN_HEATFLUX)) {
bool Robin = ((target_config->GetKind_CHT_Coupling() == CHT_COUPLING::DIRECT_TEMPERATURE_ROBIN_HEATFLUX) ||
(target_config->GetKind_CHT_Coupling() == CHT_COUPLING::AVERAGED_TEMPERATURE_ROBIN_HEATFLUX));
bool fluid_donor = (interface_type == CHT_FLUID_SOLID || interface_type == CHT_FLUID_SOLID_WEAKLY);

if ((Robin && fluid_donor) || (interface_type == CHT_SOLID_SOLID)) {

target_solution->SetConjugateHeatVariable(Marker_Target, Vertex_Target, 0,
target_config->GetRelaxation_Factor_CHT(), Target_Variable[0]);
Expand Down
Loading