Skip to content

Commit

Permalink
Revert "merge"
Browse files Browse the repository at this point in the history
This reverts commit 019c87f.
  • Loading branch information
joshkellyjak committed Sep 27, 2024
1 parent adaa78c commit e6fd4aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SU2_CFD/src/output/CTurboOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ void CTurbomachineryState::ComputeState(CFluidModel& fluidModel, const CTurbomac
std::vector<su2double> velocity = primitiveState.GetVelocity();
Velocity.assign(velocity.begin(), velocity.end());
TangVelocity = primitiveState.GetTangVelocity();
TangVelocity = primitiveState.GetTangVelocity();

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

/*--- Compute relative kinematic quantities ---*/
su2double tangVel2 = TangVelocity * TangVelocity;
su2double tangVel2 = TangVelocity * TangVelocity;
RelVelocity.assign(Velocity.begin(), Velocity.end());
RelVelocity[1] -= TangVelocity;
RelVelocity[1] -= TangVelocity;
su2double relVel2 = GetRelVelocityValue();
FlowAngle = atan(RelVelocity[1] / RelVelocity[0]);
RelMach.assign(RelVelocity.begin(), RelVelocity.end());
Expand Down

0 comments on commit e6fd4aa

Please sign in to comment.