frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Fluid Simulation for Dummies

https://www.mikeash.com/pyblog/fluid-simulation-for-dummies.html
20•sebg•4d ago

Comments

jlhawn•27m ago
The title should be updated to note this is from 2006.

Has there been anything like this published in the past 20 years but for compressible fluids? I have wanted to make a simple atmospheric model for years but have been unable to because of the complexity and probably my lack of complete understanding.

cherryteastain•11m ago
Treat this as a "what do I need to do to make fluid flow that looks okayish in graphics" post rather than "how do I implement physics accurate CFD for industrial/scientific purposes" post.

Lots of points in there like

> "Air is an example of a compressible fluid; you squish it and it gets smaller. Water is an example of an incompressible fluid; you squish it and it pushes back, and doesn't get any smaller" (this only really depends on the Mach number, Ma>~0.3 and you are in compressible territory for any fluid. Incompressibility usually means we assume the divergence of velocity of zero)

> "Incompressible fluids are simpler to simulate because their density and pressure is always constant." (This is only true if you choose to adopt a grad P = 0 approximation)

are incorrect from a physics perspective.

If you look at what real incompressible Navier-Stokes solvers do [1], it's mathematically totally different from what this post shows. In fact, the part that this post omits (handle the pressure gradient term by first approximate time stepping the velocity term by ignoring the pressure term and then correct by solving a Poisson equation for the pressure residual, and then correct the velocity) is the most expensive step in incompressible solvers by far.

[1] https://en.wikipedia.org/wiki/Projection_method_(fluid_dynam...

otterdude•2m ago
This is an ok introduction to CFD in that you discretize a problem, but it is not insightful and not scientific in its approach. The author routinely admits he doens't know how certain portions of the code work.

This is a much better approach to CFD / Navier-Stokes and will help you understand the various phenomenon along the way. https://lorenabarba.com/blog/cfd-python-12-steps-to-navier-s...

Gemma 4 12B: A unified, encoder-free multimodal model

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12b/
260•rvz•1h ago•95 comments

ESP32-S31

https://www.espressif.com/en/products/socs/esp32-s31
118•volemo•1h ago•53 comments

DaVinci Resolve 21

https://www.blackmagicdesign.com/products/davinciresolve/whatsnew
209•pentagrama•3h ago•111 comments

If AI Data Centers Are So Great, Why Are They Being Built in Secret?

https://www.thebrockovichreport.com/p/if-data-centers-are-so-great-why
46•thisislife2•55m ago•22 comments

I was recently diagnosed with anti-NMDA receptor encephalitis

https://burntsushi.net/encephalitis/
33•Tomte•3h ago•8 comments

Launch HN: Hyper (YC P26) – Company brain to power agentic development

8•shalinshah•12m ago•0 comments

Hacking your PC using your speaker without ever touching it

https://blog.nns.ee/2026/06/03/katana-badusb/
495•xx_ns•6h ago•83 comments

Skyvern (YC S23) Is Hiring Open-Source Loving DevRel Engineers

https://www.ycombinator.com/companies/skyvern/jobs/1qRTlVx-founding-developer-marketing-open-sour...
1•suchintan•51m ago

A Post-Quantum Future for Let's Encrypt

https://letsencrypt.org/2026/06/03/pq-certs
103•SGran•2h ago•42 comments

The Public Should Own Half of the Big A.I. Companies

https://www.sanders.senate.gov/op-eds/the-public-should-own-half-of-the-big-a-i-companies/
73•droidjj•53m ago•54 comments

Show HN: Nutrepedia – nutrition info in 29 locales built with Clojure and Htmx

https://nutrepedia.com/en-us/
21•llovan•1h ago•6 comments

Fluid Simulation for Dummies

https://www.mikeash.com/pyblog/fluid-simulation-for-dummies.html
21•sebg•4d ago•3 comments

Meta workers can opt out of being tracked at work up to 30 min

https://www.bbc.com/news/articles/c93x0k194yno
481•reconnecting•5h ago•438 comments

Every Byte Matters

https://fzakaria.com/2026/06/01/every-byte-matters
188•ingve•6h ago•90 comments

Are You Enjoying Our Linguine? (2025)

https://www.thedial.world/articles/news/american-tourists-rome
38•NaOH•2d ago•36 comments

Show HN: Rscrypto, pure-Rust crypto with industry leading public benches

https://github.com/loadingalias/rscrypto
12•LoadingALIAS•1h ago•1 comments

PlayStation Architecture

https://www.copetti.org/writings/consoles/playstation/
178•gregsadetsky•7h ago•36 comments

1-Click GitHub Token Stealing via a VSCode Bug

https://blog.ammaraskar.com/github-token-stealing/
603•ammar2•1d ago•90 comments

Show HN: Edsger – A handwritten Clojure REPL for the reMarkable 2

https://handwritten.danieljanus.pl/2026-06-01-edsger.html
200•nathell•22h ago•27 comments

Nabokov's pale fire: the lost 'father of all hypertext demos'? (2011)

https://dl.acm.org/doi/pdf/10.1145/1995966.1996008
95•aragonite•2d ago•23 comments

MacBook Neo Is So Popular That Apple Doubled Production

https://www.macrumors.com/2026/06/03/macbook-neo-production-doubled-says-kuo/
40•tosh•1h ago•15 comments

Angular v22

https://blog.angular.dev/announcing-angular-v22-c52bb83a4664
6•Klaster_1•1h ago•2 comments

Gooey: A GPU-accelerated UI framework for Zig

https://github.com/duanebester/gooey
4•ksec•39m ago•0 comments

I built a ceiling projection mapping of the planes flying over my house

https://old.reddit.com/r/nextfuckinglevel/comments/1tvmcin/i_live_in_the_take_off_path_of_sfo_and...
171•frereubu•4h ago•22 comments

Use your Nvidia GPU's VRAM as swap space on Linux

https://github.com/c0dejedi/nbd-vram
422•tanelpoder•18h ago•108 comments

Show HN: I reverse-engineered the world maps of Test Drive III (1990 DOS game)

https://github.com/s-macke/Test-Drive-3-Maps
180•s-macke•3d ago•52 comments

32GB of DDR5 now costs $375 – AI shortage continues to squeeze PC building

https://www.tomshardware.com/pc-components/ddr5/32gb-of-ddr5-now-costs-usd375-minimum-ai-shortage...
259•papersail•5h ago•259 comments

MAI-Code-1-Flash

https://microsoft.ai/news/introducingmai-code-1-flash/
519•EvanZhouDev•23h ago•243 comments

REST3D: Reconstructing Physically Stable 3D Scenes from a Single Image

https://shirleymaxx.github.io/REST3D/
13•ibobev•3h ago•1 comments

The Unreasonable Redundancy of Nature's Protein Folds

https://research.ligo.bio/posts/unreasonable-redundancy-of-natural-protein-folds/
147•ray__•14h ago•46 comments