Fast Global Stiffness Matrix Assembly

Generates global stiffness matrix from elements stiffness matrices in a fast way
579 Downloads
Updated Sat, 04 Apr 2020 16:21:28 +0000

View License

function K=Fast_Matrix_Assembly(Elements)

Input:
---------
Elements: a structure contains Elements{i}.K and Elements{i}.DOFs (Stiffness and Degrees of freedoms of the ith element).

output:
---------
K: Sparse global stiffness matrix

References
-----------------
Cuvelier, François, Caroline Japhet, and Gilles Scarella. "An efficient way to perform the assembly of finite element matrices in Matlab and Octave." arXiv preprint arXiv:1305.3122 (2013).

Cite As

Ayad Al-Rumaithi (2024). Fast Global Stiffness Matrix Assembly (https://www.mathworks.com/matlabcentral/fileexchange/70447-fast-global-stiffness-matrix-assembly), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

fixed bug when using elements with different degree of freedoms

1.0.0