Indietro

#mach-number

1 APIs con questa etichetta

Mach Number API

Mach-number and compressible-flow aerodynamics as an API, computed locally and deterministically. The mach endpoint computes the local speed of sound a = √(γ·R·T) (air γ = 1.4, R = 287.05 J/(kg·K)) and the Mach number M = v/a from a speed and a static temperature — given directly in °C or kelvin, or derived from a geopotential altitude through the International Standard Atmosphere (troposphere T = 288.15 − 0.0065·h up to 11 km, then the isothermal 216.65 K layer to 20 km) — and classifies the flight regime as subsonic, transonic, supersonic or hypersonic; the speed of sound is about 340.3 m/s at 15 °C and 295 m/s at 11 km. The speed endpoint inverts it, returning v = M·a in m/s, km/h and knots. The stagnation endpoint gives the isentropic total-to-static ratios T0/T = 1 + (γ−1)/2·M², P0/P = (T0/T)^(γ/(γ−1)) and ρ0/ρ = (T0/T)^(1/(γ−1)) — at Mach 2 the total pressure is about 7.82 times the static pressure — and will scale a supplied static temperature and pressure to their stagnation values. Everything is computed locally and deterministically, so it is instant and private. Ideal for aerospace, CFD, flight-simulation, wind-tunnel, UAV and aerodynamics-education app developers, compressible-flow and flight-envelope tools, and engineering software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is compressible aerodynamics; for viscous flow and the Reynolds number use a Reynolds API and for incompressible pressure/velocity a Bernoulli API.

api.oanor.com/machnumber-api