STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.vessels.geometry.CylindricalTank Class Reference
Collaboration diagram for feedtwin.vessels.geometry.CylindricalTank:
[legend]

Public Member Functions

None __post_init__ (self)
float barrel_area (self)
float total_volume (self)
float height (self)
float volume_below (self, float level)
float cross_section (self, float level)
float wetted_area (self, float level)
str __repr__ (self)

Static Public Attributes

Head bottom = None
Head top = None

Protected Member Functions

Head _bottom (self)
Head _top (self)

Detailed Description

A cylindrical barrel with a head at each end. The usual tank.

Args:
    diameter: Inside diameter of the barrel [m].
    barrel_length: Straight length between the head tangent lines [m].
    bottom: Lower head. Defaults to 2:1 ellipsoidal.
    top: Upper head. Defaults to the same as the bottom.

Definition at line 177 of file geometry.py.

Member Function Documentation

◆ __post_init__()

None feedtwin.vessels.geometry.CylindricalTank.__post_init__ ( self)

Definition at line 192 of file geometry.py.

References bottom, and top.

◆ __repr__()

str feedtwin.vessels.geometry.CylindricalTank.__repr__ ( self)

Definition at line 270 of file geometry.py.

◆ _bottom()

Head feedtwin.vessels.geometry.CylindricalTank._bottom ( self)
protected

Definition at line 210 of file geometry.py.

References bottom.

Referenced by cross_section(), height(), total_volume(), volume_below(), and wetted_area().

◆ _top()

Head feedtwin.vessels.geometry.CylindricalTank._top ( self)
protected

Definition at line 215 of file geometry.py.

References top.

Referenced by cross_section(), height(), total_volume(), volume_below(), and wetted_area().

◆ barrel_area()

float feedtwin.vessels.geometry.CylindricalTank.barrel_area ( self)

Definition at line 220 of file geometry.py.

Referenced by cross_section(), total_volume(), and volume_below().

◆ cross_section()

float feedtwin.vessels.geometry.CylindricalTank.cross_section ( self,
float level )

◆ height()

float feedtwin.vessels.geometry.CylindricalTank.height ( self)

Definition at line 232 of file geometry.py.

References _bottom(), and _top().

Referenced by cross_section(), combined_gui.PressureBarWidget.paintEvent(), volume_below(), and wetted_area().

◆ total_volume()

float feedtwin.vessels.geometry.CylindricalTank.total_volume ( self)

Definition at line 224 of file geometry.py.

References _bottom(), _top(), and barrel_area().

Referenced by volume_below().

◆ volume_below()

float feedtwin.vessels.geometry.CylindricalTank.volume_below ( self,
float level )

◆ wetted_area()

float feedtwin.vessels.geometry.CylindricalTank.wetted_area ( self,
float level )

Member Data Documentation

◆ bottom

Head feedtwin.vessels.geometry.CylindricalTank.bottom = None
static

Definition at line 189 of file geometry.py.

Referenced by __post_init__(), and _bottom().

◆ top

Head feedtwin.vessels.geometry.CylindricalTank.top = None
static

Definition at line 190 of file geometry.py.

Referenced by __post_init__(), and _top().


The documentation for this class was generated from the following file: