Re:A bit of fluid mechanics from scratch not from scratch
by barrenko on Monday March 02, 2026 @11:51AM
(#47220496)
> in case someone wants to get nerdsniped https://github.com/kamilazdybal/fluid-toolbox
[ Parent
| on HN ]
Re:A bit of fluid mechanics from scratch not from scratch
by glouwbug on Wednesday March 04, 2026 @09:50PM
(#47256891)
Gases work roughly the same way (until they break the ideal gas law and don't). The ratio of static and dynamic pressures between two chambers can drive nozzle flow [1]. Add in some compression and combustion and you can simulate anything from refrigerators to engines.
[1] https://github.com/glouw/ensim4/blob/master/src/chamber_s.h#...