SphericalTank Class#

class rocketpy.SphericalTank[source]#

Class to define the geometry of a spherical tank. The sphere zero reference point is its center (i.e. half of its height). This class inherits from the TankGeometry class. See the TankGeometry class for more information on its attributes and methods.

__init__(radius, geometry_dict={})[source]#

Initialize SphericalTank class. The zero reference point of the sphere is its center (i.e. half of its height). Therefore, its height coordinate ranges between (-radius, radius).

  • radius (float) – Radius of the spherical tank.

  • geometry_dict (dict, optional) – Dictionary containing the geometry of the tank. See TankGeometry.