Skip to content

Commit 7dfc9c2

Browse files
Add Velocity Output To CFlowCompOutput.cpp
Added Velocity output, since I am interested in that and adding it only in the config just gets ignored and no output happens
1 parent b80e4ce commit 7dfc9c2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

SU2_CFD/src/output/CFlowCompOutput.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,11 @@ void CFlowCompOutput::SetVolumeOutputFields(CConfig *config){
218218
AddVolumeOutput("DENSITY", "Density", "SOLUTION", "Density");
219219
AddVolumeOutput("MOMENTUM-X", "Momentum_x", "SOLUTION", "x-component of the momentum vector");
220220
AddVolumeOutput("MOMENTUM-Y", "Momentum_y", "SOLUTION", "y-component of the momentum vector");
221+
AddVolumeOutput("VELOCITY-X", "Veocity_x", "SOLUTION", "x-component of the velocity vector");
222+
AddVolumeOutput("VELOCITY-Y", "Velocity_y", "SOLUTION", "y-component of the velocity vector");
221223
if (nDim == 3)
222224
AddVolumeOutput("MOMENTUM-Z", "Momentum_z", "SOLUTION", "z-component of the momentum vector");
225+
AddVolumeOutput("VELOCITY-Z", "Velocity_z", "SOLUTION", "z-component of the velocity vector");
223226
AddVolumeOutput("ENERGY", "Energy", "SOLUTION", "Energy");
224227

225228
SetVolumeOutputFields_ScalarSolution(config);

0 commit comments

Comments
 (0)