Skip to content

Commit b5636c4

Browse files
Added Velocity Output To CNEMOCompOutput.cpp
Added Velocity Output
1 parent 9615189 commit b5636c4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

SU2_CFD/src/output/CNEMOCompOutput.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,15 @@ void CNEMOCompOutput::SetVolumeOutputFields(CConfig *config){
242242
AddVolumeOutput("PRESSURE", "Pressure", "PRIMITIVE", "Pressure");
243243
AddVolumeOutput("TEMPERATURE_TR", "Temperature_tr", "PRIMITIVE", "Temperature_tr");
244244
AddVolumeOutput("TEMPERATURE_VE", "Temperature_ve", "PRIMITIVE", "Temperature_ve");
245+
AddVolumeOutput("VELOCITY-X", "Velocity_x", "PRIMITIVE", "x-component of the velocity vector");
246+
AddVolumeOutput("VELOCITY-Y", "Velocity_y", "PRIMITIVE", "y-component of the velocity vector");
245247

246248
AddVolumeOutput("MACH", "Mach", "PRIMITIVE", "Mach number");
247249
AddVolumeOutput("PRESSURE_COEFF", "Pressure_Coefficient", "PRIMITIVE", "Pressure coefficient");
248250

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

0 commit comments

Comments
 (0)