pyskyfire.injector.element

What every injector element type offers the injector it sits in.

An element is one repeated unit on the faceplate: an impinging doublet, a coaxial swirl element, a pintle. Each type has its own class, its own parameters and its own modelling. The injector asks each of them only two things: where its holes are and which feed supplies each one (Element.holes()), and what its flows mean for mixing (Element.diagnostics()).

A feed is whatever supplies a hole: a Manifold, another piece of feed hardware, or a plain name where the hardware is not modelled yet. Feeds are only ever compared and used as dictionary keys, so any hashable object works. Hardware objects compare by identity, so two physically separate manifolds stay separate even if they are built alike.

Classes

Element

Base class for injector element types.

Hole

One hole of an element, placed in the element's own frame.

JetFlow

The flow out of one hole: mass flow [kg/s], velocity [m/s], density [kg/m³].