r/mokapot • • 3d ago

New User 🔎 Interactive simulation of a moka pot brew

This is a browser-based simulation of a stovetop moka pot, I built with help from Claude:

Link to a live GitHub html page:

https://rpb-design.github.io/Moka_CFD/

It visualizes temperature, velocity, pressure and coffee TDS fields, with flow tracers.

simulation information

• Axisymmetric (r–z) 2D grid, 32 × 110 cells at 1.25 mm

• Incompressible Navier–Stokes, with Darcy–Brinkman flow through the coffee bed and filter plates

• Temperature-dependent water viscosity

• Boiler headspace pressure from trapped air plus saturated water vapour

• Bottom heating, nucleate boiling, flash at the spout, heat loss to the walls

• Two-stage (fast/slow) extraction kinetics that depend on temperature

• Sputtering end phase once the boiler level drops below the funnel tube

Thanks for looking!

17 Upvotes

14 comments sorted by

9

u/Tranka2010 Moka Pot Fan ☕ 2d ago

If given a choice between using Claude to prove the Riemann hypothesis and using Claude to build this, I choose this. ☕️

2

u/RPB-Design 2d ago

Probably from just being vibe coded.  I do know cad so maybe I'll do a more accurate model in the future 

2

u/Wooden-Hovercraft688 1d ago

Ok, i watched it for too long waiting to cooldown with the heat off:

3

u/Ram2806 2d ago

Good job for using Stokes-Brinkman. Correct thing to do. In fact porous media flow research many years ago was used to design moka pots I believe.

1

u/RPB-Design 2d ago

Thanks!

2

u/ShabbyChurl 2d ago

Why is there no space on top of the puck? Like, there is a filter there, I’d does not just go directly into the chimney….

1

u/boris_spasky 1d ago

woow...impressive!!

0

u/socrateeznut5 2d ago

not even 3 bar?

4

u/LEJ5512 2d ago

Nope, it’s not going to reach 3 bar.  Even the Brikka barely reaches 2, I think I’ve read.

3

u/I__G 22h ago

LOL What did you expect

1

u/socrateeznut5 10h ago

idk, its a recurring thing we hear that moka pot falls short of espresso machine because it only does 3 bar

-1

u/AutoModerator 3d ago

Hi,

This sub's official position is sticking to the manual provided by the manufacturer and not try to raise the pressure in the chamber by tamping or adding filters.

Our sub's FAQ: https://mokapot.net

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-1

u/AnArmoredPony 2d ago

ai slop