Fast FEM assembly: edge elements
This code demonstrates vectorization concepts from the the paper
Immanuel Anjam, Jan Valdman: Fast MATLAB assembly of FEM matrices in 2D and 3D: Edge elements. Applied Mathematics and Computation 267, 252–263 (2015)
We extended techniques from the paper
Talal Rahman and Jan Valdman: Fast MATLAB assembly of FEM matrices in 2D and 3D: nodal elements, Applied Mathematics and Computation 219, 7151–7158 (2013)
to a fast assembly of FEM matrices using edge elements - Raviart-Thomas elements for Hdiv problems and Nedelec elements for Hcurl problems. In addition, vectorized higher order quadratures were added.
A link to the paper can be found at the author web page located at http://sites.google.com/site/janvaldman/publications
Please cite the paper if you find the code useful.
To compare the assembly times, call
"start_2D" or "start_3D" in the "example_comparison" directory.
You can also call
"start_2D" or "start_3D" in "example_majorant" and "example_eddycurrect" directories
to obtain solution of the functional majorant minimization in Hdiv space and a solution of a eddy current problem in Hcurl space.
Cite As
Jan Valdman (2024). Fast FEM assembly: edge elements (https://www.mathworks.com/matlabcentral/fileexchange/46635-fast-fem-assembly-edge-elements), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Fast FEM assembly: nodal elements, inttet, calc_meshdata
Inspired: Continuum undergoing combined elasto-plasto-damage transformation., Fast FEM evaluation of nonlinear energies: hp elements, p-Laplace equation solver using 1D, 2D FEM, Fast-Implementation-Mixed-FEM, Fast FEM evaluation of nonlinear energies: nodal elements, Hyper elasticity with a non-penetration condition , Implementation of C1 FEM, Simulation of von Kármán viscoelastic plates, Efficient vectorization techniques for FEM evaluations, Hierarchical hp FEM on rectangles in 2D
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
software/debug
software/example_comparison
software/example_eddycurrent
software/example_eddycurrent/test2D_1
software/example_eddycurrent/test2D_2
software/example_eddycurrent/test2D_3
software/example_eddycurrent/test3D_1
software/example_eddycurrent/test3D_2
software/example_majorant
software/example_majorant/test2D
software/example_majorant/test3D
software/path
software/path/library_fem
software/path/library_integration
software/path/library_vectorization
Version | Published | Release Notes | |
---|---|---|---|
1.2.0.0 | Title a summary updated. |
||
1.1.0.0 | New code version, description updated with a link to arxiv version of the explaining paper.
|
|
|
1.0.0.0 |