首页> 外文期刊>Journal of the Brazilian Society of Mechanical Sciences and Engineering >A vectorized assembly-free FEM solver for image-based numerical homogenization
【24h】

A vectorized assembly-free FEM solver for image-based numerical homogenization

机译:用于基于图像的数值均质化的矢量化无装配有限元求解器

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

The finite element method (FEM) is commonly employed to solve the governing equations of various physics problems in the context of numerical homogenization. Imaging techniques, such as micro-computed tomography, are used to obtain digital models of the microscale of real samples, which generates a demand for pixel and voxel-based solutions. As image resolution and/or dimension increases, the memory allocation due to the characteristic finite element global matrix, even in sparse format, quickly becomes unfeasible, making it harder to fully explore state-of-the-art imaging resources. Assembly-free strategies are based on the premise of never storing the global matrix, working with local element matrices instead, which considerably reduces memory usage, but increases computational cost. Hence, optimized implementation approaches are sought out to reduce runtime. This paper presents a memory-efficient assembly-free FEM solver for the numerical homogenization of thermal conductivity and elasticity, of 2D and 3D image-based models, implemented entirely in MATLAB, exploring its vectorization paradigm. The proposed vectorized solver performs significantly better than a sequential element-by-element implementation. The preconditioned conjugate gradient (PCG) method is used to solve the linear systems of algebraic equations. Concise script code to perform key steps of the vectorized homogenization is exposed. The resulting program, called vhifem, is validated with an analytical benchmark and is compared with an educational program. Performance metrics are presented, making evident the trade-off between time and allocated memory. At last, a model of a cast iron sample with up to 81 million degrees-of-freedom is analyzed with a personal computer, allocating about 4 GB. This would be impossible without the assembly-free strategy.
机译:有限元法 (FEM) 通常用于求解数值均匀化背景下各种物理问题的控制方程。成像技术,如显微计算机断层扫描,用于获得真实样本微尺度的数字模型,这产生了对基于像素和体素的解决方案的需求。随着图像分辨率和/或尺寸的增加,由于特征有限元全局矩阵而导致的内存分配,即使是稀疏格式,也会很快变得不可行,这使得充分探索最先进的成像资源变得更加困难。无汇编策略基于从不存储全局矩阵的前提,而是使用局部元素矩阵,这大大减少了内存使用,但增加了计算成本。因此,寻求优化的实现方法来减少运行时间。本文提出了一种内存高效、无汇编的有限元求解器,用于完全在 MATLAB 中实现的 2D 和 3D 基于图像的模型的热导率和弹性的数值均匀化,探索其矢量化范式。所提出的矢量化求解器的性能明显优于顺序逐元素实现。预处理共轭梯度(PCG)方法用于求解代数方程的线性系统。简洁的脚本代码用于执行矢量化均质化的关键步骤。由此产生的程序称为 vhifem,通过分析基准进行验证,并与教育程序进行比较。提供了性能指标,使时间和分配的内存之间的权衡变得清晰。最后,用个人计算机分析了一个自由度高达8100万度的铸铁样品模型,分配了大约4 GB。如果没有无组装策略,这是不可能的。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号