Skip to content

Commit 37d0954

Browse files
authored
Update SU2_CFD/src/output/CNEMOCompOutput.cpp
1 parent ced15ae commit 37d0954

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

SU2_CFD/src/output/CNEMOCompOutput.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,12 @@ void CNEMOCompOutput::SetVolumeOutputFields(CConfig *config){
244244
AddVolumeOutput("TEMPERATURE_VE", "Temperature_ve", "PRIMITIVE", "Temperature_ve");
245245
AddVolumeOutput("VELOCITY-X", "Velocity_x", "PRIMITIVE", "x-component of the velocity vector");
246246
AddVolumeOutput("VELOCITY-Y", "Velocity_y", "PRIMITIVE", "y-component of the velocity vector");
247+
if (nDim == 3)
248+
AddVolumeOutput("VELOCITY-Z", "Velocity_z", "PRIMITIVE", "z-component of the velocity vector");
247249

248250
AddVolumeOutput("MACH", "Mach", "PRIMITIVE", "Mach number");
249251
AddVolumeOutput("PRESSURE_COEFF", "Pressure_Coefficient", "PRIMITIVE", "Pressure coefficient");
250252

251-
if (nDim == 3)
252-
AddVolumeOutput("VELOCITY-Z", "Velocity_z", "PRIMITIVE", "z-component of the velocity vector");
253-
254253
if (config->GetViscous()) {
255254
AddVolumeOutput("LAMINAR_VISCOSITY", "Laminar_Viscosity", "PRIMITIVE", "Laminar viscosity");
256255

0 commit comments

Comments
 (0)