1 / 20

WORKSHOP 1 OPEN AND RUN AN ASSEMBLY

WORKSHOP 1 OPEN AND RUN AN ASSEMBLY. Open and Run an Assembly. Problem statement

vevay
Download Presentation

WORKSHOP 1 OPEN AND RUN AN ASSEMBLY

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WORKSHOP 1 OPEN AND RUN AN ASSEMBLY

  2. Open and Run an Assembly • Problem statement • This workshop introduces you to a couple of typical Adams/Car simulations. Adams/Car basically runs either suspension or full-vehicle analyses. Here, you will perform an ISO lane change for a full vehicle. You will also look at the various database related actions in the Car interface.

  3. Open and Run an Assembly • Setting Up Your Session • To create a working directory: • Depending on the platform you’re on, do one of the following: • On Windows: • On your hard drive, create a new folder acar. For example, C:\acar. • On UNIX: • To start Adams/Car in your home directory, open an UNIX shell and type cd. • To create a directory named acar, type mkdir acar. • To move to the new directory, type cd acar. • To start Adams/Car: • Depending on the platform you’re on, do one of the following: • On Windows, from the Start button, point to Programs, point to MSC.Software, point to MD R2 Adams, point to ACar, and then select Adams - Car. • At your UNIX shell prompt, type adamsmdr2. • From the toolbar, select the Adams/Car tool . The Welcome dialog box appears.

  4. Open and Run an Assembly • To toggle to Standard Interface: • From the Welcome dialog box, select Standard Interface, and then select OK. (Sometimes the Welcome dialog box contains the option to select a mode, and other times it does not. This depends on the configuration file.) To run analyses, you must be in the Standard Interface mode. • Once in an Adams/Car session, you can toggle between modes by selecting Adams/Car Standard Interface from the Tools menu. If Adams/Car Template Builder is listed, then you are already in the Standard Interface mode.

  5. Open and Run an Assembly • To set the working directory: • From the File menu, select Select Directory. • Select the acar directory you just created. • Select OK. Adams/Car sets the working directory where it will write your output files. • To create a new database and set it as the writable database: • From the Tools menu, point to Database Management, and then select Create Database. The Create New Database dialog box appears. • In the Database Alias text box, enter acar_training. • In the Database Path text box, enter the desired path. The database name is an alias for the Database Path, which needs to be explicitly defined. For example: • On Windows: c:\acar\acar_training.cdb • On UNIX: /acar/acar_training.cdb

  6. Open and Run an Assembly • Select OK. This creates the directory and adds it to your list of searchable databases in your Adams/Car session. • To verify that this database has been added to your session, from the Tools menu, point to Database Management, and then select Database Info. This database has not been added to your .acar.cfg file however, so the next time you open Adams/Car it will not be added to the search list. • From the Tools menu, point to Database Management, and then select Set Default Writable. • Make sure that Database Name is set to acar_training (select the down arrow and then select acar_training). • Select OK. Adams/Car automatically saves the configuration file.

  7. Open and Run an Assembly • Simulating a full-vehicle assembly • You first open a full-vehicle assembly and then perform a full-vehicle, ISO lane-change analysis with Driving Machine. You then investigate the results by animating the assembly. The animation is based on the results of your analysis. • To open a full-vehicle assembly: • From the File menu, point to Open, and then select Assembly. • Right-click the Assembly Name text box, point to Search, select <acar_shared>\assemblies.tbl, and then select MDI_Demo_Vehicle.asy. • Select OK. In the Message window, Adams/Car informs you when the assembly is ready. The messages in this window are important and will be discussed in detail in subsequent chapters. • Close the Message window.

  8. Open and Run an Assembly • To perform an analysis: • From the Simulate menu, point to Full-Vehicle Analysis, point to Course Events, and then select ISO Lane Change. • In the Output Prefix text box, enter workshop1a. • In the Initial Velocity text box, enter 70. The default units should be km/hr. • Select OK. In the Message window, Adams/Car informs you about the progress of the analysis and when the simulation is complete. • Close the Message window.

  9. Open and Run an Assembly • To investigate the results: • From the Review menu, select Animation Controls. • To animate the assembly, select the Play tool . • Zoom out to see more of the road grid: • Type a lowercase z. • Hold down the left mouse button, and do either of the following: • To enlarge the display of the assembly, or zoom in, move the cursor up. • To shrink the display of the assembly, or zoom out, move the cursor down. • To exit zoom mode, release the mouse button. • To trace the motion of the vehicle: • In the Animation Controls dialog box, change No Trace to Trace Marker. • Right-click the Trace Marker text box, point to Marker, and then select Browse. The Database Navigator appears. • Double-click MDI_Demo_Vehicle, double-click TR_Body, double-click ges_chassis, and then select cm. • Select OK.

  10. Open and Run an Assembly • To follow the car in the animation: • Change Fixed Base to Base Part. • Right-click the Base Part text box, point to Body, and then select Pick. • Move the cursor over the vehicle and right-click to see a list of parts in the area of the cursor. • Select any of the vehicle’s parts; for example, you can select ges_chassis. • Select the Play tool . The camera should move with the car, as the white line traces the path of the body marker. • Close the Animation Controls dialog box by selecting the x in the upper right corner.

  11. Open and Run an Assembly • To animate the full-vehicle from the driver's perspective: • From the Review menu, select Postprocessing window or press F8. • Right-click the viewport (main window), and then select Load Animation. Database Navigator opens. • Select workshop1a_ilc, and then select OK. Adams/PostProcessor loads the animation into the viewport. • Press Ctrl + f to fit the vehicle to the window. • Press the c key and pick a point on the vehicle as the new center of rotation. • To rotate the vehicle to look at the rear, press the r key and hold down the left-mouse button while moving the mouse to rotate the vehicle.

  12. Open and Run an Assembly • Right-click the Dynamic Translate (xy) tool . • Select the Dynamic Translate (z) tool . • Hold down the left mouse button while moving the mouse to translate the vehicle. • Select the Camera tab. • Right-click the Follow-Object text box, point to Part, and then select Pick • Select any part on the vehicle just as you did in the previous section, in Step 3 on slide 11 (for example, the steering wheel). Note: If you do select steering wheel, skip Step 13. • To lock the view to the part you selected in Step 12, select Lock Rotations. • To animate from this new perspective, select the Play tool. • Press F8 to return to Adams/Car.

  13. Adams/Car Database and Working Directory • Investigate the output files created with the run: • Browse to the acar directory you just created and see the different files written out to the directory. What are they? • ___________________________________ • Save Assembly • From the File Menu , point to Save As – Assembly • The New Assembly Name: MDI_Demo_Vehicle_saved • Make sure Target Database: acar_training • Check ‘Close Assembly after Save” • Browse to the C:\acar\acar_training.cdb\assemblies.tbl using Windows Explorer • Open the MDI_Demo_Vehicle_saved.asy file with a text editor and keep it open. • Now go to C:\acar\acar_training.cdb\subsystems.tbl. What do you see? • __________________________________

  14. Adams/Car Database and Working Directory • To Copy one assembly to another database so that your colleague gets a fresh copy to work with: • From the File menu, point to Open, and then select Assembly. • Right-click the Assembly Name text box, point to Search, select <acar_shared>\assemblies.tbl, and then select MDI_Demo_Vehicle.asy. • Select OK. • From the Tools menu, point to Database Management, and then select Publish Assembly • Fill the box in as follows: • File Name: MDI_Demo_Vehicle • Write Mode: Overwrite • Target Database: acar_training • Check Include Template file • Check Update Session Data with ‘Target Database’ • Select OK

  15. Adams/Car Database and Working Directory • Browse to C:\acar\acar_training.cdb\assemblies.tbl. • Open the MDI_DEMO_Vehicle.asy file with a text editor. Compare this with the previous MDI_Demo_Vehicle_saved.asy. Do you see any difference? • What is the most prominent difference between the two saved files in step 7? Can you summarize what the difference is between doing a Save As and Publishing an assembly? Look at how the different subsystems are being referenced in the two assembly *.asy files. One references the shared database for the subsystem files and the other references the subsystems in acar_training database.

  16. Adams/Car Database and Working Directory • Open .acar.cfg • Locate .acar.cfg file on your machine • By default it would be in the directory pointed to by the HOME system environment variable. Look through it and note the new acar_training database and its path listed. • Note following entry: DATABASE acar_training C:/acar/acar_training.cdb

  17. Optional - Open and Run a Suspension Assembly • Simulating a suspension assembly • You simulate a suspension assembly in the same way you simulated the full-vehicle assembly. • To open a suspension assembly: • From the File menu, point to Open, and then select Assembly. • Right-click the Assembly Name text box, point to Search, select <acar_shared>\assemblies.tbl,and then select mdi_front_vehicle.asy. • Select OK. In the Message window, Adams/Car informs you when the vehicle assembly is ready. • Close the Message window.

  18. Open and Run a Suspension Assembly • To perform a parallel wheel travel suspension analysis: • From the Simulate menu, point to Suspension Analyses, and then select Parallel Wheel Travel. • Set up the analysis: • Output Prefix: workshop1b • Number of Steps: 10 • Bump Travel: 100 • Rebound Travel: -100 The default units for Bump and Rebound Travel should be mm (Settings  Units). • Select OK. • When the analysis is complete, close the Message window.

  19. Open and Run a Suspension Assembly • To review the results by animating your assembly: • From the Review menu, select Animation Controls. • Change Base Part to Fixed Base. • Change Trace Marker to No Trace. • Select Play. • To trace the path of a vehicle’s marker: • Change No Trace to Trace Marker. • Right-click the Trace Marker text box, point to Marker, and then select Browse. The Database Navigator appears. • Double-click MDI_FRONT_SUSPENSION, double-click gel_spindle, and then double-click cm. • Select Play. • Zoom in to look for the white line that traces the path of the gel_spindle.cm marker.

More Related