STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.vessels.geometry.Head Class Reference

Public Member Functions

float depth (self)
float volume (self)
float volume_filled (self, float depth_filled)
float cross_section (self, float depth_filled)
float area_filled (self, float depth_filled)

Static Public Member Functions

Head flat ()

Static Public Attributes

float ratio = 2.0

Detailed Description

One end cap, described by how far it bulges past the barrel.

``ratio`` is the classical head ratio: the barrel radius divided by the
head's depth. 2.0 is a 2:1 ellipsoidal head, the common pressure-vessel
shape; 1.0 is hemispherical; a flat head is depth zero, spelled here as
``Head.flat()`` rather than an infinite ratio.

Definition at line 104 of file geometry.py.

Member Function Documentation

◆ area_filled()

float feedtwin.vessels.geometry.Head.area_filled ( self,
float depth_filled )
Wall area [m^2] of the head below ``depth_filled`` from the pole.

Archimedes' hat-box result, ``A = 2 pi r d``: the lateral area of a
spherical zone depends only on the slice thickness. Exact for a
hemispherical head, and a few percent low for a 2:1 ellipsoidal one --
comfortably inside the uncertainty of any heat-transfer coefficient
that will multiply it.

Definition at line 160 of file geometry.py.

References engine.pipeline.config_schemas.BackGrooveConfig.depth, engine.pipeline.config_schemas.RimGlandConfig.depth, depth(), fsw::script::anonymous_namespace{Parser.cpp}::Parser.depth, max, min, backend.routers.flight.RocketConfig.radius, backend.routers.flight.TankConfig.radius, and engine.pipeline.config_schemas.RocketConfig.radius.

◆ cross_section()

◆ depth()

float feedtwin.vessels.geometry.Head.depth ( self)

◆ flat()

Head feedtwin.vessels.geometry.Head.flat ( )
static

Definition at line 117 of file geometry.py.

◆ volume()

◆ volume_filled()

float feedtwin.vessels.geometry.Head.volume_filled ( self,
float depth_filled )
Volume [m^3] of the head filled to ``depth_filled`` from its pole.

Measured from the pole -- the tip of the dome -- because that is where
a bottom head starts filling and where a top head finishes.

The cap of a semi-ellipsoid of semi-axes ``(r, r, c)`` filled to depth
``d`` from the pole is ``pi r^2 d^2 (3c - d) / (3 c^2)``, which reduces
to the spherical-cap formula when ``c == r``.

Definition at line 132 of file geometry.py.

References engine.pipeline.config_schemas.BackGrooveConfig.depth, engine.pipeline.config_schemas.RimGlandConfig.depth, depth(), fsw::script::anonymous_namespace{Parser.cpp}::Parser.depth, max, min, backend.routers.flight.RocketConfig.radius, backend.routers.flight.TankConfig.radius, and engine.pipeline.config_schemas.RocketConfig.radius.

Member Data Documentation

◆ ratio

feedtwin.vessels.geometry.Head.ratio = 2.0
static

Definition at line 114 of file geometry.py.

Referenced by depth().


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