Skip to content

Commit

Permalink
Using free stream tremperature for initialization of wall temperature…
Browse files Browse the repository at this point in the history
… for pure conjugate heat transfer problems (#2281)

* using freestream temperature as a default value

* Update Common/src/CConfig.cpp

Co-authored-by: Evert Bunschoten <[email protected]>

---------

Co-authored-by: Evert Bunschoten <[email protected]>
  • Loading branch information
Cristopher-Morales and EvertBunschoten authored May 14, 2024
1 parent a1ff242 commit ca12a5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9234,7 +9234,8 @@ su2double CConfig::GetIsothermal_Temperature(const string& val_marker) const {
if (Marker_Isothermal[iMarker_Isothermal] == val_marker)
return Isothermal_Temperature[iMarker_Isothermal];

return Isothermal_Temperature[0];
// Return free-stream temperature for pure CHT cases.
return Temperature_FreeStream;
}

su2double CConfig::GetWall_HeatFlux(const string& val_marker) const {
Expand Down

0 comments on commit ca12a5c

Please sign in to comment.