基于ANSYS二次开发的埋地管道应力分析软件及实现
Development of stress analysis software for buried pipelines based on re-development of ANSYS
-
摘要: 利用ANSYS软件的力学分析模块对埋地管道进行应力分析, 存在建模过程不直观、分析效率低等问题。基于Winkler弹性地基梁理论, 建立了埋地管道应力分析的模型, 将其应用到VC对ANSYS软件的二次开发中, 确定了建模的土弹簧理论计算公式。针对VC对ANSYS二次开发中关键的接口问题, 运用参数化建模的方法建立了埋地管道应力分析模型, 并对整个建模过程进行了封装。阐述了ANSYS的二次开发原理和基于参数化设计语言APDL程序的二次开发方法, 并介绍了程序的具体封装过程和调用方法。应用结果表明: 该软件便于操作, 且提高了埋地管道应力校核效率。Abstract: Stress analysis for buried pipelines by using mechanical analysis modules of ANSYS software is non-intuitive for modeling process and low efficiency. Instead, a model for stress analysis of buried pipelines is established by using the Winkler elastic footing beam theory. The model is used in re-development of ANSYS software by VC to highlight calculation equation for soil spring theory in modeling. As for key interfaces during such re-development, parameterized modeling is deployed to construct the model for stress analysis of buried pipelines. In addition, the entire modeling process is encapsulated. This paper presents the principles of re-development of ANSYS and the technique for re-development based on parameterized design language, APDL, and also provides the specific encapsulation processes and calling procedures. Application shows that the software is easy to operate and improves the efficiency of stress checking for buried pipelines.