首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 156 毫秒
1.
针对某斜井螺杆泵优化设计软件进行大型数值计算时效率很低的问题,应用VC+ + 6.0与Fortran语言混合编程的方法编制斜井螺杆泵优化设计软件. 该方法用VC+ + 6.0制作界面,用Fortran语言编写主运算程序,用VC+ + 6.0调用Fortran生成的动态链接库. 对于斜井螺杆泵的优化设计,采用Fortran编写优化设计程序,用ANSYS对整个抽油杆系统进行非线性大变形有限元分析﹑静力分析和疲劳分析. 工程实例表明,该软件计算效率较高,可以提高人机交互性和可操作性,同时验证混合编程在大型数值运算软件设计中的可行性、实用性以及有效性.  相似文献   

2.
抗干涉齿轮集机构的快速编码方法   总被引:1,自引:0,他引:1  
高杨 《传感技术学报》2006,19(5):1566-1569
抗干涉齿轮集(CMG:eounter-meshing gears)是一种可用于微型或微小型机械组合锁的密码鉴别机构,其复合齿轮的齿牙编码是CMG机构设计的核心问题.本文结合实例,报道了一种CMG机构快速编码方法的原理与使用步骤.该方法具有简单易用、编码快捷的优点;缺点是密码齿轮的利用效率低,复合齿轮层数较优化编码方法的结果大大增加,且与“解锁符号序列“字长同步增减.快速编码方法是CMG机构研究工作的一部分,在映射CMG机构密码鉴别原理的电子组合锁中有实用价值.  相似文献   

3.
《软件工程师》2014,(10):35-36
在Pro/E中,骨架模型为运动机构的概念设计提供了一个强大的工具,也为在Pro/E中进行运动机构的优化提供了方便。合理设计骨架模型,可使得机构优化更加快捷、准确、直观。  相似文献   

4.
CMG机构的优化编码程序开发*   总被引:2,自引:0,他引:2  
CMG机构是一种密码鉴别机构,齿牙编码是其核心设计问题。应用贪婪算法求解CMG机构优化编码的顶点着色问题,具有时间复杂度低、易于编程的优点,在大多数情况下可满足应用需求。基于这一思路,采用Visual Basic编写了一个用户界面友好的CMG机构优化编码程序。该程序包括两个功能定义清晰的模块,即编码模块和校验模块,可自动求解、校验优化编码。  相似文献   

5.
本文采用优化方法确定装载机工作装置连杆机构各构件尺寸和铰点位置。着重阐述优化设计数学模型的建立,全面考虑了各种约束条件。用FORTRAN语言编制了优化设计程序ZGYH,并进行了实例计算,取得满意的结果。  相似文献   

6.
黄春 《计算机科学》2012,39(1):287-289,304
Co-Array Fortran(CAF)已经成为Fortran语言标准的一部分,在科学计算领域逐渐被接受。基于软件共享存储实现了一个CAF编译器,其通过直接的数组赋值实现Co-array数据通信,利用数据垫塞技术提高数据局部性,减少伪共享,优化CAF程序性能。典型科学计算程序测试表明,CAF能够获得和MPI相当的性能。  相似文献   

7.
论述了VC++与Fortran混合编程方法,重点介绍了动态链接库的方法。阐明了VC++与Fortran混合编程要解决的问题,以及地质统计学反演算法原理。探讨了VC++调用Fortran动态链接库的方法,和将已有Fortran程序修改为动态链接库的方法。通过采用VC++与Fortran混合编程,实现了地质统计学反演算法。利用已有的Fortran程序,实现了代码复用,节省了程序开发时间。  相似文献   

8.
在某航天器装配平台中,需要设计一个翻转机构实现部件与总体结构的对接工作,其中,外舱板翻转机构的驱动系统设计是重要内容之一.从外舱板翻转系统中外舱板翻转机构驱动力的设计出发,通过对特定负载的分析和理论分析,得到驱动力的大小以及驱动系统安装的最优位置.采用Adams的优化分析功能,以驱动系统安装位置为设计变量,以外舱板翻转机构在翻转过程中所需的最大驱动力中的最小值为目标函数,进行驱动系统的最优化仿真分析.应用Adams对优化设计结果进行仿真分析验证,得到最优结果.  相似文献   

9.
将Fortran程序移植到Windows平台上,利用VB可视化开发语言与Fortran语言混合编程是一种简单有效的方法。本文介绍了如何用VB调用Fortran语言程序的实现方法。  相似文献   

10.
随着程序语言的不断发展,通过程序来仿真各种机构的运动变得十分普遍.传统的程序语言根据主从动件位置的对应关系.通过主动件计算从动件的角位移.算法繁琐,可读性不强.求余算法可以有效地降低程序的冗余度.增强程序的可读性.特别是对槽轮机构、齿轮机构及棘轮机构等一系列周向循环机构的动画演示程序,效果显著.通过槽轮机构的VB动画演示程序,介绍了求余算法的原理、特点和算法实现,并简单介绍了算法在数据结构循环队列中的运用,对算法做了拓展.  相似文献   

