A physics laboratory you can change

Change a geometry, a material or a boundary condition, press Run, and watch how the field responds. Every experiment really runs: there is a solver behind it, not a recorded animation.

Note. The simulations are demonstrative and educational. They are not a substitute for professional engineering verification.

Experiments

Two ways to compute the same thing

The same problem can be solved quickly and approximately, or slowly and more faithfully. The lab offers both routes and always tells you which one you are looking at — because the difference between them is part of what there is to learn.

Preview Fast preview

  • A regular Cartesian grid, solved in NumPy.
  • Near-instant response: ideal while you are reshaping the profile.
  • Approximate by construction — the grid does not follow the body's outline.

FEniCSx FEniCSx computation

  • An unstructured triangular mesh generated with Gmsh.
  • P1 finite elements: slower, more faithful close to the profile.
  • Produces a downloadable VTK file that opens in ParaView.

Checking what is installed on this server…

How it is made

The lab is an application built on Fenix Spoon, an open-source toolkit that puts a finite-element solver behind a web page: the protocol, the job handling, the solvers and the browser widgets all come from there. What you find here is the teaching experience built on top — the texts, the experiments, the design and the public deployment.

The code for this lab is on GitHub under the MIT licence. The real computations are carried out by FEniCSx.