The examples in this package are designed to be practical, reproducible, and educational. They demonstrate a wide range of finite element applications and PDE model problems.
- All examples can be run directly from the Julia REPL.
- Each example is a Julia module named after the file.
- Examples can serve as templates for your own projects.
- Many examples include test cases for automated verification.
To run an example (e.g., Example212_PeriodicElasticity2D):
-
Download the example file (see the source code link at the top of the example page).
-
Ensure all required packages are installed in your Julia environment.
-
In the Julia REPL:
julia> include("Example212_PeriodicElasticity2D.jl") julia> Example212_PeriodicElasticity2D.main()
-
Some examples offer visual output via the optional argument
Plotter = PyPlotorPlotter = GLMakie(provided the package is installed and loaded):julia> Example212_PeriodicElasticity2D.main(Plotter = PyPlot)