Core¶
The engineering math layer. Contains unit conversions, geometric primitives (circle/cylinder areas, contour extraction), compressible and incompressible flow relations, nozzle performance calculations, and mechanical properties (CoG, inertia tensors).
Submodules:
- compressible_flow — Isentropic relations, thrust coefficients, nozzle loss models
- interpolation — Non-extrapolating bounded cubic spline for tabulated curves
- mass_balance — Chamber-pressure ODE shared by solid motors and biliquid engines
- performance — Total and specific impulse
- solvers — RK4 ODE solver
machwave.core
¶
Core physics, numerical methods, and geometry utilities.
Functions here are based on fundamental physics and mathematics and are considered nearly immutable across the codebase.