Ideas, with the knobs exposed

Writing

Interactive essays on scientific computing, notes from the research, and things I wanted to understand better.

6 Jul 2026 · updated 18 Jul 2026

What symmetry buys a learned turbulence model

What do symmetry constraints buy a neural turbulence closure? Same accuracy floor, 25× fewer parameters, and one missing input for Reynolds-number generalization. An interactive companion to the paper.

Interactive essay
5 Jul 2026 · updated 12 Nov 2026

Your time integrator is a filter

Forward Euler is not a first-order approximation. It is an exact statement, for a flux averaged over the time step. What a code leaves out is one more term in the closure problem, and that term is sixty years old.

Interactive essay · Part 3 of 3
4 Jul 2026 · updated 12 Nov 2026

Nine components, not six

Every closure model you have used returns a symmetric, local stress. The exact one is neither. Both rules break for the same reason, and the reason is the shape of a grid cell.

Draft · Part 2 of 3
4 Jul 2026 · updated 12 Nov 2026

Your grid is a filter

A coarse finite difference is not a sloppy derivative. It is an exact one, of an averaged field. That turns what a coarse simulation leaves unresolved into something you can write down, take apart, and test.

Interactive essay · Part 1 of 3
30 Oct 2025

Make Beamer slides 16:9

How to make LaTeX Beamer slides widescreen 16:9 instead of the default 4:3.

Note
6 Oct 2024 · updated 13 Oct 2024

Writing a differentiable fluid solver in Julia

A journey from sparse matrices in MATLAB to differentiable GPU operators in Julia, building IncompressibleNavierStokes.jl.

Draft
5 Oct 2024 · updated 13 Oct 2024

What is the difference between forward and reverse mode automatic differentiation?

Forward and reverse mode automatic differentiation compute the same chain of matrix products in different orders — and that order determines their cost.

Note
Find something interesting