摘要
实现了测井仪零件的装配动画和液体流动的模拟,重点讲述了仿真的实现过程。提出了一种基于Java多线程技术的模型运动控制方式,为每个运动模型分配一个线程,负责控制模型的运动状态,线程并发或按指定顺序执行,通过"等待/通知"模式与控制线程进行通信。同时对装配体的划分与装配约束问题进行了研究。把测井仪工作过程中叶轮高速转动的复杂模型做了简化与抽象,用一种生长的三维流线动画方式,对被测液体流经测井仪叶轮时的状态进行了表示。通过实际应用和与其他研究的比较,证明基于多线程的动画方式在占用系统资源和显示效果上均有较好的表现。
In this paper we realise the simulation of animated well logging instrument components assembly and liquid flowing,mainly describe the implementation process of simulation.A model movement control mode based on Java multithread technology is proposed.It assigns a thread to each movement model which is responsible for controlling the movement status of the model,these threads execute concurrently or in a specified order,the communications with the control threads are through "wait/notify" mode.Meanwhile,the assembly division and the assembly constraints are also studied.The complex model of the impeller's high-speed rotation in working process of the well logging instrument is simplified and abstracted,and the flowing status of the liquid to be measured through the impeller of well logging instrument is represented with a growth three-dimensional stream line animation.Practical application and the comparison with other studies proved that this method has a better performance in system resource occupation and display effect.
出处
《计算机应用与软件》
CSCD
2011年第5期206-208,212,共4页
Computer Applications and Software
基金
沈阳市科技局项目(1032033-1-03)
关键词
三维仿真
多线程
虚拟装配
Three-dimensional simulation Multithread Virtual assembly