Learn Basics Setup
Learn Basics Setup
2 Adams/View
Overview
Overview
Starting Adams/View
You or your system administrator can customize how you start Adams/View and how Adams/View looks
after you start it.
Exiting Adams/View
To exit Adams/View:
1. On the File menu, select Exit.
2. If you did not save your work, asks you if you want to save your work:
• To save your work and exit Adams/View, select OK. If you want to save the modeling
database with a new name in the current directory, enter the new name in the Filename text
box.
• To exit without saving your work, select Exit, Don’t Save.
6 Adams/View
Overview
Note: If you accidentally exit without saving your work, you can use the Adams/View Log file
(aview.log) to recover your work. Learn about using the Adams/View log file
2. Specify the directory to be used as your working directory. Adams/View saves all files in this
directory. You can change the working directory at any time. Learn about specifying working
directory.
3. If you selected to create a new model, do the following:
• In the Model name text box, enter the name you want assigned to the new model. You can
enter up to 80 alphanumeric characters. You cannot include special characters, such as spaces
or periods.
• Select the gravity settings for the new model. You can select:
Adams/View creates a new model for you. If you selected to set gravity when creating a new
model, the Gravity Settings dialog box appears. Learn about specifying gravitational force.
Modeling Process
The steps that you use in Adams/View to create a model mirror the same steps that you would use to build
a physical prototype. Click a step below or use the arrows on the right to read the steps sequentially.
Although we’ve listed the steps that you perform to create a model as though you create the entire model
at once and then test and improve it, we recommend that you build and test small elements or subsystems
of your model before you build the entire model. For example, create a few modeling objects, connect
them together, and then run a simple simulation to test their motion and ensure that you are connecting
them correctly. Once these are modeled correctly, add more complexity to your model. By starting out
slowly, you can ensure that each subsystem works before moving on to the next step. We call this the
crawl-walk-run approach.
Learning Basics 9
Overview
Main toolbox
Status bar
Exiting Adams/View
To exit Adams/View:
1. On the File menu, select Exit.
2. If you did not save your work, asks you if you want to save your work:
• To save your work and exit Adams/View, select OK. If you want to save the model with a
new name in the current directory, enter the new name in the Filename text box.
• To exit without saving your work, select Exit, Don’t Save.
10 Adams/View
Overview
Note: If you accidentally exit without saving your work, you can use the Adams/View Log file
(aview.log) to recover your work. Learn about using the Adams/View log file
To unload a plugin:
1. From the Tools menu, select Plugin Manager.
2. In the Load column, next to the plugin you want to unload, clear the selection of Yes.
3. Select OK.
Adams/View removes any plugin menus or commands.
If you select to display the results in the log file, you can keep the command results with the other
commands that you execute so that you can cut and paste the information together into a new file.
Note: You can change the name of the log file through the initialization file .mdi_init. For more
information, see Running and Configuring Adams.
To set the type of information displayed in the Display Log File dialog box:
1. Select the Show only lines of type check box and then select one of the following:
• Info - Displays all commands that you have executed in Adams/View.
Learning Basics 13
Overview
• Warning - Displays non-fatal messages that warn you of possible problems with commands
you entered.
• Error - Displays fatal messages that Adams/View did not understand and, therefore, did not
successfully process.
• Fatal - Displays messages that indicated that your model would not simulate.
2. If desired, select Show only lines containing and enter the text that the line must contain in the
text box. You can also enter wildcards. Learn about using wildcards.
3. Select Apply.
Using Wildcards
You can use wildcards to narrow any search, set the type of information displayed in a window, such as
the Database Navigator or the Log file, or specify a name of an object in a dialog box.
Here are some examples of more complex patterns and possible matches:
• x*y - Matches any object whose name starts with x and ends with y. This would include xy, x1y,
and xaby.
• x??y - Matches only those objects with four-character long names that start with x and end with
y. This would include xaay, xaby, and xrqy.
• x?y* - Matches all of those objects whose names start with x and have y as the third character.
This would include xayee, xyy, and xxya.
• *{aa,ee,ii,oo,uu}* - Matches all those objects whose name contains the same vowel twice in a
row. This would include loops and skiing.
• [aeiou]*[0-9] - Matches any object whose name starts with a vowel and ends with a digit. This
would include eagle10, arapahoe9, and ex29.
• [^aeiou]?[xyz]* - Matches any object whose name does not start with a vowel and has x, y, or z
as the third letter. This would include thx1138, rex, and fizzy.
• You can use quotation marks to identify all objects with a certain naming pattern. The following
example describes how to set a damping ratio of 0.05 to all beams in .model_1 that have
‘_beam’ in the name.
for var=the_beam obj=.model_1."*_beam*" type=Beam
force modify element_like beam &
beam_name = (eval(the_beam).name) &
damping_ratio = 0.05
end !for
Adams/View Tools
Adams/View provides following tools. Click on each tool to learn more.
• Coordinate window
• Command Navigator
• Command Window
• Message Window
• Information Window
• Database Navigator
• Table Editor
Learning Basics 15
Ribbon Capability
Ribbon Capability
Introduction
The Adams 2012 introduces the new ribbon based style interface and the GUI explained below.
Main Menu
Main menu divided in to following sections.
• Text-based menus
• File handling Strip
16 Adams/View
Ribbon Capability
• Selection Strip
Text-based menus
• File
• Edit
• View
• Settings
• Tools
Important: Those users who customize the Adams/View main text menu should be advised that this
text menu's location is .gui.main.mmenu_menu.mbar_refresh. The
Adams/View main text menu for the Classic interface style remains .gui.main.mbar
as it has been in previous releases. To learn more about customizing Adams/View refer to
Customizing Adams/View.
• Save Database
• Redo
• Undo
Learning Basics 17
Ribbon Capability
Selection Strip
• Set the view plane to coincident with the xy plane of an object users select
• Create Material
This will allow you to change the entity color. Right click on the button for more color
option.
• View Fit
• Dynamic Pick
18 Adams/View
Ribbon Capability
• Center
• Rotate
• Dynamic Translate
• Dynamic Zoom
Solids
• Box Tool
• Cylinder Tool
• Sphere Tool
• Frustum Tool
• Torus Tool
Learning Basics 19
Ribbon Capability
• Link Tool
• Plate Tool
• Extrusion Tool
• Revolution Tool
• Plane Tool
Flexible Bodies
• Adams/Flex
• Rigid to Flex
• Flex to Flex
• MNF XForm
• ViewFlex
Construction
• Point Tool
20 Adams/View
Ribbon Capability
• Marker Tool
• Polyline Tool
• Arc Tool
• Spline Tool
• Point Mass
Booleans
• Unite Tool
• Merge Tool
• Intersect Tool
• Cut Tool
• Split Tool
• Chain Tool
Features
• Chamfer Tool
Learning Basics 21
Ribbon Capability
• Fillet Tool
• Hole Tool
• Boss Tool
• Hollow Tool
Connectors
Joints
Primitives
Couplers
Special
• General Constraint
Motions
Joint Motions
General Motions
• Point Motion
Forces
24 Adams/View
Ribbon Capability
Applied Forces
Flexible Connections
• Bushing Tool
• Beam
Special Forces
• Contact
• Tire
• Modal Force
Learning Basics 25
Ribbon Capability
• Gravity
Elements
Data Elements
• Spline Tool
• General Spline
• Array
• Create/Modify Matrix
• Create/Modify String
• Create FEMDATA
System Elements
Function
• Function Builder
Controls Toolkit
Design Exploration
Learning Basics 27
Ribbon Capability
Design Variable
Measures
• Object Measure
• Point-to-Point Measure
• Angle Measure
• Orientation Measure
• Range Measure
• Computed Measure
• Function Measure
• Display Measures
Instrumentation
• Create a Request
• Create/Modify Sensor
Design Evaluation
Adams/Insight
• Adams/Insight Export
• Adams/Insight Display
Plugins
Controls
• Controls
Learning Basics 29
Ribbon Capability
Vibration
• Vibration
Durability
• Durability
Mechatronics
• Mechatronics
Note: Plugins located on this tab may be initially loaded by clicking the corresponding icon. To
unload these plugins or to subsequently reload these plugins one must use the Plugin
Manager located under the Tools menu. To learn more about the Plugin Manager, see
section Loading and Unloading Plugins.
Simulation
Setup
• Import ACF
30 Adams/View
Ribbon Capability
Simulate
• Interactive Controls
• Scripted Controls
Results
Review
• Animation Controls
Adams/PostProcessor
• Adams/PostProcessor
Learning Basics 31
Ribbon Capability
Model Browser
Browse
The browse tab is the default tab. It depicts a hierarchy of all the objects in the database. It has nine top
level folders that contain the objects by type. The objects that do not fit into the first eight categories, are
included in the "All Other" folder.
Groups
The Groups tab allows the user to gather database objects together.
Filters
The Filters tab enables you to create and save complex searches which can update dynamically.
To learn more about the model browser see section Model Browser.
32 Adams/View
Ribbon Capability
Status Toolbar
View Setup Strip
• Toggle visibility
• Window layout
Information Strip
• Stop command
Learning Basics 33
Setting Preferences
Setting Preferences
Rotation Sequences
Adams/View uses three orientation angles to perform three rotations about the axes of a coordinate
system. You specify the order in which axes are rotated about as a sequence of three numbers (1,2,3),
which correspond to x-, y-, and z-axes, respectively. For example, a rotation order of 312 produces
rotations about the z-, then x-, and then y-axis. Adams/View provides you with a set of 24 rotation
sequences from which to choose. The most commonly used rotation sequence, body 313, is the default
sequence.
The figure below shows how successive rotations defined by the rotation angles orient the axes. Dashed
lines represent original orientations and solid lines represent new and unchanged orientations.
• The first angle rotates the coordinate system about its z-axis. This repositions the x-axis and the
y-axis (see a in figure).
• The second angle rotates the coordinate system about its new x-axis (x´) to reposition the new y-
axis (y´) and the z-axis (see b in figure).
34 Adams/View
Setting Preferences
• The third angle rotates the coordinate system about its new z-axis (z´) to reposition the new x-
axis (x´) and the second new y-axis (y´´).
Together and in sequence, these rotations define the orientation of the coordinate system (see c in figure).
The right-hand rule defines the direction of positive rotation about each axis. For example, if you are
looking down the initial z-axis, positive rotations are counterclockwise and negative rotations are
clockwise.
When you turn on gravity, an icon appears in the middle of the Adams/View Main window. To turn off
the display of the gravity icon, see Edit Appearance Dialog Box.
• From the Adams Toolbar, right-click the Adams/View tool, and then select Change Settings.
• In the Registry Editor, select WorkingDirectory, and then change the working directory.
For more information, see Running and Configuring Adams.
2. On Windows:
• On the Desktop, right-click the Adams/View shortcut, and then select Properties.
• In the Start In text box, enter the working directory.
You set default units when you create an Adams/View model or you can use the Units command on the
Settings menu to change the units.
Unit Labels
To enter units other than the default in text boxes, you can use either simple unit labels or composed unit
labels.
Any unique abbreviation for a simple unit label is acceptable. For example, you can abbreviate radians
in the following ways, since none of the abbreviations conflict with abbreviations for any other units:
radians = radian = radia = radi = rad = ra = r
There are three exceptions for entering unique aliases:
Here are some examples of unit labels associated with a number within text boxes:
• 1mm
• 1.2 inch (spaces are not significant)
• 24in (you can use abbreviations)
A composed unit label is always enclosed in parentheses to eliminate ambiguity. Here are some tips and
examples of composed unit labels:
• To indicate torque, enter: 3.3 (newton*meter)
• To indicate composed acceleration, enter: 9.8 (meter/sec**2)
• To indicate angular acceleration, enter : PI (rad/sec**2)
• To indicate multiplication with a dash, enter: (fun(1)*3)(in - lbf)
• You cannot include parentheses inside of composed units. Therefore, the following is incorrect:
1.2 (inch / (sec*deg))
Instead, enter the following:
1.2 (inch / sec/deg)
Tip: In general, if you see units associated with numbers in the information window, command
file, log file, and so on, you should be able to take that unit string and use it in a text box
without error.
Interface Style
The user is provided with the option to switch 'Classic' View interface. This options provided under the
main menu Settings Interface style Classic. If user wants to switch back to the new ribbon based
view then select Settings Interface style Default.
When you start up Adams/View, Adams/View reads the settings stored in aviewBS.cmd, if it exists in
your path, and uses them instead of any settings in the Modeling database.
To save settings:
1. Set the display of your model and any other Adams/View settings, as desired.
2. From the Settings menu, select Save Settings.
Model Browser
The Model Browser window can be divided into three sections, based on the three tabs:
• Browse
• Group
• Filters
These three tabs are discussed in detail in separate sections, later in this chapter.
Learning Basics 43
Model Browser
Right-click Menus
When you click right mouse button, different shortcut menus appear depending on the tab and the entity
selected in the Model Browser. The menus can be divided in three types:
• Shortcut menu: Appears, when you right-click in the free space in the Model Browser.
• Context menu for single selection: Appears, when you right-click on a single entity in the Model
Browser.
44 Adams/View
Model Browser
• Context menu for multiple selection: Appears, when you right-click after selecting multiple
entities.
Shortcut Menu
When you click in the free space of any tab of the Model Browser a shortcut menu appears. The options
in this menu differ in different tabs but some common functionality is described below:
• To expand all nodes in the Model Browser tree, select Expand All from the shortcut menu.
• To collapse all nodes in the Model Browser tree, select Collapse All from the shortcut menu.
• To refresh the Model Browser, select Refresh from the shortcut menu.
• To sort the objects in the Model Browser by either type or name, point to Sort Entities by on the
shortcut menu and click either Type or Name, as required.
Note that the Browse section provides only one option: Sort Entities by Name.
The options under the context menus for single and multiple selection differ depending on the current tab
(Browse, Groups, or Filters) and are discussed in the respective sections.
Learning Basics 45
Model Browser
Browse Tab
The browse tab is the default tab. It depicts a hierarchy of all the objects in the database. It has nine top
level folders that contain the objects by type. The objects that do not fit into the first eight categories are
included in the "All Other" folder.
A drop down menu at the top of the browse tab displays currently active model. The browse tab has a
quick search box that enables you to specify search criteria and find matching objects in the database.
Modifying Objects
The Model Browser lets you modify database objects.
To modify objects:
1. Right-click on the object, and then select Modify. Based on the object type selected the relevant
Modify window appears.
2. Modify the specified values as required and click OK.
Creating Measure
The procedure of creating object measure is described below. Read About Measures for more information
on object measures.
Renaming Objects
You can rename an object in the model browser.
To activate/deactivate objects:
1. Right-click on the object to Activate/Deactivate, and then select (De)activate. The
Activate/Deactivate window appears.
Learning Basics 47
Model Browser
Hiding/Showing Objects
You can change object display preferences.
Groups Tab
The groups tab enables you to create and manage groups in the database. Group creation and
modification is supported along with the facility to drag-drop members across groups.
Grouping Objects
The Groups tab enables you to select and group database objects based on your preferences. It is shown
below.
Modifying Groups
The Model Browser lets you modify the object groups.
Learning Basics 49
Model Browser
To modify groups:
1. Right-click on the group, and then select Modify. The Group Modify window appears.
2. .Modify the specified values as desired and click OK.
To empty a group:
1. Right-click on the group, and then select Empty. All the objects get removed from the group.
Sorting Groups
You can sort groups by either name or type.
To sort groups:
Right-click in the free space in Groups tab, and then point to Sort by and select Name or Type as
required. The groups will get sorted.
Quick Search
The quick search box will also be present at the bottom of the groups tab. It functions in exactly the same
way as on the Browse Tab, but only displays group names or those items present in groups.
50 Adams/View
Model Browser
Filters Tab
The Filters tab enables you to create and save complex searches which can update dynamically.
Filtering Objects
You can select search criteria in the filter input area located at the bottom of the browser window, and
type text in the search text field for this search. When you press or click the blue refresh button on the
right of the input field, it executes the filter search and either creates a new filter in the browser area or
updates an existing one as dictated by the Filter Name field above it.
To create a filter:
1. Right-click in the free space in Filter tab, and then select New Filter. The Filter Creation
window appears.
2. Type the name of the filter and click Add Filter. The filter gets added.
3. In the Filter text box, enter the name of the objects that you want to display. Type any wildcard
that you want to include.
4. From the pull-down menu below Filter text box, select the type of object or objects that you want
to display in the Model Browser.
5. To only display active or inactive objects, set the pull-down menu below the Filter objects to
either Active Objects or Inactive Objects.
Learning Basics 51
Model Browser
6. Select the Dynamic check box if you want the filter to update automatically when new objects
that meet the filter specifications are added or when the Refresh All option is selected.
7. Press Enter.
Combining Filters
You can create a new filter by combining two filters. One of the three operators: AND, OR, or NOT can
be used for combining the filters.
• AND: Creates a filter that consolidates the two filters as: F 1 F 2 , only the common objects of
both filters will be in the resulting filter.
52 Adams/View
Model Browser
• OR: Creates a filter that consolidates the two filters as: F 1 F 2 , all objects of both filters will
be in the resulting filter.
• NOT: Creates a filter that consolidates the two filters as: F 1 – F 2 , only the objects that are in
F 1 but not in F 2 , will be in the resulting filter.
Where F 1 and F 2 are the names of the filters to combine.
To combine filters:
1. Select the two filters to combine and right-click on them.
2. From the right-click menu that appears, point to Combine and select one condition from AND,
OR, or NOT, as required.
The new filter will be created, satisfying the condition selected.
The order of the filter combination is determined by the order in which the filters appear in the list from
the bottom to top. For example, if two filters A and B are selected for combination such that A appears
above B in the list, then the filter created with an AND operation between the two will be B_AND_A
(and will be so named as the default). In order to create a filter A_AND_B, the list needs to be sorted first
(using the 'Sort Filters' option from the context menu that pops up when the list is right-mouse clicked.).
The filter operations AND and OR are inherently commutative and as such the order of the filter created
by a combination of these do not matter as far as the result is concerned. For example, the filter created
with the combinations (A AND B) and (B AND A) will yield the same result. The filter combination
NOT however is not commutative and the order here can be determined by the sorting method as
explained above.