Fast FEM assembly: nodal elements
This code demonstrates vectorization concepts 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).
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.
Available scripts from the paper:
"start_compute_areas"
"start_assembly_P1_2D"
"start_assembly_P1_3D"
"start_assembly_P1_2D_elasticity"
"start_assembly_P1_3D_elasticity"
Additional script (provided by Tien Dat Ngo from EFPL Lausanne):
"start_assembly_Q1_3D_elasticity"
Cite As
Jan Valdman (2024). Fast FEM assembly: nodal elements (https://www.mathworks.com/matlabcentral/fileexchange/27826-fast-fem-assembly-nodal-elements), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: Fast FEM evaluation of nonlinear energies: hp elements, p-Laplace equation solver using 1D, 2D FEM, Element-based Solvers, Fast FEM evaluation of nonlinear energies: nodal elements, Fast FEM assembly: edge elements, Evolutionary model for shape memory alloys, Hyper elasticity with a non-penetration condition, Implementation of C1 FEM, Simulation of von Kármán viscoelastic plates, Linear elasticity with a non-penetration surface condition, 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.
fast_fem_assembly
fast_fem_assembly/library_vectorization
Version | Published | Release Notes | |
---|---|---|---|
1.17.0.0 | Description simplified, 'stifness' changed to 'stiffness'. |
||
1.16.0.0 | Title and summary update. |
||
1.15.0.0 | P1 coefficients for mass matrices (both 2D and 3D) added |
||
1.14.0.0 | P0 coefficients added to assemblies of mass matrices in both 2D and 3D
|
||
1.13.0.0 | paper info completed |
||
1.12.0.0 | improved description |
||
1.11.0.0 | Q1 assembly in 3D for linear elasticity added thanks to Tien Dat Ngo. |
||
1.10.0.0 | Paper information added |
||
1.4.0.0 | report link add, extended to work for linear elasticity |
||
1.3.0.0 | tested for both linux and windows |
||
1.2.0.0 | added start_calculate_areas |
||
1.1.0.0 | 2D functionality added |
||
1.0.0.0 |