11.
《计算机工程与应用》2006,42(3):187-189,221
文章在阐述城镇燃气管网网络结构优化设计理论的基础上,提出了燃气管网系统网络结构的多目标函数优化设计模型,讨论了VC++和FortranPowerStation混合编程的实现方法,运用文中优化设计模型和混合编程技术,编制出适用于城镇燃气输配管网优化设计的软件系统,实现了超大型城镇燃气管网的工程设计与计算。  相似文献   

12.
Brode  B. 《Computer》1981,14(9):46-51
The automatic recognition of array operations in Fortran programs can now be applied to attached array processors using vectorizing precompiler software.  相似文献   

13.
解耦近场波动数值模拟技术以其能够真实反映无限域中地震动的传播特性,而逐渐成为地震工程界和岩土工程界的重要分析方法之一.但现有程序建模难度大,主程序的功能相对简单,计算结果的展示缓慢且复杂,使其在科研工作和实际工程中的应用受到了很大的限制.因此,基于VB6.0设计图形用户界面及混合编程技术,提出了一套合理利用现有软件及Fortran程序的优点来实现可视化系统开发的思路和方法,即前处理采用VB外壳函数调用Fortran程序、准备批处理文件后调用ANSYS 8.0程序等方法,实现简单及不规则复杂模型的构建;扩展Fortran主程序具有动态数组存释、多作用耦合场、左右不等高处理、自中断后重起计算等功能;后处理采用VB语言实现二维图形定制、通过ActiveX自动化协议与Surfer8.0无缝结合实现三维立体渲染图.经实例验证,该系统功能较强、界面友好,方便快捷.这为整合不同开发平台的程序以开发新的软件、为波动有限元进一步应用于工程实践提供了一条技术途径.  相似文献   

14.
VIFOR is a software tool oriented towards maintenance of medium-to-large Fortran77 programs. With VIFOR, programs can be displayed and edited in two forms: as the code and as the graph. VIFOR also contains transformations in both directions, i.e. from code to graph and from graph to skeletons of code. Hence, it is suitable for re-engineering and maintenance of existing code. Specially designed browsers implement the graphical interface. VIFOR contains a database that is based on a simple but effective data model of Fortran programs. The model contains only four entity classes and three relations, which makes the tool small, and easy to implement and use. A simple query language allows browsing through the database.  相似文献   

15.
There is a substantial body of existing Fortran software that has considerable scientific and commercial value, but whose potential is sometimes difficult to exploit to the full because of a lack of structure and internal documentation. This article discusses, by means of an example, how the OLYMPUS COMPOSITOR can be used to regenerate such software semi-automatically so that it meets improved documentation standards. Comments and headings can be edited in on-line, using a free format, and the COMPOSITOR then produces a clear standard layout in which the Fortran statement numbers are correlated with the decimally numbered sections and subsections of an individual routine, and the meaning of the code is clarified by appropriate indentation and cross-referencing. Using the OLYMPUS GENERATOR one can also restructure the COMMON blocks and construct indexes of variables. It is suggested that such techniques can materially enhance the usefulness of a great deal of Fortran software, including some of the programs already included in the CPC Program Library.  相似文献   

16.
Grant W. Petty 《Software》2001,31(11):1067-1076
Physical dimensions and units form an essential part of the specification of constants and variables occurring in scientific programs, yet no standard compilable programming language implements direct support for automated dimensional consistency checking and unit conversion. This paper describes a conceptual basis and prototype implementation for such support within the framework of the standard Fortran 90 language. This is accomplished via an external module supplying appropriate user data types and operator interfaces. Legacy Fortran 77 scientific software can be easily modified to compile and run as ‘dimension‐aware’ programs utilizing the proposed enhancements. Copyright © 2001 John Wiley & Sons, Ltd.  相似文献   

17.
18.
针对注塑机机械合模机构,以自动化设计为目标,集成数据管理、机构参数优化与特性分析、三维运动模拟、有限元分析和零件库的软件开发.该软件可有效地提高设计人员的分析能力和设计效率.  相似文献   

19.
We describe a collection of software tools that analyse and transform Fortran programs. The analysis tools detect parallelism in blocks of code and are primarily intended to aid in adapting existing programs to execute on multiprocessors. The transformation tools are aimed at eliminating data dependencies, thereby introducing parallelism, and at localizing arithmetic in registers, of primary interest in adapting programs to execute on machines that can be memory bound (common for machines with vector architecture). The tools are unified conceptually by their use of a set of conditions for data independence; these conditions have been implemented so as to combine tool analysis with user/tool interaction. We include timing results from applying the tools to programs intended for execution on two machines with different architectures — a Sequent Balance and a CRAY-2. The tools are written in Fortran in the tool-writing environment provided by Toolpack and are easily incorporated into a Toolpack installation.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号