Skip to content

Commit e6fd4aa

Browse files
committed
Revert "merge"
This reverts commit 019c87f.
1 parent adaa78c commit e6fd4aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SU2_CFD/src/output/CTurboOutput.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ void CTurbomachineryState::ComputeState(CFluidModel& fluidModel, const CTurbomac
6161
std::vector<su2double> velocity = primitiveState.GetVelocity();
6262
Velocity.assign(velocity.begin(), velocity.end());
6363
TangVelocity = primitiveState.GetTangVelocity();
64+
TangVelocity = primitiveState.GetTangVelocity();
6465

6566
/*--- Compute static TD quantities ---*/
6667
fluidModel.SetTDState_Prho(Pressure, Density);
@@ -82,8 +83,10 @@ void CTurbomachineryState::ComputeState(CFluidModel& fluidModel, const CTurbomac
8283

8384
/*--- Compute relative kinematic quantities ---*/
8485
su2double tangVel2 = TangVelocity * TangVelocity;
86+
su2double tangVel2 = TangVelocity * TangVelocity;
8587
RelVelocity.assign(Velocity.begin(), Velocity.end());
8688
RelVelocity[1] -= TangVelocity;
89+
RelVelocity[1] -= TangVelocity;
8790
su2double relVel2 = GetRelVelocityValue();
8891
FlowAngle = atan(RelVelocity[1] / RelVelocity[0]);
8992
RelMach.assign(RelVelocity.begin(), RelVelocity.end());

0 commit comments

Comments
 (0)