Fast MATLAB assembly of FEM matrices in 2D and 3D: nodal elements

Loading...
Thumbnail Image

Downloads

0

Date issued

Journal Title

Journal ISSN

Volume Title

Publisher

Elsevier

Location

Není ve fondu ÚK

Signature

Abstract

We propose an effective and flexible way to assemble finite element stiffness and mass matrices in MATLAB. The major loops in the code have been vectorized using the so called array operation in MATLAB, and no low level languages like the C or Fortran has been used for the purpose. The implementation is based on having the vectorization part separated, in other words hidden, from the original code thereby preserving its original structure, and its flexibility as a finite element code. The code is fast and scalable with respect to time.

Description

Subject(s)

MATLAB code vectorization, finite elements, stiffness, mass matrices

Citation

Applied Mathematics and Computation. 2013, vol. 219, issue 13, p. 7151-7158.