期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Fast MATLAB assembly of FEM matrices in 2D and 3D using cell-array approach
1
作者 Jonas Koko 《International Journal of Modeling, Simulation, and Scientific Computing》 EI 2016年第2期167-186,共20页
We propose a MATLAB implementation of the P1 finite element method for the numerical solutions of the Poisson problem and the linear elasticity problem in two-dimensional(2D)and three-dimensional(3D).The code consists... We propose a MATLAB implementation of the P1 finite element method for the numerical solutions of the Poisson problem and the linear elasticity problem in two-dimensional(2D)and three-dimensional(3D).The code consists of vectorized(and short)assembling functions for the matrices(mass and stiffness)and the right-hand sides.Since for the P1 finite element,the element mass matrix and right-hand side are simple,the implementation uses only the MATLAB function sparse on the elements volume.For the stiffness matrix,to obtain a MATLAB implementation close to the standard form,cell-arrays are used to store the gradients of the element basis functions.The assembling procedure can then use matrix/vector products on small size cell-arrays.Numerical experiments show that our implementation is fast,scalable with respect to time,and outperforms existing vectorized MATLAB FEM codes. 展开更多
关键词 MATLAB code vectorization finite element stiffness matrix mass matrix
下载PDF
上一页 1 下一页 到第 页
使用帮助 返回顶部