File Exchange

image thumbnail

Fast Global Stiffness Matrix Assembly

version 1.0.0 (1.2 KB) by Ayad Al-Rumaithi
Generates global stiffness matrix from elements stiffness matrices in a fast way

22 Downloads

Updated 01 Mar 2019

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 (2019). Fast Global Stiffness Matrix Assembly (https://www.mathworks.com/matlabcentral/fileexchange/70447-fast-global-stiffness-matrix-assembly), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

I am having problem with inputs for example;

i have 3x3 matrices named as KK{i} which i=1:9

but I am a bit lost with putting it to the code

Are you able to give an example of an input? I am trying to run this for a 3D frame model. Thanks in advance

Yes. It can be used with any type of elements

can this be used for 3-D elements?

Thank you

Very useful. Very fast

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux