Note
Note that the algorithm used to compute the .MNF file adds constraints to the interface points. If you create the .MNF file a second time using the same model in the same run, be sure to delete all constraints on the interface points (or resume the database file Jobname.DBMNF) before you run it again.
11.3.1. Exporting to ADAMS via Batch Mode
If you prefer to work in batch mode, you may choose to run the ADAMS command macro by command input. After building the model and defining interface points, use the following commands to compute the .MNF file. /UNITS,Label ! Specify the units chosen for modeling NSEL,... ! Select two or more interface points
SAVE ! Save the model for a possible resume from ! this point
ADAMS,NMODES,... ! Activate ADAMS.MAC to compute the .MNF file
See the ADAMS command description for more information. When you use command input to compute the .MNF file, there is no option to change the file name. The default name of Jobname.MNF will be used.
11.3.2. Verifying the Results
It is a good practice to verify the correctness of the results after the .MNF file is created. Below are guidelines you can use to complete this task.
?
Check the number of orthonormalized eigenmodes in the ANSYS output window. These eigenmodes are the result of an orthonormalization of the normal modes and the constraint modes. You should observe the following:
? The number of modes equals the number of normal modes plus
the number of constraint modes.
? The first six modes are rigid body modes. These are marked
with “(probable rigid body mode).” If there is a mode close to a rigid body mode but not marked, you may deactivate it later in the ADAMS program.
If a mode is marked with “Infinity. Possible mass
singularity. Ignored,” check your model carefully. There might be a problem with the Interface points.
? The first few modes are equal to the free-free eigenmodes of
the component. You might want to verify this by doing a modal analysis: Set analysis option to ANTYPE,MODAL with MODOPT,LANB (Block Lanczos); activate the lumped mass approach with LUMPM,ON.
? Review the normal modes (load step 1) and the constraint modes (load step 2) in the General Postprocessor.
? Verify the transfer by doing a modal analysis of the component in ADAMS with all interface degrees of freedom fixed. Compare the results with the normal modes computed in ANSYS (load step 1).
?
11.4. Running the ADAMS Simulation
After you have verified that the .MNF file contains accurate information, you are ready to run an ADAMS simulation with a flexible component. Import the .MNF file into your ADAMS model and attach it to the rigid bodies using joints. To keep any numerical imbalance between inertia and external loads small, make sure you simulate your ADAMS model with high accuracy. For general information about the ADAMS program and how to import flexible bodies, refer to the ADAMS manuals (provided by Mechanical Dynamics, Inc.), especially the documentation provided for the ADAMS/Flex product.
五、ADAMS与ANSYS双向数据交换
ADAMS与ANSYS
ADAMS软件是著名的机械系统动力学仿真分析软件,分析对象主要是多刚体。但与ANSYS软件结合使用可以考虑零部件的弹性特性。反之,ADAMS的分析结果可为ANSYS分析提供人工难以确定的边界条件。
ANSYS进行模态分析的同时,可生成ADAMS使用的柔性体模态中性文件(即.mnf文件)。然后利用ADAMS中的ADAMS/Flex模块将此文件调入ADAMS以生成模型中的柔性体,利用模态叠加法计算其在动力学仿真过程中的变形及连接节点上的受力情况。这样在机械系统的动力学模型中就可以考虑零部件的弹性特性,提高系统仿真的精度。
反之,ADAMS进行动力学分析时可生成ANSYS软件使用的载荷文件(即.lod文件),利用此文件可向ANSYS软件输出动力学仿真后的载荷谱和位移谱信息。ANSYS可直接调用此文件生成有限元分析中力的边界条件,以进行应力、应变以及疲劳寿命的评估分析和研究,这样可得到基于精确动力学仿真结果的应力应变分析结果,提高计算精度。
在ANSYS中生成mmf文件的方法:
ANSYS软件是当今最著名的有限元分析程序,其强大的分析功能已为全球工业界所广泛接受,成为拥有最大用户群的CAE软件供应商。其特点如:多场及多场耦合分析、多物理 场优化、统一数据库及并行计算等等都代表着CAE软件的发展潮流。
ADAMS软件是目前最具权威的机械系统动力学仿真软件,通过在计算机上创建虚拟样机来模拟复杂机械系统的整个运动过程,从而达到改进设计质量、节约成本、节省时间的目的。
通过ANSYS软件与ADAMS软件之间的双向接口,可以很方便的考虑柔性体部件对机械系统运动的影响,并得到基于精确动力学仿真结果的应力应变分析结果,提高分析精度。
接口背景
ADAMS/Flex软件允许在ADAMS模型中根据模态频率数据创建柔性体部件,柔性体部件可能会对机械系统的运动产生重大的影响,在ADAMS模型中考虑柔性体部件的影响会极大地提高仿真精度,而ANSYS程序则提供了一种方便的创建柔性体部件的方法。
ANSYS程序在生成柔性体部件的有限元模型之后,利用adams,mac宏命令可以很方便地输出ADAMS软件所需要的模态中性文件jobname.mnf,此文件包含了ADAMS中柔性体的所有信息, 在ADAMS软件中直接读入此文件即可看到柔性体部件的模型。指定好柔性体与其它部件的连结方式,并给系统施加必要的外载后即可进行系统的动力学仿真。
何时使用ANSYS-ADAMS接口
在机械系统中,柔性体将会对整个系统的运动产生重要影响,在进行运动学
分析时如果不考虑柔性体的影响将会造成很大的误差,同样整个系统的运动情况也反过来决定了每个构件的受力状况和运动状态,从而决定了构件内部的应力应变分布。因此如果要精确地模拟整个系统的运动,考虑柔性体部件对系统运动的影响,或者想基于精确的动力学仿真结果,对运动系统中的柔性体进行应力应变分析则需要用到ANSYS与ADAMS两个软件。
分析步骤
利用ANSYS与ADAMS接口,对运动系统中的柔性体部件进行应力应变分析的完整步骤如下:
在ANSYS软件中建立柔性体部件的有限元模型并利用adams.mac宏文件生成ADAMS软件所需要的柔性体模态中性文件(jobname.mnf);
在ADAMS软件中建立好刚性体的模型,读入模态中性文件,指定好部件之间的连结方式,施加必要的载荷进行系统动力学仿真,在分析完成后输出ANSYS所需要的载荷文件(.lod文件),此文件记录了运动过程中柔性体的运动状态和受到的载荷;
在ANSYS程序中,将载荷文件中对应时刻的载荷施加到柔性体上对柔性体进行应力应变分析。
在ANSYS软件中生成ADAMS软件使用的柔性体模态中性文件(.mnf文件) 进入ANSYS程序,建立柔性体的模型,并选择适当的单元类型来划分单元。在柔性体的转动中心(与刚性体的联接处)必须有节点存在,此节点在ADAMS中将作为外部节点使用,如果在联接处柔性体为空洞,则需在此处创建一节点,并使用刚性区域处理此节点(外部节点)与其接处柔性体为空洞,则需在此处创建一节点,并使用刚性区域处理此节点(外部节点)与其周围的节点。选择外部节点,运行ANSYS程序的宏命令ADAMS生成ADAMS程序所需要的模态中性文件(jobname.mnf)。在此过程中需注意下面4点:
单位系统,由于在ADAMS程序中可以处理不同的单位系统,所以MNF文件中必须包含ANSYS分析所使用的单位信息,因此在运行宏命令ADAMS之前,必须使用命令/units来指定在ANSYS分析中所使用的单位系统是SI,CGS,BFT或BIN,如果您使用的不是上述四种单位系统,则可以使用下面的命令:
/units,user,,,,
其中L,M,T,F是SI单位系统与ANSYS 分析中所使用单位系统的转换因子。
外部节点,外部节点是ADAMS软件中的名词,在ANSYS程序中即指柔性体与刚性体连结位置处的节点,用于在ADAMS所进行的运动学分析中连结柔性体与刚性体。一般来讲,一个关节位置只使用一个节点作为外部节点,如果柔
性体的连结部位处为空心,则需在连结处创建一个节点作为外部节点,外部节点与其周围的柔性体节点一般使用刚性区域来定义。
运行ADAMS宏之前只选择将作为外部节点使用的节点,在运行宏命令ADAMS之前只选择作为外部节点的节点,因为ADAMS宏会将此时选择的节点作为外部节点处理,因而此选择步骤不可缺少。
运行宏ADAMS,_NMODES生成ADAMS程序所需要的模态中性文件,模态中性文件.mnf中包含了柔性体的质量,质心,转动惯量,频率,振型以及对载荷的参与因子等信息。
ANSYS与ADAMS接口示例。下面是一个在ANSYS中生成模态中性文件的例子:
生成模态中性文件的命令流:
/title, ADAMS interface - simple connecting rod with constraint equations c*** This represents a connecting rod using the following features: c*** SOLID45 to represent the rod
c*** constraint equations to represent the pin c*** MASS21 for the pin center /units,bin pi = 3.14159 /prep7
c*** define rod width, length and pin radii (all in meters) w=.015 w=.015 l=.225 r1=.0125 r2=.025
c*** convert to inches w=w*39.37 l=l*39.37 r1=r1*39.37 r2=r2*39.37
mp,ex,,2.1e9*1.45e-4 mp,nuxy,,.3
mp,dens,,7800*1.94e-3/12**3/12 ! convert to \ slug
c*** define pins et,2,21
r,2, .001*.06852,.001*.06852,.001*.06852 type,2 real,2 n,2000
n,2001,,,.225*39.37
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Ansys和ADAMS柔性体转化问题的详细步骤[1](3)在线全文阅读。
相关推荐: