adams后处理学习资料
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Getting Started Using
ADAMS/PostProcessor
This guide contains a tutorial that steps you through the basics of ADAMS/PostProcessor. If you follow the steps in this tutorial, you will learn how to view the simulation results you created in other MSC.ADAMS products in ADAMS/PostProcessor.
Click an entry below to begin:
■Starting ADAMS/PostProcessor,3
■Working with ADAMS/PostProcessor,9
Getting Started Using ADAMS/PostProcessor 2
Copyright
The information in this document is furnished for informational use only, may be revised from time to time, and should not be construed as a commitment by MSC.Software Corporation. MSC.Software Corporation assumes no responsibility or liability for any errors or inaccuracies that may appear in this document.
Copyright Information
This document contains proprietary and copyrighted information. MSC.Software Corporation permits licensees of MSC.ADAMS software products to print out or copy this document or portions thereof solely for internal use in connection with the licensed software. No part of this document may be copied for any other purpose or distributed or translated into any other language without the prior written permission of MSC.Software Corporation.
Copyright © 2004 MSC.Software Corporation. All rights reserved. Printed in the United States of America. Trademarks
ADAMS, EASY5, MSC, MSC., MSC.ADAMS, MSC.EASY5, and all product names in the MSC.ADAMS Product Line are trademarks or registered trademarks of MSC.Software Corporation and/or its subsidiaries.
NASTRAN is a registered trademark of the National Aeronautics Space Administration. MSC.Nastran is an enhanced proprietary version developed and maintained by MSC.Software Corporation. All other trademarks are the property of their respective owners.
Government Use
Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in FAR 12.212 (Commercial Computer Software) and DFARS 227.7202 (Commercial Computer Software and Commercial Computer Software Documentation), as applicable.
Starting ADAMS/PostProcessor
Overview
We’ve provided a tutorial that steps you through the basics of
ADAMS/PostProcessor. If you follow the steps in this tutorial, you
will learn how to view the simulation results you created in other
MSC.ADAMS products in ADAMS/PostProcessor. The sections in
the chapter are:
■What You Will Do in the Tutorial, 4
■Starting ADAMS/PostProcessor, 4
■Loading the Simulation Results, 5
The tutorial takes about 20 minutes to complete.
Getting Started Using ADAMS/PostProcessor 4
Starting ADAMS/PostProcessor
What You Will Do in the Tutorial
In the tutorial, you’ll learn how to:
1View reports.
2Play an animation of simulation data, including animating the results of a clearance study.
3Display simulation results as both xy plots and tables.
4View animations and plots simultaneously.
Starting ADAMS/PostProcessor
You can run ADAMS/PostProcessor as a stand-alone product or from within other MSC.ADAMS products, such as ADAMS/View, ADAMS/Car, or ADAMS/Engine. The following instructions explain how to start ADAMS/PostProcessor in stand-alone mode. It also explains how to start any add-ons or plugins to ADAMS/PostProcessor. Currently, the only plugin is for ADAMS/Durability.
To start ADAMS/PostProcessor stand-alone in UNIX:
1At the command prompt, enter the command to start the MSC.ADAMS Toolbar, and then press Enter. The standard command that MSC.Software
provides is adams x, where x is the version number, for example, adams2005
represents MSC.ADAMS 2005.
The MSC.ADAMS Toolbar appears.
2Click the ADAMS/PostProcessor tool .
For more information on the MSC.ADAMS Toolbar, see the guide, Running
and Configuring MSC.ADAMS on UNIX.
To start ADAMS/PostProcessor stand-alone in Windows:
■From the Start menu, point to Programs, point to MSC.Software, point to MSC.ADAMS 2005, point to APostProcessor, and then select ADAMS -
PostProcessor.
For more information on running MSC.ADAMS products from the Start
menu, see the guide, Running MSC.ADAMS on Windows.
Getting Started Using ADAMS/PostProcessor
Starting ADAMS/PostProcessor5
Loading the Simulation Results
We’ve provided you with simulation results that you can use to learn the basics of ADAMS/PostProcessor. The simulation results are in two files:
■ppt_gs.gra - Graphics file containing information that enables
ADAMS/PostProcessor to animate a model of a suspension. It also contains
time-dependent data describing the position and orientation of each part in the
model.
■ppt_gs.req - Request file containing information that enables
ADAMS/PostProcessor to create plots of simulation results. It contains
information about the various data requested and time history of all the request
values.
In this tutorial, you import these files through the command file ppt_gs.cmd. The command file also sets up several pages containing animations and plots. In addition, it runs a clearance study as it loads the files.
The files are located in the directory /install_dir/ppt/examples, where install_dir is the directory where you installed the MSC.ADAMS products. To get the results into ADAMS/PostProcessor, you need to copy the files to your working directory and import the command file.
To copy the files:
■In the directory /install_dir/ppt/examples, copy the following files to your working directory:
■ppt_gs.cmd
■ppt_gs.req
■ppt_gs.gra
■ppt_gs.html
■ppt_gs.png
Getting Started Using ADAMS/PostProcessor 6
Starting ADAMS/PostProcessor To import ppt_gs.cmd:
1From the File menu, point to Import, and then select Command File.
2Right-click the File Name box, and then select Browse.
3Use the Open dialog box to find the file ppt_gs.cmd, and then select OK.
4In the File Import dialog box, select OK.
The command file that you imported into ADAMS/PostProcessor creates several pages containing reports, animations, and plots. It also runs a clearance study.
Familiarizing Yourself with ADAMS/PostProcessor
ADAMS/PostProcessor has four modes:animation, plotting, reports, and 3D plotting (only available with ADAMS/Vibration and ADAMS/Engine data). It switches its modes automatically depending on the contents of the active viewport. For example, the tools in the Main toolbar change if you load an animation or a plot into a viewport.
Figure1 on page 7shows the ADAMS/PostProcessor window. The elements shown are common to all modes.
Getting Started Using ADAMS/PostProcessor
Starting ADAMS/PostProcessor 7
Figure 1. ADAMS/PostProcessor Window
The elements in the ADAMS/PostProcessor window are:
■
Menu bar - Contains the headings of each menu. ■Main toolbar - Displays commonly used tools for working with animations, plotting results, and reports. It changes depending on whether you are viewing
animations, plots, or reports.
■Treeview - Displays a hierarchical list of the models and pages. The tree is especially useful for selecting and identifying objects.
■Property editor - Lets you change the properties of selected objects.
■Status toolbar - Displays information messages and prompts while you work.
■Page - Displays the current page. Each page can display up to six rectangular areas or viewports in which you can place animations and plots.
■Viewports - Rectangular areas that display different views of plots, animations, or reports.
■
Dashboard - Provides functions for controlling animations or plotting results.
Status toolbar
Getting Started Using ADAMS/PostProcessor 8
Starting ADAMS/PostProcessor
Working with ADAMS/PostProcessor Overview
This chapter steps you through working with three of the
ADAMS/PostProcessor modes: reports, animations, and plotting:■Displaying Reports, 10
■Working with Animations, 10
■Working with Plots, 12
■Viewing Plots and Animations Simultaneously, 17
■The Next Step, 17
Getting Started Using ADAMS/PostProcessor 10
Working with ADAMS/PostProcessor Displaying Reports
The first page, which ADAMS/PostProcessor displays by default, is a page p1_report, which displays a report of the pages that the command file you imported created. As you can see from the report, you can use simple HTML tags and bitmapped images to display information about the animations and plots in ADAMS/PostProcessor. You can also display reports of clearance studies. For more information on displaying reports and the HTML tags that ADAMS/PostProcessor supports, see the ADAMS/PostProcessor online help.
Working with Animations
Now you’ll review the animation you loaded with the clearance study results that ADAMS/PostProcessor just performed. You’ll view the animations in different ways, including interactively setting the speed at which ADAMS/PostProcessor runs the animations.
Viewing an Animation
The animation that you will view is stored on the page named p2_clearance.
To select the animation page:
■In the treeview, select p2_clearance.
ADAMS/PostProcessor switches to animation mode and displays the first frame of the animation. All the elements in the dashboard change to those for
controlling animations. The pull-down menu at the top of
ADAMS/PostProcessor to the right of the toolbar also changes to Animation to
indicate the current mode.
Notice the red and green lines in the animation:
■The green line tracks the distance between the right wheel (PART_21) and the steering wheel (PART_10).
■The red line tracks the distance between the left wheel (PART_22) and the steering wheel (PART_10).
Working with ADAMS/PostProcessor11 To run the animation:
■At the top of the dashboard, select the Play tool.
Notice that ADAMS/PostProcessor continuously plays the animation. You can also set ADAMS/PostProcessor so that it plays the animation only once or plays the animation forward and then backward.
To set the animation to play only once:
1On the dashboard, select Animation, if necessary.
2Set Loop to Once.
Interactively Playing the Animation
To help you investigate the results of a simulation, you can play animation frames forwards and backwards, rewind to an earlier frame, or play only a portion of the animation. In this tutorial, you’ll interactively play the animation by dragging the animation slider.
To interactively play the animation:
1To rewind the animation, select the Reset tool.
2At the top of the dashboard, drag the slider bar back and forth to watch how the animation plays backwards and forwards at the speed at which you drag the slider.
Working with Plots
ADAMS/PostProcessor also plots the results of simulations so you can interpret the performance of your design. In this section, you’ll view pages with plots on them, modify the plots, and create your own plots.
Viewing Pages of Plots
A page, called p3_plots, already exists that contains several plots that you will view. You’ll first view all the plots and then you’ll quickly zoom in on just one of the plots. Notice that p3_plots in the lower left corner is a plot that ADAMS/PostProcessor has displayed as a table. In the treeview, it is still listed as a plot.
To view the plotting page:
1In the treeview, select p3_plots.
ADAMS/PostProcessor switches to plotting mode and displays the plots.
2Click the plot in the upper right corner of the window and, from the Main toolbar,
select the Expand View tool.
ADAMS/PostProcessor displays only the selected plot.
3To return to viewing all the plots, select the Expand View tool again.
Working with ADAMS/PostProcessor13
Modifying Plotting Objects
You can tailor the appearance of plots to help you identify the information in the plot more effectively or to make the plot ready for a presentation. In this section, you’ll turn off the grid lines and change the line style of the curves of one of the plots.
Displaying the Table as a Plot
Before you begin to change the look of plots, you’ll change the plot displayed as a table (plot_4) back to being an xy plot.
To change the table to a plot:
1In the viewport, select plot_4.
2In the property editor, clear the selection of Table.
Turning Off Grid Lines
In ADAMS/PostProcessor, plots contain primary and secondary grid lines that serve as visual guides for inspecting curves. Primary grid lines appear at all major unit sections. Secondary grid lines appear at specified intervals between the primary grid lines. In this section, you’ll turn off the visibility of the grid lines in one plot. You’ll do this by selecting the plot and then editing its properties in the Property Editor.
To turn off primary lines:
1Click the border of the plot in the upper right corner.
Notice that the viewport border turns red to indicate that you’ve selected it. In
addition, the treeview highlights the plot. You are now ready to edit the properties of the selected plot.
2In the property editor, select Grid.
3Clear the selection of Visible.
4In the property editor, select the right arrow key to display more tabs.
5Select 2nd Grid.
6Clear the selection of Visible.
Changing Color and Line Style of All Curves
Now you’ll use the treeview to learn how to modify a group of common objects all at once. In this example, you’ll change the line styles of all the curves in the plots on page p3_plots.
To change all curves:
1To expand the treeview so it displays all plots on the page p3_plots, in the treeview, click the plus sign (+) in front of the page p3_plots.
2Now click the plus sign (+) in front of each plot on the page p3_plots to see all the objects in the plots.
3In the treeview, hold down the Ctrl key, and select each curve on page p3_plots.
4In the property editor, from the Line Style box, select Dash.
All the curves change to dashed lines.
To reset the filter to show all objects:
■Right-click the background of the treeview, point to Type Filter, and then select All.
Creating New Plots
You can also create your own plots as shown in the next steps.
Creating a Page
Before you can create a plot, you need to create a page for it.
To create a page:
■On the Main toolbar, select the New Page tool.
Because you are in plotting mode, ADAMS/PostProcessor displays plots on
which to add data. If you were in animation mode, ADAMS/PostProcessor
would display empty viewports for loading animations.
To set the layout of the page so it contains two viewports:
■In the Main toolbar, right-click the Page Layout tool stack, and then select .
Working with ADAMS/PostProcessor15
Adding Data to the Plot
Now that you have a new page, you can display some curves on it. In plot mode, the dashboard contains the numeric results of loaded simulation results. It displays the objects, measures, requests, and result sets from ADAMS simulations and any results from clearance studies. The results that you have available depend on the output that you requested from your MSC.ADAMS product. For information on the different results you can generate, see your MSC.ADAMS product online help.
In this tutorial, you’ll use requests, which provide standard displacement, velocity, acceleration, or force information that will help you investigate the results of your simulation. Requests also let you define other quantities (such as pressure, work, energy, momentum, and more) that you want generated during a simulation.
To add a curve to the plot, select the following from the dashboard:
1In the dashboard, in the Request box, select REQ1080 TOE CASTER CAMBER (FRONT).
2In the Component box, select X, Y, and Z.
3Select Add Curves.
4Now add more curves by selecting different data from the dashboard and selecting Add Curves.
Surfing Through Data
In the previous section, for each request you selected, ADAMS/PostProcessor added new curves to your plot. You can also plot your data without accumulating curves on your plot. This is called surfing. It is convenient for quickly looking at different data.
To quickly add data without creating new curves:
1Select the plot on the right.
2In the dashboard, select Surf.
3Select the data that you’d like to view, as explained earlier.
You’ll notice that each time you select data, ADAMS/PostProcessor replaces the existing curves with new curves.
Modifying a Curve
Not only can you view data in ADAMS/PostProcessor, but you can also change and enhance it. In this tutorial, you’ll change the mathematical expression that creates a curve. To change a curve:
1Click a curve on the plot on the left.
2At the top of the dashboard, select Math.
The dashboard displays the mathematical expressions used to calculate the curve. 3In the Y Expression box, change the mathematical expression, and then select Apply.
You can change it in different ways. For example, enter a negative sign(-) in front of the expression to invert the values or multiply the expression by 3.
Working with ADAMS/PostProcessor17
Viewing Plots and Animations Simultaneously
You can place plots and animations together on the same page, and you can also run the animation and see ADAMS/PostProcessor track the corresponding data on the plot as the animation plays.
To view plots and animations together:
1In the treeview, select the page p4_combined.
ADAMS/PostProcessor displays a page containing both animations and plots.
2At the top of the dashboard, select the Play tool.
ADAMS/PostProcessor plays the animation and displays a line on the plot at the same data point that the animation is displaying.
The Next Step
You completed a few of the most common operations in ADAMS/PostProcessor for working with simulation results. Now use the ADAMS/PostProcessor online help as a reference to the many features of ADAMS/PostProcessor.。