Skip to content

Core

The engineering math layer. Contains unit conversions, geometric primitives (circle/cylinder areas, contour extraction), compressible and incompressible flow relations, nozzle performance calculations, mechanical properties (CoG, inertia tensors), and structural analysis utilities.

Submodules:

  • compressible_flow — Isentropic relations, thrust coefficients, nozzle loss models
  • mass_balance — Chamber-pressure ODE shared by SRM and LRE
  • solvers — RK4 ODE solver
  • structural — Pressure vessels and bolted joint analysis

machwave.core

The machwave.core module contains functions related to fluid dynamics, geometry, numerical methods and other core functionalities used across Machwave. These functions are almost immutable, since they are based on fundamental physics and mathematics.