Collection of documented demosΒΆ
- 1. Set boundary conditions for meshes that include boundary indicators
- 2. Incompressible Navier-Stokes equations
- 3. Poisson equation with pure Neumann boundary conditions
- 4. Poisson equation with periodic boundary conditions
- 5. Singular Poisson
- 6. Stokes equations
- 7. Stokes equations with Mini elements
- 8. Stokes equations with Taylor-Hood elements
- 9. Poisson equation with multiple subdomains
- 10. Marking subdomains of a mesh
- 11. Tensor-weighted Poisson
To run the Python demos, follow the below procedure:
Download the source file, e.g.,
demo_poisson.py
, for the demo that you want to run.Use the Python interpreter to run this file:
$ python demo.py
Note
You must have a working installation of FEniCS in order to run the demos.