Demos & tutorials¶
End-to-end demos, case studies with real engineering tools, and smaller tutorials that teach the mechanics.
Realistic use cases¶
Solve inverse heat-transfer problems through a Fortran solver differentiated by Enzyme.
Differentiate through the equilibrium of coupled thermal and structural Tesseracts.
Train a PyTorch closure model through a Burgers’ solver running in its own process.
Combine finite-difference geometry gradients with a jax-fem solver to minimize compliance.
Case studies¶
Ansys SpaceClaim, a mesher, and PyMAPDL in one gradient, with three differentiation strategies.
Winning entries, from NOAA’s Fortran hydrology models to Sentaurus TCAD.
SpaceClaim served without a container, and MAPDL with an analytic adjoint.
Learn the mechanics¶
These components are small enough to rewrite in JAX or PyTorch, so read them as walkthroughs of the mechanics, not as examples of when to use Tesseract (see When to use Tesseract).
Build a differentiable Lorenz-96 Tesseract and run 4D-Var through it.
Recover a posterior with gradient-based MCMC in NumPyro, using the same Lorenz-96 Tesseract.
Optimize a 2D Navier-Stokes initial condition through JAX-CFD, which is no longer maintained upstream.
More walkthroughs:
Building the JAX solver Tesseract for Lorenz-96, the implementation behind the 4D-Var and Bayesian inference demos