| 1 |
.. DOLFIN demos |
| 2 |
|
| 3 |
Demos |
| 4 |
===== |
| 5 |
|
| 6 |
|
| 7 |
Introductory demos |
| 8 |
------------------ |
| 9 |
|
| 10 |
These demos illustrate core DOLFIN/FEniCS usage and are a good way to |
| 11 |
begin learning FEniCS. We recommend that you go through these examples |
| 12 |
in the given order. |
| 13 |
|
| 14 |
1. Getting started: :doc:`Solving the Poisson equation |
| 15 |
<demos/poisson/demo_poisson.py>`. |
| 16 |
|
| 17 |
2. Solving nonlinear PDEs: :doc:`Solving a nonlinear Poisson equation |
| 18 |
<demos/nonlinear-poisson/demo_nonlinear-poisson.py>` |
| 19 |
|
| 20 |
3. Using mixed elements: :doc:`Solving the Stokes equations |
| 21 |
<demos/stokes-taylor-hood/demo_stokes-taylor-hood.py>` |
| 22 |
|
| 23 |
4. Using iterative linear solvers: :doc:`Solving the Stokes equations |
| 24 |
more efficiently <demos/stokes-iterative/demo_stokes-iterative.py>` |
| 25 |
|
| 26 |
|
| 27 |
More advanced demos |
| 28 |
------------------- |
| 29 |
|
| 30 |
These examples typically demonstrate how to solve a certain PDE using |
| 31 |
more advanced techniques. We recommend that you take a look at these |
| 32 |
demos for tips and tricks on how to use more advanced or lower-level |
| 33 |
functionality and optimizations. |
| 34 |
|
| 35 |
* Implementing a nonlinear :doc:`hyperelasticity equation |
| 36 |
<demos/hyperelasticity/demo_hyperelasticity.py>` |
| 37 |
|
| 38 |
* Using a mixed formulation to solve the time-dependent, nonlinear |
| 39 |
:doc:`Cahn-Hilliard equation <demos/cahn-hilliard/demo_cahn-hilliard.py>` |
| 40 |
|
| 41 |
* Computing eigenvalues of the :doc:`Maxwell eigenvalue problem |
| 42 |
<demos/maxwell-eigenvalues/demo_maxwell-eigenvalues.py>` |
| 43 |
|
| 44 |
|
| 45 |
All documented demos |
| 46 |
-------------------- |
| 47 |
|
| 48 |
.. toctree:: |
| 49 |
:maxdepth: 1 |
| 50 |
|
| 51 |
demos/poisson/demo_poisson.py.rst |
| 52 |
demos/eigenvalue/demo_eigenvalue.py.rst |
| 53 |
demos/built-in-meshes/demo_built-in-meshes.py.rst |
| 54 |
demos/mixed-poisson/demo_mixed-poisson.py.rst |
| 55 |
demos/biharmonic/demo_biharmonic.py.rst |
| 56 |
demos/auto-adaptive-poisson/demo_auto-adaptive-poisson.py.rst |
| 57 |
demos/cahn-hilliard/demo_cahn-hilliard.py.rst |
| 58 |
demos/maxwell-eigenvalues/demo_maxwell-eigenvalues.py.rst |
| 59 |
demos/hyperelasticity/demo_hyperelasticity.py.rst |
| 60 |
demos/nonlinear-poisson/demo_nonlinear-poisson.py.rst |
| 61 |
demos/singular-poisson/demo_singular-poisson.py.rst |
| 62 |
demos/neumann-poisson/demo_neumann-poisson.py.rst |
| 63 |
demos/nonmatching-interpolation/demo_nonmatching-interpolation.py.rst |
| 64 |
demos/stokes-iterative/demo_stokes-iterative.py.rst |
| 65 |
demos/elastodynamics/demo_elastodynamics.py.rst |