首页> 外文期刊>International journal of modeling, simulation and scientific computing >Fast MATLAB assembly of FEM matrices in 2D and 3D using cell-array approach
【24h】

Fast MATLAB assembly of FEM matrices in 2D and 3D using cell-array approach

机译:使用单元阵列方法在2D和3D中快速构建FEM矩阵的MATLAB

获取原文
获取原文并翻译 | 示例

摘要

We propose a MATLAB implementation of the P~1 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 P~1 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.
机译:针对二维(2D)和三维(3D)中的泊松问题和线性弹性问题的数值解,我们提出了一种P〜1有限元方法的MATLAB实现。该代码由矩阵(质量和刚度)和右侧的矢量化(和简短)汇编函数组成。由于对于P〜1有限元,单元质量矩阵和右手边都很简单,因此该实现仅对元素体积使用MATLAB函数稀疏函数。对于刚度矩阵,要获得接近标准形式的MATLAB实现,单元格数组用于存储元素基础函数的梯度。然后,组装过程可以在小型细胞阵列上使用基质/载体产物。数值实验表明,我们的实现相对于时间而言是快速,可扩展的,并且优于现有的矢量化MATLAB FEM代码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号