pyskyfire.regen.thrust_chamber

Classes

CoolingCircuit

Simulation-only representation of a cooling circuit.

FilmCooling

User-facing film cooling inputs attached to a ThrustChamber.

ThrustChamber

Simulation-only thrust-chamber assembly.

Wall

Single structural wall or coating layer in a thrust chamber.

Functions

_radius_from_curvature(curvature[, eps])

_validate_cylindrical_curve(→ numpy.ndarray)

cylindrical_curve_arc_length_scale(→ numpy.ndarray)

Return ds/dx for a cylindrical curve [x, r, theta].

radius_of_curvature(→ numpy.ndarray)

Return signed 3-D radius of curvature for [x, r, theta] points.

signed_curvature(→ numpy.ndarray)

Return signed 3-D curvature for [x, r, theta] centerline points.

Module Contents

pyskyfire.regen.thrust_chamber._radius_from_curvature(curvature, eps: float = 1e-09)
pyskyfire.regen.thrust_chamber._validate_cylindrical_curve(points: ndarray) ndarray
pyskyfire.regen.thrust_chamber.cylindrical_curve_arc_length_scale(points: ndarray) ndarray

Return ds/dx for a cylindrical curve [x, r, theta].

pyskyfire.regen.thrust_chamber.radius_of_curvature(points: ndarray, axis: str = 'x', eps: float = 1e-09) ndarray

Return signed 3-D radius of curvature for [x, r, theta] points.

Positive radii are concave (bending away from the symmetry axis), negative radii are convex, and straight portions are represented by np.inf.

pyskyfire.regen.thrust_chamber.signed_curvature(points: ndarray, eps: float = 1e-09) ndarray

Return signed 3-D curvature for [x, r, theta] centerline points.

Cylindrical coordinates are first converted to Cartesian coordinates, so azimuthal/helical bending contributes to curvature. Positive curvature bends radially away from the chamber axis (the RL10 concave convention), while negative curvature bends toward it (convex). Locally straight portions return exactly zero.

Curvature is estimated from the circumcircle through each point and its two neighbours (Menger curvature). This avoids taking two numerical derivatives of the sampled centerline, which strongly amplifies small interpolation errors and makes nearly straight portions oscillate between very large positive and negative radii.