Collection of documented demosΒΆ
- 1. Auto adaptive Poisson equation
- 2. Set boundary conditions for meshes that include boundary indicators
- 3. Biharmonic equation
- 4. Built-in meshes
- 5. Cahn-Hilliard equation
- 6. A simple eigenvalue solver
- 7. Hyperelasticity
- 8. Dual-mixed formulation for Poisson equation
- 9. Mixed formulation for Poisson equation
- 10. Incompressible Navier-Stokes equations
- 11. Poisson equation with pure Neumann boundary conditions
- 12. Nonlinear Poisson equation
- 13. Poisson equation with periodic boundary conditions
- 14. Poisson equation
- 15. Singular Poisson
- 16. Stokes equations
- 17. Stokes equations with Mini elements
- 18. Stokes equations with Taylor-Hood elements
- 19. Poisson equation with multiple subdomains
- 20. Marking subdomains of a mesh
- 21. 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.