models.thrust_chamber¶
Thrust chamber assembly and sub-components.
Nozzle— Conical nozzle defined by throat diameter, expansion ratio, convergent/divergent half-angles, and boundary-layer loss coefficients (c_1,c_2). Computes throat area and outlet diameter.CombustionChamber— Cylindrical casing with thermal liner. Provides internal volume from casing dimensions and liner thickness.BipropellantInjector— Injector for liquid engines, characterized by discharge coefficients and orifice areas for oxidizer and fuel.SolidMotorThrustChamber— Bundles nozzle + chamber + the distance from nozzle exit to grain port.LiquidEngineThrustChamber— Bundles nozzle + chamber + injector.
machwave.models.thrust_chamber
¶
BipropellantInjector
¶
A simple injector class for a liquid rocket engine.
Source code in machwave/models/thrust_chamber/injector.py
__init__(discharge_coefficient_fuel, discharge_coefficient_oxidizer, area_fuel, area_ox)
¶
Initialize an Injector instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
discharge_coefficient_fuel
|
float
|
Discharge coefficient for the fuel side (dimensionless). |
required |
discharge_coefficient_oxidizer
|
float
|
Discharge coefficient for the oxidizer side (dimensionless). |
required |
area_fuel
|
float
|
Effective flow area of the fuel injector [m^2]. |
required |
area_ox
|
float
|
Effective flow area of the oxidizer injector [m^2]. |
required |
Source code in machwave/models/thrust_chamber/injector.py
CombustionChamber
¶
Geometry model of a cylindrical combustion-chamber.
Source code in machwave/models/thrust_chamber/combustion_chamber.py
inner_diameter
property
¶
Inner diameter of the combustion chamber [m].
inner_radius
property
¶
Inner radius of the combustion chamber [m].
internal_volume
property
¶
Internal volume of the combustion chamber [m^3].
outer_diameter
property
¶
Outer diameter of the combustion chamber [m].
outer_radius
property
¶
Outer radius of the combustion chamber [m].
__init__(casing_inner_diameter, casing_outer_diameter, internal_length, thermal_liner_thickness=0.0)
¶
Create a new CombustionChamber instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
casing_inner_diameter
|
float
|
Internal diameter [m]. |
required |
casing_outer_diameter
|
float
|
Outer diameter [m]. |
required |
internal_length
|
float
|
Distance from combustion chamber inlet to nozzle inlet [m]. |
required |
thermal_liner_thickness
|
float
|
Thermal liner thickness [m]. Defaults to 0.0. |
0.0
|
Source code in machwave/models/thrust_chamber/combustion_chamber.py
LiquidEngineThrustChamber
¶
Bases: ThrustChamber
Represents the thrust chamber assembly of a liquid rocket engine. This class is a specialization of the ThrustChamber class for liquid rocket engines.
Source code in machwave/models/thrust_chamber/base.py
__init__(nozzle, injector, combustion_chamber, dry_mass, center_of_gravity_coordinate=None)
¶
Initialize the LiquidEngineThrustChamber.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
nozzle
|
Nozzle
|
An instance of a Nozzle class. |
required |
injector
|
BipropellantInjector
|
An instance of an Injector class. |
required |
combustion_chamber
|
CombustionChamber
|
An instance of a CombustionChamber class. |
required |
dry_mass
|
float
|
The dry mass of the thrust chamber assembly in kg. |
required |
center_of_gravity_coordinate
|
tuple[float, float, float] | None
|
3D position (x, y, z) of the dry mass (hardware) center of gravity, measured from the nozzle exit, in meters. Positive x values point toward the bulkhead. If None, will be estimated from chamber geometry. |
None
|
Source code in machwave/models/thrust_chamber/base.py
SolidMotorThrustChamber
¶
Bases: ThrustChamber
Source code in machwave/models/thrust_chamber/base.py
__init__(nozzle, combustion_chamber, dry_mass, nozzle_exit_to_grain_port_distance, center_of_gravity_coordinate=None)
¶
Initialize the SolidMotorThrustChamber.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
nozzle
|
Nozzle
|
An instance of a Nozzle class. |
required |
combustion_chamber
|
CombustionChamber
|
An instance of a CombustionChamber class. |
required |
dry_mass
|
float
|
The dry mass of the thrust chamber assembly in kg. |
required |
nozzle_exit_to_grain_port_distance
|
float
|
Axial distance from nozzle exit plane to the grain port [m]. |
required |
center_of_gravity_coordinate
|
tuple[float, float, float] | None
|
3D position (x, y, z) of the dry mass (hardware) center of gravity, measured from the nozzle exit, in meters. Positive x values point toward the bulkhead. If None, will be estimated from chamber geometry. |
None
|
Source code in machwave/models/thrust_chamber/base.py
ThrustChamber
¶
Bases: ABC
Represents the thrust chamber assembly of a liquid rocket engine. ThrustChamber acts as a coordinating layer that ties these elements together.
Source code in machwave/models/thrust_chamber/base.py
__init__(nozzle, combustion_chamber, dry_mass, center_of_gravity_coordinate=None)
¶
Initialize the ThrustChamber.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
nozzle
|
Nozzle
|
An instance of a Nozzle class. |
required |
combustion_chamber
|
CombustionChamber
|
An instance of a CombustionChamber class. |
required |
dry_mass
|
float
|
The dry mass of the thrust chamber assembly in kg. |
required |
center_of_gravity_coordinate
|
tuple[float, float, float] | None
|
3D position (x, y, z) of the dry mass (hardware) center of gravity, measured from the nozzle exit, in meters. Positive x values point toward the bulkhead. If None, will be estimated from chamber geometry. |
None
|