Tutorials
Learn by running.
These tutorials provide a step-by-step introduction to FEAScript. They show how to integrate finite element simulations into your own websites and applications, or how to run them in interactive JavaScript playgrounds such as CodePen and Scribbler. Several tutorials come in variants that solve the same physical problem in different configurations, from the basic example to more advanced setups with external meshes or multiple threads. For the equations and options behind each example, see the documentation.
New to finite elements? Start with Tri's Lab by FEAScript, where you learn the finite element method through games and block-based missions, with no code to write.
Structural mechanics
Cantilever beam under a tip load
1D Euler–Bernoulli cantilever beam bending under a concentrated tip load, with the finite element solution verified against the classical analytical solution
More variants
The same problems, set up in other ways:
- Heat conduction in a 2D fin, on a Gmsh mesh
- Heat conduction in a 2D rhomboid fin, on a Gmsh mesh
- Heat conduction in a 2D fin, multi-threaded
- Heat conduction in a 2D fin, with WebGPU
- Heat conduction in a 2D fin, performance test
- Creeping flow in a 2D lid-driven cavity, multi-threaded
- Solidification front propagation in a 2D domain, multi-threaded
Found a problem or have feedback on the above tutorials? Tell us on GitHub or Discord.
Stay in the loop
Join the mailing list.
Receive new tutorials, project updates and news.