Title
Fast native-MATLAB stiffness assembly for SIPG linear elasticity.
Abstract
When written in MATLAB the finite element method (FEM) can be implemented quickly and with significantly fewer lines, when compared to compiled code. MATLAB is also an attractive environment for generating bespoke routines for scientific computation as it contains a library of easily accessible inbuilt functions, effective debugging tools and a simple syntax for generating scripts. However, there is a general view that MATLAB is too inefficient for the analysis of large problems. Here this preconception is challenged by detailing a vectorised and blocked algorithm for the global stiffness matrix computation of the symmetric interior penalty discontinuous Galerkin (SIPG) FEM. The major difference between the computation of the global stiffness matrix for SIPG and conventional continuous Galerkin approximations is the requirement to evaluate inter-element face terms, this significantly increases the computational effort. This paper focuses on the face integrals as they dominate the computation time and have not been addressed in the existing literature. Unlike existing optimised finite element algorithms available in the literature the paper makes use of only native MATLAB functionality and is compatible with GNU Octave. The algorithm is primarily described for 2D analysis for meshes with homogeneous element type and polynomial order. The same structure is also applied to, and results presented for, a 3D analysis. For problem sizes of 106 degrees of freedom (DOF), 2D computations of the local stiffness matrices were at least ≈24 times faster, with 13.7 times improvement from vectorisation and a further 1.8 times improvement from blocking. The speed up from blocking and vectorisation is dependent on the computer architecture, with the range of potential improvements shown for two architectures in this paper.
Year
DOI
Venue
2017
10.1016/j.camwa.2017.08.022
Computers & Mathematics with Applications
Keywords
Field
DocType
Efficient,MATLAB,Stiffness matrix,Symmetric interior penalty,Discontinuous Galerkin,Linear elasticity
Discontinuous Galerkin method,Mathematical optimization,MATLAB,Mathematical analysis,Computer science,GNU Octave,Galerkin method,Direct stiffness method,Finite element method,Stiffness matrix,Computation
Journal
Volume
Issue
ISSN
74
12
0898-1221
Citations 
PageRank 
References 
0
0.34
5
Authors
3
Name
Order
Citations
PageRank
R. E. Bird100.34
William M. Coombs202.37
Stefano Giani3369.55