The physicsbase blog

Notes from building a
physics engine for agents.

Deep dives on the finite-element method, multiphysics, validation, and what it takes to make simulation something an agent can simply call.

Moving heat source melt-pool temperature field
Case study

Chasing a melt pool

The moving heat source behind welding and 3D-printed metal: a travelling melt pool with a comet tail of heat. Solved on physicsbase's transient field engine and checked against Rosenthal's classic solution.

July 2026 · 7 min read
Read the post →
XFEM crack cutting through a mesh
Case study

A crack inside the mesh

The eXtended Finite Element Method on physicsbase: a crack that cuts straight through elements, no remeshing. K₁ recovered from the energy release rate — within 1.5% of the handbook.

July 2026 · 9 min read
Phase-field crack
Case study

Growing a crack from scratch

Two physics in a loop: the single-edge-notched fracture benchmark, coupling physicsbase's structural and field solvers to watch a crack propagate on its own.

July 2026 · 8 min read
Optimized cantilever
Case study

Letting the structure design itself

The classic SIMP topology-optimization method on the engine — an FE solve wrapped in an optimization loop. The iconic optimized cantilever, with the complete code.

July 2026 · 9 min read
Engineering

One kernel, many physics

How a single scalar-field solver does heat conduction, mass diffusion, potential flow, and transport — and why they're all the same equation wearing different labels.

July 2026 · 7 min read
59 passed
Under the hood

How we test a physics engine

Every element and analysis is checked against a closed-form answer — the test suite is the spec. A tour of the 59 validations that keep the engine honest.

July 2026 · 6 min read