.. DOLFINx demos

Demos
=====


Introductory demos
------------------

These demos illustrate DOLFINx/FEniCSx usage and are a good way to begin
learning FEniCS. We recommend that you go through these examples in the
given order.

1. Getting started: :doc:`Poisson equation <demos/demo_poisson>`.
2. Using mixed, Taylor-Hood element: :doc:`Stokes equation <demos/demo_stokes>`


Advanced demos
--------------

These examples demonstrate how to solve a certain PDE using more
advanced techniques. We recommend that you take a look at these demos
for tips and tricks on how to use more advanced or lower-level
functionality and optimizations.

1. Defining variants of elements using Basix: :doc:`Variants of Lagrange
   elements <demos/demo_lagrange_variants>`.
2. :doc:`Creating TNT elements using Basix's custom element interface
   <demos/demo_tnt-elements>`.


All demos
---------

.. toctree::
   :maxdepth: 1

   demos/demo_poisson.md
   demos/demo_cahn-hilliard.md
   demos/demo_stokes.md
   demos/demo_elasticity.md
   demos/demo_gmsh.md
   demos/demo_helmholtz.md
   demos/demo_static-condensation.md
   demos/demo_pyvista.md
   demos/demo_interpolation-io.md
   demos/demo_types.md
   demos/demo_lagrange_variants.md
   demos/demo_tnt-elements.md

