File: demos.rst

package info (click to toggle)
dolfin 2019.2.0~legacy20240219.1c52e83-18
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 31,700 kB
  • sloc: xml: 104,040; cpp: 102,227; python: 24,356; sh: 460; makefile: 330; javascript: 226
file content (65 lines) | stat: -rw-r--r-- 2,246 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.. DOLFIN demos

Demos
=====


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

These demos illustrate core DOLFIN/FEniCS 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:`Solving the Poisson equation
   <demos/poisson/demo_poisson.py>`.

2. Solving nonlinear PDEs: :doc:`Solving a nonlinear Poisson equation
   <demos/nonlinear-poisson/demo_nonlinear-poisson.py>`

3. Using mixed elements: :doc:`Solving the Stokes equations
   <demos/stokes-taylor-hood/demo_stokes-taylor-hood.py>`

4. Using iterative linear solvers: :doc:`Solving the Stokes equations
   more efficiently <demos/stokes-iterative/demo_stokes-iterative.py>`


More advanced demos
-------------------

These examples typically 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.

* Implementing a nonlinear :doc:`hyperelasticity equation
  <demos/hyperelasticity/demo_hyperelasticity.py>`

* Using a mixed formulation to solve the time-dependent, nonlinear
  :doc:`Cahn-Hilliard equation <demos/cahn-hilliard/demo_cahn-hilliard.py>`

* Computing eigenvalues of the :doc:`Maxwell eigenvalue problem
  <demos/maxwell-eigenvalues/demo_maxwell-eigenvalues.py>`


All documented demos
--------------------

.. toctree::
   :maxdepth: 1

   demos/poisson/demo_poisson.py.rst
   demos/eigenvalue/demo_eigenvalue.py.rst
   demos/built-in-meshes/demo_built-in-meshes.py.rst
   demos/mixed-poisson/demo_mixed-poisson.py.rst
   demos/biharmonic/demo_biharmonic.py.rst
   demos/auto-adaptive-poisson/demo_auto-adaptive-poisson.py.rst
   demos/cahn-hilliard/demo_cahn-hilliard.py.rst
   demos/maxwell-eigenvalues/demo_maxwell-eigenvalues.py.rst
   demos/hyperelasticity/demo_hyperelasticity.py.rst
   demos/nonlinear-poisson/demo_nonlinear-poisson.py.rst
   demos/singular-poisson/demo_singular-poisson.py.rst
   demos/neumann-poisson/demo_neumann-poisson.py.rst
   demos/nonmatching-interpolation/demo_nonmatching-interpolation.py.rst
   demos/stokes-iterative/demo_stokes-iterative.py.rst
   demos/elastodynamics/demo_elastodynamics.py.rst