The physicsbase blog

Notes about building a
physics engine for agents.

These are detailed articles about the finite-element method, multiphysics, numerical verification, benchmarks, evidence limits, and how to make simulation callable by an agent.

Moving heat source melt-pool temperature field
Case study

How to model a melt pool

This is the moving heat source in welding and 3D-printed metal. A melt pool moves and leaves a tail of heat. We solve it on the transient field engine of physicsbase. We check it against the classic Rosenthal solution.

July 2026 · 7 min read
Read the post →
[0/±45/90]s
quasi-isotropic
Ex = (U1²−U4²)/U1
Composites

Three composite benchmarks, from the papers

The Tsai-Pagano invariants, the Tsai-Wu failure criterion, and the WWFE reference lamina. The laminate engine reproduces them to machine precision.

July 2026 · 7 min read
Hertzian contact pressure ellipse
Case study

The first problem in contact mechanics

A rigid cylinder presses into an elastic half-space. We solve it with an exact active-set contact method. There is no penalty parameter. The result agrees with the 1882 Hertz pressure ellipse to 0.3%.

July 2026 · 8 min read
Scordelis-Lo roof deformation and convergence
Case study

How the shell4 element passes its benchmark

A flat-facet shell4 element. The drilling-DOF trap makes it 40% too soft. One term corrects it. The result passes the Scordelis-Lo roof to 1% of the MacNeal and Harder reference.

July 2026 · 8 min read
von Mises snap-through path
Case study

How to solve past a limit point

Geometric nonlinearity and the Crisfield arc-length method follow the full von Mises snap-through path. This path goes through the limit point that load control cannot cross. The result matches the exact curve to 1e-15.

July 2026 · 8 min read
XFEM crack cutting through a mesh
Case study

A crack inside the mesh

The eXtended Finite Element Method on physicsbase. A crack cuts through the elements. There is no new mesh. We get K₁ from the energy release rate. It is within 1.5% of the handbook.

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

How a crack grows on its own

Two physics in a loop. This is the single-edge-notched fracture benchmark. It couples the structural and field solvers of physicsbase. The crack grows on its own.

July 2026 · 8 min read
Optimized cantilever
Case study

How the structure designs itself

The classic SIMP topology-optimization method on the engine. An optimization loop contains an FE solve. This gives the well-known optimized cantilever. The full code is included.

July 2026 · 9 min read
Engineering

One kernel, many physics

How one scalar-field solver does heat conduction, mass diffusion, potential flow, and transport. They are all the same equation with different labels.

July 2026 · 7 min read
987 checks
Under the hood

How we numerically verify a physics engine

The system checks recorded implementation claims against analytical and discrete references. This is a tour of the verification suite—and the limits it cannot cross.

July 2026 · 6 min read