Skip to content

Commit

Permalink
Merge pull request #346 from RocketPy-Team/fix/flight-reynolds-dynami…
Browse files Browse the repository at this point in the history
…c-viscosity

Fix: Flight Reynolds & Dynamic viscosity wrong values
  • Loading branch information
MateusStano authored Apr 1, 2023
2 parents 35eca94 + c255e1c commit c3c20d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketpy/Flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ def density(self):
@funcify_method("Time (s)", "Dynamic Viscosity (Pa s)", "spline", "constant")
def dynamicViscosity(self):
"""Air dynamic viscosity felt by the rocket as a rocketpy.Function of time."""
return self.retrieve_temporary_values_arrays[7]
return self.retrieve_temporary_values_arrays[8]

@funcify_method("Time (s)", "Speed of Sound (m/s)", "spline", "constant")
def speedOfSound(self):
Expand Down

0 comments on commit c3c20d0

Please sign in to comment.