From 74a5481b228119accfe9f3284362e560c191c408 Mon Sep 17 00:00:00 2001 From: Cristopher-Morales Date: Wed, 19 Feb 2025 16:42:30 +0100 Subject: [PATCH] moving after primitive are added --- SU2_CFD/src/output/CFlowCompOutput.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SU2_CFD/src/output/CFlowCompOutput.cpp b/SU2_CFD/src/output/CFlowCompOutput.cpp index 22e38e45746..5dbe030d9e1 100644 --- a/SU2_CFD/src/output/CFlowCompOutput.cpp +++ b/SU2_CFD/src/output/CFlowCompOutput.cpp @@ -254,8 +254,6 @@ void CFlowCompOutput::SetVolumeOutputFields(CConfig *config){ if (config->GetViscous()) { AddVolumeOutput("LAMINAR_VISCOSITY", "Laminar_Viscosity", "PRIMITIVE", "Laminar viscosity"); - AddVolumeOutput("THERMAL_CONDUCTIVITY", "Thermal_Conductivity", "FLUID_PROPERTIES", "Thermal conductivity"); - AddVolumeOutput("HEAT_CAPACITY", "Heat_Capacity", "FLUID_PROPERTIES", "Heat Capacity"); AddVolumeOutput("SKIN_FRICTION-X", "Skin_Friction_Coefficient_x", "PRIMITIVE", "x-component of the skin friction vector"); AddVolumeOutput("SKIN_FRICTION-Y", "Skin_Friction_Coefficient_y", "PRIMITIVE", "y-component of the skin friction vector"); @@ -268,6 +266,11 @@ void CFlowCompOutput::SetVolumeOutputFields(CConfig *config){ SetVolumeOutputFieldsScalarPrimitive(config); + if (config->GetViscous()) { + AddVolumeOutput("THERMAL_CONDUCTIVITY", "Thermal_Conductivity", "PRIMITIVE", "Thermal conductivity"); + AddVolumeOutput("HEAT_CAPACITY", "Heat_Capacity", "PRIMITIVE", "Heat Capacity"); + } + //Residuals AddVolumeOutput("RES_DENSITY", "Residual_Density", "RESIDUAL", "Residual of the density"); AddVolumeOutput("RES_MOMENTUM-X", "Residual_Momentum_x", "RESIDUAL", "Residual of the x-momentum component");