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.