Skip to content

Commit

Permalink
adding scalar bgs residuals for multizone for species flamelet solver (
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristopher-Morales authored Apr 21, 2024
1 parent 95ccddd commit b75f064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SU2_CFD/src/output/CFlowOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,9 @@ void CFlowOutput::LoadHistoryDataScalar(const CConfig* config, const CSolver* co
const auto& cv_name = config->GetControllingVariableName(iCV);
SetHistoryOutputValue("RMS_" + cv_name, log10(solver[SPECIES_SOL]->GetRes_RMS(iCV)));
SetHistoryOutputValue("MAX_" + cv_name, log10(solver[SPECIES_SOL]->GetRes_Max(iCV)));
if (multiZone) {
SetHistoryOutputValue("BGS_" + cv_name, log10(solver[SPECIES_SOL]->GetRes_BGS(iCV)));
}
}
/*--- auxiliary species transport ---*/
for (unsigned short iReactant=0; iReactant<config->GetNUserScalars(); iReactant++){
Expand Down

0 comments on commit b75f064

Please sign in to comment.