岩土力学 ›› 2019, Vol. 40 ›› Issue (12): 4916-4924.doi: 10.16285/j.rsm.2018.1794

• 数值分析 • 上一篇    下一篇

基于ParaView的Abaqus有限元输出结果的 可视化与虚拟现实

刘庆彬1,潘懋1, 2,刘洁3, 4,郭艳军2,张小双3,姚健鹏1,李芳玉5   

  1. 1. 北京大学 造山带与地壳演化教育部重点实验室,北京 100871;2. 北京大学 国家级地球科学虚拟仿真实验教学中心,北京 100871; 3. 中山大学 地球科学与工程学院,广东 广州 510275;4. 中山大学 广东省地质过程与矿产资源探查重点实验室,广东 广州 510275; 5. 中国石油大学(北京) 地球科学学院 油气资源与探测国家重点实验室,北京 102249
  • 收稿日期:2018-09-25 出版日期:2019-12-11 发布日期:2020-01-04
  • 通讯作者: 潘懋,男,1954年生,教授,博士生导师,主要从事信息地质?3DGIS?灾害地质和石油地质等方面的研究工作。E-mail: panmao@pku.edu.cn E-mail: liuqingb@pku.edu.cn
  • 作者简介:刘庆彬,男,1992年生,博士研究生,从事石油地质、数学地质方面的研究工作。
  • 基金资助:
    国家科技重大专项(No.2017ZX0513-002);国家自然科学基金(No.41574087,No.41472113)。

Paraview visualization and virtual reality of output of finite element analysis in Abaqus

LIU Qing-bin1, PAN Mao1, 2, LIU Jie3, 4, GUO Yan-jun2, ZHANG Xiao-shuang3, YAO Jian-peng1, LI Fang-yu5   

  1. 1. The Key Laboratory of Orogenic Belts and Crustal Evolution of Ministry of Education, Peking University, Beijing 100871, China; 2. National Virtual Simulation Experimental Teaching Center of Geosciences, Peking University, Beijing 100871, China; 3. School of Earth Science and Geological Engineering, Sun Yat-sen University, Guangzhou, Guangdong 510275, China; 4. Guangdong Provincial Key Laboratory of Mineral Resources & Geological Processes, Guangzhou, Guangdong 510275, China; 5. State Key Laboratory of Petroleum Resources and Prospecting, College of Geosciences, China University of Petroleum, Beijing 102249, China
  • Received:2018-09-25 Online:2019-12-11 Published:2020-01-04
  • Supported by:
    This work was supported by the National Science and Technology Major Project(2017ZX0513-002) and the National Natural Science Foundation of China (41574087, 41472113).

