|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
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 |
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.
| 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.
| float feedtwin.vessels.geometry.Head.cross_section | ( | self, | |
| float | depth_filled ) |
Horizontal area [m^2] at ``depth_filled`` from the pole.
Definition at line 150 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.
| float feedtwin.vessels.geometry.Head.depth | ( | self | ) |
How far the head extends beyond the barrel [m].
Definition at line 121 of file geometry.py.
References backend.routers.flight.RocketConfig.radius, backend.routers.flight.TankConfig.radius, engine.pipeline.config_schemas.RocketConfig.radius, and ratio.
Referenced by area_filled(), cross_section(), volume(), and volume_filled().
|
static |
Definition at line 117 of file geometry.py.
| float feedtwin.vessels.geometry.Head.volume | ( | self | ) |
Volume of the whole head [m^3]: half an ellipsoid.
Definition at line 128 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, backend.routers.flight.RocketConfig.radius, backend.routers.flight.TankConfig.radius, and engine.pipeline.config_schemas.RocketConfig.radius.
Referenced by feedtwin.session.core.BottleSim._air(), and feedtwin.session.core.BottleSim.advance().
| 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.
|
static |
Definition at line 114 of file geometry.py.
Referenced by depth().