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=None)[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).

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

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