摘要: Abaqus?是最常用的商业有限元软件之一,但后处理模块Abaqus/CAE的可视化功能较弱,处理海量数据时卡顿十分明显、功能受限且不稳定。为此给出一个解决方案:编写Python程序——ODB2VTK+将Abaqus输出的ODB文件转换为VTK格式,然后利用ParaView进行可视化。ODB2VTK+提供基于空间的剖分算法,将海量数据重新组织成适于并行可视化的形式,实现效果好、数据冗余小;通过并行程序设计提升了处理效率;提供配置文件以方便转换参数设置。利用CT成像重构的三维岩芯精细模型力学模拟输出结果进行测试,ODB2VTK+实现了正确的转换;借助ParaView并行可视化的能力以及体渲染、张量符号等功能,实现高效的可视化后处理;通过VR头盔进行沉浸式的交互,实现自由进出模型内部孔隙观察分析的效果。提出的方案弥补了Abaqus/CAE可视化后处理存在的明显不足,为有限元后处理分析提供了有力帮助,并显示了虚拟现实在后处理中良好的应用前景。此外,ODB2VTK+具有良好的可扩展性,经过简单改写可以适用于更多应用情况,为方便同行使用,将其共享于GitHub(https://github.com/ Liu-Qingbin/ODB2VTKplus)上。

关键词: Abaqus?, ParaView, 有限元, 后处理, 并行程序设计, 并行可视化, 虚拟现实

Abstract: Abaqus? is one of the most popular commercial finite element analysis(FEA) software, but the visualization function of post-processing module—Abaqus/CAE is relatively weak. Especially, it handles mass data with difficulties, such as the extremely slow refreshing, limited functionalities and unexpected crash of software. Therefore, this paper proposes a solution: develop a Python script—ODB2VTK+ to convert Abaqus output (ODB file) into VTK file format, then visualize the output by menas of ParaView. ODB2VTK+ provides space-based partition algorithm which can achieve good partition and minimizes data redundancy to reorganize the mass data into small pieces suitable for parallel visualization. The parallel programming on it achieves higher efficiency, and the configuration file is provided to facilitate parameter setting. Testing ODB2VTK+ on the mechanical FEA output of 3D rock models from microtomography which have complex pore structure with fine grids shows the conversion is completely correct. Then it is visualized perfectly with ParaView’s capability of parallel visualization and its functionalities of volume rendering, tensor glyph, etc. The immersive virtual reality(VR) with HMD is applied, it encompasses the user with computer generated 3D environment that allow user to walk through the internal pore structure for observing and analyzing directly the result of FEA. The proposed solution overcomes the limit of Abaqus/CAE in post-processing and shows that VR will be a popular tool in FEA post-processing. In addition, due to its good readability and extensibility, ODB2VTK+ can be easily modified to process more different problems in Abaqus. ODB2VTK+ is shared on GitHub (https://github.com/ Liu-Qingbin/ODB2VTKplus) for the convenience of Abaqus users.

Key words: Abaqus?, ParaView, finite elements, post-processing, parallel programming, parallel visualization, virtual reality

中图分类号: 

  • TU453
[1] 刘泉声, 王栋, 朱元广, 杨战标, 伯音, . 支持向量回归算法在地应力场反演中的应用[J]. 岩土力学, 2020, 41(S1): 319-328.
[2] 王翔南, 郝青硕, 喻葭临, 于玉贞, 吕禾. 基于扩展有限元法的大坝面板脱空三维模拟分析[J]. 岩土力学, 2020, 41(S1): 329-336.
[3] 薛阳, 吴益平, 苗发盛, 李麟玮, 廖康, 张龙飞. 库水升降条件下考虑饱和渗透系数空间变异性的白水河滑坡渗流变形分析[J]. 岩土力学, 2020, 41(5): 1709-1720.
[4] 杨峰, 何诗华, 吴遥杰, 计丽艳, 罗静静, 阳军生. 非均质黏土地层隧道开挖面稳定运动 单元上限有限元分析[J]. 岩土力学, 2020, 41(4): 1412-1419.
[5] 江南, 黄林, 冯君, 张圣亮, 王铎, . 铁路悬索桥隧道式锚碇设计计算方法研究[J]. 岩土力学, 2020, 41(3): 999-1009.
[6] 孙锐, 杨峰, 阳军生, 赵乙丁, 郑响凑, 罗静静, 姚捷, . 基于二阶锥规划与高阶单元的 自适应上限有限元研究[J]. 岩土力学, 2020, 41(2): 687-694.
[7] 叶观宝, 郑文强, 张 振, . 大面积填土场地中摩擦型桩负摩阻力分布特性研究[J]. 岩土力学, 2019, 40(S1): 440-448.
[8] 赵密, 欧阳文龙, 黄景琦, 杜修力, 赵旭, . P波作用下跨断层隧道轴线地震响应分析[J]. 岩土力学, 2019, 40(9): 3645-3655.
[9] 张海廷, 杨林青, 郭芳, . 基于SBFEM的层状地基埋置管道动力 响应求解与分析[J]. 岩土力学, 2019, 40(7): 2713-2722.
[10] 曹洪, 胡瑶, 骆冠勇. 滤管两端均不在含水层层面的承压不 完整井近似计算方法研究[J]. 岩土力学, 2019, 40(7): 2774-2780.
[11] 王翔南, 李全明, 于玉贞, 喻葭临, 吕禾, . 基于扩展有限元法对土体滑坡破坏过程的模拟[J]. 岩土力学, 2019, 40(6): 2435-2442.
[12] 周小文, 程 力, 周 密, 王 齐, . 离心机中球形贯入仪贯入黏土特性[J]. 岩土力学, 2019, 40(5): 1713-1720.
[13] 吴顺川, 马 骏, 程 业, 成子桥, 李建宇, . 平台巴西圆盘研究综述及三维启裂点研究[J]. 岩土力学, 2019, 40(4): 1239-1247.
[14] 梅慧浩, 冷伍明, 聂如松, 刘文劼, 伍晓伟, . 重载铁路路基面动应力峰值随机分布特征研究[J]. 岩土力学, 2019, 40(4): 1603-1613.
[15] 邱 敏, 袁 青, 李长俊, 肖超超, . 基于孔穴扩张理论的黏土不排水抗剪强度 计算方法对比研究[J]. 岩土力学, 2019, 40(3): 1059-1066.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!