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. Create CSG 2D-geometry
- 7. Create CSG 3D-geometry
- 8. A simple eigenvalue solver
- 9. Hyperelasticity
- 10. Generate mesh
- 11. Dual-mixed formulation for Poisson equation
- 12. Mixed formulation for Poisson equation
- 13. Incompressible Navier-Stokes equations
- 14. Poisson equation with pure Neumann boundary conditions
- 15. Nonlinear Poisson equation
- 16. Poisson equation with periodic boundary conditions
- 17. Poisson equation
- 18. Singular Poisson
- 19. Stokes equations
- 20. Stokes equations with Mini elements
- 21. Stokes equations with stabilized first order elements
- 22. Stokes equations with Taylor-Hood elements
- 23. Poisson equation with multiple subdomains
- 24. Marking subdomains of a mesh
- 25. 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.