Polyhedral meshes with prism layers, for OpenFOAM.

Kabuto Meshing turns an STL surface into a polyMesh you can run: layers on the walls, polyhedral cells in the core, and quality numbers computed the way checkMesh computes them.

$ curl -LsSf https://kabuto.cfd/install.sh | sh

Free for meshes up to 200,000 cells, commercial use included. Windows, macOS and Linux. What the installer does

What happens to your STL

  1. Read the surface

    STL with one solid per patch, ASCII or binary. Shells are oriented and feature edges found.

  2. Remesh it, if you ask

    CAD exports become evenly sized triangles, refined by curvature and narrow gaps. Corners and edges stay put.

  3. Grow prism layers

    Layers extrude off every wall. Sharp rims get fans, corners get caps, and layers slide along inlets and outlets.

  4. Fill the core

    Netgen fills the volume above the layers with tetrahedra, as a separate program.

  5. Turn it polyhedral

    Tetrahedra and prisms become polyhedra and poly-prisms. Feature edges stay sharp.

  6. Optimise and repair

    Points move and cells merge until the faces pass OpenFOAM's own non-orthogonality, skewness and pyramid tests.

  7. Write polyMesh

    constant/polyMesh, a VTK file for ParaView, and a quality report in JSON.

Run it the way you work

From the command line

Every option on one line, or a YAML settings file you can keep with the case. Exit codes and JSON output for scripts and clusters.

Command line reference
kabuto-mesh sample my-sample
kabuto-mesh --config my-sample/tee.yaml

kabuto-mesh part.stl case/ \
  --layers 5 --first 0.0002 --ratio 1.2

In the desktop application

Open an STL, give each patch a role (layers, no layers, zone), set the layers and press Run. The mesh and a section through it appear in the 3D view, with the quality numbers beside them.

About the application
kabuto-mesh gui part.stl

With an AI assistant

An MCP server lets Claude, Cursor or any MCP client inspect a surface, check settings, run the mesher and read the report. It works inside one folder you choose and has no network access.

Setting up the MCP server
claude mcp add --transport stdio kabuto-meshing \
  -- kabuto-mesh mcp --workspace ~/cfd

Your geometry stays on your machine

Kabuto Meshing sends nothing about you or your work: no usage statistics, no crash reports, no geometry, no file names. Meshing works without a network connection.

The one request the program makes is for a Pro subscription, which fetches its next license file from kabuto.cfd. It sends the license id, the product name and the version. Nothing else.

Editions

Both editions have every feature. The only difference is the size of the mesh.

FreePro
Largest mesh200,000 cellsNo limit
Layers, zones, remeshing, CLI, desktop app, MCP serverIncludedIncluded
Commercial useYesYes
LicenseNone neededOne named user, any number of their computers
AvailabilityInstall nowNot on sale yet

How editions and license files work

Try it on the sample tee

$ curl -LsSf https://kabuto.cfd/install.sh | sh

Then kabuto-mesh sample my-sample and kabuto-mesh --config my-sample/tee.yaml.