Skip to content

Commit

Permalink
Update rocketpy/motors/tank_geometry.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Henrique Marinho Bressan <[email protected]>
  • Loading branch information
MateusStano and phmbressan authored Nov 18, 2023
1 parent 1229309 commit 446de50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rocketpy/motors/tank_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ def add_spherical_caps(self):
# raise warning
print(
"Warning: Adding spherical caps to the tank will not modify the "
+ "height of the tank."
+ f"total height of the tank {self.height}."
+ f"Its cylindrical portion height will be reduced to {self.height - 2*self.radius}."
)

if not self.has_caps:
Expand Down

0 comments on commit 446de50

Please sign in to comment.