基于HyperView的仿真分析报告模板定义工具的研究与开发
标签:
大连交通大学车宇tcl/tkhyperview二次开发 |
分类: 优秀论文 |
基于HyperView的仿真分析报告模板定义工具的研究与开发
车宇1,米小珍2
1.大连交通大学 机械工程学院 辽宁 大连 116028
2.大连交通大学 交通运输工程学院 辽宁 大连 116028
摘要:针对铁路行业中高速列车制造企业在开发新车型的仿真分析时,在后处理生成仿真分析报告过程时分析师大量的时间和精力都花费在重复的操作上,导致设计分析效率低下进而影响开发进度。为解决上述问题,本文以CRH3 250A车体为研究对象,利用Tcl/Tk语言对Altair公司的有限元后处理软件HyperView进行二次开发,通过深入研究静强度仿真分析过程,提炼与定制静强度仿真分析流程模板,强化对初学者的引导,减少人为失误;通过典型操作的工具化和报告模板的定制化,减少分析过程的重复操作,继承领域专家的经验与知识,提高信息的共享与重用,提高设计方案分析和评审的质量与效率,真正达到车体结构的快速设计分析目标、缩短开发周期。
关键词: Tcl/Tk HyperView
1 引言
2 流程化需求与工具开发目标
2.1 流程化需求
2.2 开发目标
3 后处理阶段报告模板开发的关键技术
3.1 Process Studio 概述
3.2 HyperView内置命令
3.3 Tcl/Tk 程序设计技术
3.4 VBS语言
4 报告模板定义工具的应用实例
4.1 流程的设定
- 自动添加相应的页面来摆放每个工况.rst格式的结果文件。
- 选择需要的模型计算结果文件自动导入到每个页面的窗口上。
- 分析师手动获取相应的云图等信息,标记好极值点、点选按钮自动批量截屏。
- 自动生成报告。
http://s6/bmiddle/002m4bgBgy6G5V4mQLz05&690
图1 分析报告生成过程
4.2 创建流程树及相应GUI界面
http://s13/mw690/002m4bgBgy6G5V5iRZi8c&690
图2 流程树和节点对应的交互界面
4.3 系统运行
http://s9/mw690/002m4bgBgy6G5V69QAod8&690
图3 添加页面(addpage)
http://s6/mw690/002m4bgBgy6G5V7bweF45&690
图4 载入模型(LoadModel)
http://s16/mw690/002m4bgBgy6G5V82Cqr8f&690
图5 截屏(ScreenShotPage)
http://s7/small/002m4bgBgy6G5V8RSvA76&690
图6 生成分析报告(GenerateReport)
4.4 报告模板工具节省时间的测试
表1 借助报告模板工具前后时间的对比
|
|
后处理阶段所用平均时间 |
总时间 |
|
原方法 |
设置页面和窗口时间:5分钟 导入结果模型文件时间:25分钟 提取云图和标记时间:136分钟 编写报告模板时间:30分钟 抓图并插图到报告中时间:60分钟 |
256分钟 |
|
借助工具 |
设置页面时间:10秒 导入结果模型文件时间:30秒 提取云图和标记时间:130分钟 编写报告模板时间:无 抓图并插图到报告中时间:1分钟 |
131分40秒 约节省时间48% |
5 结论与展望
6 参考文献
[1] 郑国君,门永新,胡 平等.基于知识的 CAE 后处理流程化平台关键技术[J].机械工程学报,2011,47(17):112-118.
[2] 曹文钢,范 超.基于 HyperWorks 的 CAE 流程自动化系统设计开发[J].工程图学报,2011,1(17):16-21.
[3] 于开平,周传平,等.HyperMesh 从入门到精通 [M].北京:科学出版社,2005.
[4] (美)John K.Ousterhout Ken Jones著,张元章译.Tcl/Tk入门经典[M].北京:清华大学出版社,2010.
[5] 张胜兰,郑冬黎,郝琪等.基于HyperWorks的结构优化设计技术[M].北京:机械工业出版社,2008.于开平,周传平,等.HyperMesh 从入门到精通 [M].北京:科学出版社,2005.
Research and development for template define tools of simulation analysis report based on HyperView
Che Yu
Abstract:There exists a good deal of tedious and repeated work during post processing generation simulation analysis report aiming at simulation analysis of Development of new models in High-speed train manufacture enterprises. Which makes analysts take lots of time and effort on the repeated operation resulting in inefficiency of design analysis that affects the development progress still further. To overcome such drawbacks, CRH3 250A car body is taken as research object in this article, TCL/TK language is used to conduct secondary development for finite element post processing software HyperView. Static strength simulation analysis Workflow model is refined and made by thorough study on simulation analysis process of static strength, which guides beginners well and reduces human error; analytical process repetitive operation is reduced, by tooling etc of typical operation and customization of report template, Experience and Knowledge of domain experts is inherited, the information’s sharing and reusing is improved, design proposal analysis and equality and efficiency of review is raised, really achieving the goal of designing and analyzing car body structure rapidly and shortening the developing cycle.
Keywords:Tcl /Tk; Secondary development; Simulation analysis workflow model; Customization of report template

加载中…