Feed Systems¶
The feed system in a liquid or hybrid rocket engine delivers propellants from their storage tanks to the injector. Machwave models it as a set of propellant lines, one per propellant. The feed system therefore does not depend on the number of propellants, and the same architecture serves hybrid, monoliquid, biliquid and triliquid engines.
Propellant Lines¶
A propellant line has three attributes:
- Name: identifies the line across the whole simulation.
- Role: the part the propellant plays in the mixture (oxidizer, fuel or additive).
- Tank: the tank the line drains from.
The feed system holds its lines keyed by name and works on all of them at once: it receives the state of every line and returns a result for every line. A cycle is defined by how it pressurizes its lines, whatever their number.
The names join the models together. The injector holds one element per line name, and the simulation records mass, mass flow rate, tank pressure and tank temperature per line name. A line added to the feed system appears at the injector face and in the results without any of them depending on an order.
The roles are what the physics reads. Flows are summed by role, so the mixture ratio keeps its meaning at any propellant count, and an additive line flows without entering it.
The Injector Face¶
The feed system owns everything upstream of the injector face: tank state, feedline pressure drop and the piston in a stacked-tank cycle. The injector owns the orifice.
What passes between them is the fluid state at the face: fluid name, pressure, temperature and density. That is the whole interface, so the injector never sees a tank.
flowchart LR
TANK["Tank"] -->|"pressure, temperature, density"| LOSS["piston and feedline losses"]
LOSS -->|"fluid state at the face"| EL["Injector element"]
EL -->|"mass flow, kg/s"| CH["Combustion chamber"]
Solving Every Line Together¶
The feed system takes the state of every line and returns the injector inlet state of every line in a single call.
The lines are solved together because they can be coupled. In a stacked-tank cycle the fuel is pressurized by the oxidizer ullage through a piston, so the fuel inlet pressure depends on the oxidizer state.
The state each line contributes is its fluid mass and, for a tank running an energy balance, its internal energy. These are the variables the integrator carries between timesteps.
Pressure-Fed Cycles¶
Stacked Tanks¶
In a stacked-tank cycle the tanks sit in a vertical stack. The tank at the top, the pressurizing line, sets the pressure of the whole system and drives every tank below it through a piston.
For the pressurizing line \(p\) and for any other line \(i\):
where:
- \(P_{\text{tank},p}\) is the pressure of the pressurizing line's tank [Pa]
- \(\Delta P_{\text{piston}}\) is the pressure loss across the piston [Pa], taken by every line below the top of the stack
- \(\Delta P_{\text{line},i}\) is the pressure loss along the line's feedline [Pa]
The feedline loss is a fixed input stated for the design flow. It is held constant as the flow changes during the burn.
Single Line¶
The single-line cycle is the one-line case:
The tank pressurizes itself. A self-pressurized propellant such as nitrous oxide is driven by its own vapor pressure while liquid remains, then blows down on the real-gas equation of state once the liquid is gone. An empty tank has zero pressure, which stops the flow at the injector element.
This is the arrangement of an oxidizer-only hybrid feed and of a monoliquid engine.
The Orifice¶
An injector element is a discharge coefficient, a flow area and a mass flow model. It depends only on its own inlet state and the chamber pressure, and delivers no flow once the chamber pressure reaches the inlet pressure (backflow is not modeled).
The single-phase incompressible (SPI) orifice equation applies to a subcooled liquid:
The homogeneous equilibrium model (HEM) applies to a self-pressurized propellant whose liquid flashes across the orifice and can choke at the two-phase speed of sound:
where:
- \(C_d\) is the discharge coefficient [-]
- \(A\) is the orifice flow area [m²]
- \(\rho\) is the liquid density at the inlet [kg/m³]
- \(P_0\) is the chamber pressure [Pa]
- \(G_\text{HEM}\) is the homogeneous equilibrium mass flux [kg/(m²·s)]
The mass flux is found by expanding the inlet fluid isentropically to a pressure \(P\) between the chamber and the inlet, with the liquid and vapor in equilibrium at every point:
The orifice is choked when the maximum lies above the chamber pressure, and then the flow no longer responds to \(P_0\).
Coupling with the Chamber¶
Each timestep, the inlet state of every line is read once. The injector is then evaluated at each chamber pressure the Runge–Kutta solver tries. No line can deliver more than the mass it has left over the timestep.
flowchart LR
STATE["Engine state"] -->|"line states"| FEED["Feed system"]
FEED -->|"inlet fluid states"| INJ["Injector"]
INJ -->|"mass flow per line, kg/s"| STATE
STATE -->|"chamber pressure, O/F"| PROP["Propellant"]
PROP -->|"thermochemical properties"| STATE
The mixture ratio (O/F) is the total oxidizer flow over the total fuel flow, summed by line role:
An additive line is not part of either sum. A monoliquid has no oxidizer flow and therefore no mixture ratio, so its propellant is evaluated at its own formulation.
A tank running an energy balance carries its internal energy as a second state variable. Draining removes the enthalpy of the fluid that left:
The remaining liquid boils to refill the ullage and cools as it does, so the saturation pressure drops over the burn. An isothermal tank holds it constant while liquid remains.
Propellant Count¶
| Lines | Engine | Cycle |
|---|---|---|
| 1 | Hybrid motor (oxidizer only), monoliquid engine | Single line |
| 2 | Biliquid engine | Stacked tanks |
| 3 | Triliquid engine, with a diluent or coolant line | Stacked tanks |
The feed system, the injector and the recorded results work at every count. The thermochemistry of a three-propellant mixture is a separate problem: the equilibrium calculation takes one oxidizer and one fuel, so a third stream has to be blended into one of them before it can be evaluated.
Implementation¶
A line is a PropellantLine, with its role given by ComponentRole and its tank by Tank.
The state each line contributes per timestep is a LineState, and the state at the injector face is a FluidState.
Every cycle derives from FeedSystem.
get_inlet_states solves every line in one call; a concrete cycle implements only get_inlet_pressures, and the base class builds the fluid states from the tanks.
The two cycles are StackedTankPressureFedFeedSystem and SingleLinePressureFedFeedSystem.
Self-pressurization, blowdown and the energy balance are handled by Tank.get_pressure.
The orifice is an InjectorElement, and an Injector holds one element per line name.
get_mass_flows returns the flow of every line at a given chamber pressure.
The coupling with the chamber happens in BiliquidEngineState.run_timestep.
References¶
- Sutton, G. P., & Biblarz, O. (2017). Rocket Propulsion Elements (9th ed.). Wiley. Sections 6.3 and 10.2.
- Whitmore, S. A., & Chandler, S. N. (2010). Engineering model for self-pressurizing saturated-N2O-propellant feed systems. Journal of Propulsion and Power, 26(4), 706-714.