Skip to content

Commit e2a80e6

Browse files
avoid duplicating enthalpy output for flamelet solver
1 parent d316de6 commit e2a80e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SU2_CFD/src/output/CFlowIncOutput.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ void CFlowIncOutput::SetVolumeOutputFields(CConfig *config){
306306
if (nDim == 3)
307307
AddVolumeOutput("VELOCITY-Z", "Velocity_z", "SOLUTION", "z-component of the velocity vector");
308308
if (weakly_coupled_heat) AddVolumeOutput("TEMPERATURE", "Temperature", "SOLUTION", "Temperature");
309-
if (heat || flamelet) AddVolumeOutput("ENTHALPY", "Enthalpy", "SOLUTION", "Enthalpy");
309+
if (heat) AddVolumeOutput("ENTHALPY", "Enthalpy", "SOLUTION", "Enthalpy");
310310

311311
SetVolumeOutputFieldsScalarSolution(config);
312312

@@ -410,7 +410,7 @@ void CFlowIncOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSolve
410410
if (nDim == 3)
411411
SetVolumeOutputValue("VELOCITY-Z", iPoint, Node_Flow->GetSolution(iPoint, 3));
412412

413-
if (heat || flamelet) {
413+
if (heat) {
414414
SetVolumeOutputValue("ENTHALPY", iPoint, Node_Flow->GetSolution(iPoint, nDim+1));
415415
}
416416
if (weakly_coupled_heat) SetVolumeOutputValue("TEMPERATURE", iPoint, Node_Heat->GetSolution(iPoint, 0));

0 commit comments

Comments
 (0)