1 Billiards GUI Familiarity Level Required: Higher Estimated Time Required: 30 minutes MSC.ADAMS 2005 r2
1
Billiards
GUI Familiarity Level Required: HigherEstimated Time Required: 30 minutes
MSC.ADAMS 2005 r2
2
Topics CoveredTopics Covered
In this tutorial you will learn how to:
To start this example you must first download “billiards_start.bin“ file
If you have any difficulties, import the “billiards_shortcut_1.bin” file and proceed from pg 19
If you have any difficulties, import the “billiards_shortcut_2.bin” file and proceed from pg 24
If you have any difficulties, import the “billiards.cmd” file and proceed from pg 24
1. Create a sensor
2. Create design variable
3. Create single component force
3
ProblemProblem
Create a sensor between the ball and the pocket so that when the ball hits the pocket it trigger the sensor.
4
What You Should AccomplishWhat You Should Accomplish
When you complete this tutorial you will have a Adams simulation of a billiards game
5
Getting StartedGetting Starteda. Start Adams
b. Select Open an existing database radio button
c. Click OK
d. Search for file billiards_start.bin
e. Click Open
e
db
c
6
Create a SensorCreate a Sensor
a. Click Simulate menu Sensor New
b. Enter DM(PART_1.main, MAR26) in Expression text field
c. Verify that the Non-Angular Values radio button is on and that the pull down menu is set to less than or equal
d. Enter 50.0 in Value text field
e. Enter 1.0E-03 in Error Tolerance text field
f. Turn on Terminate current simulation step and check box and verify that the stop radio button is on
g. Click OK
a
b
c
de
f
g
7
Create SensorsCreate SensorsCreate 3 more sensors, with the same values as show below:
DM(PART_1.main,MAR27
Value = 50.0
Error Tolerance = 1.0E-03
DM(PART_1.main,MAR_5
Value = 50.0
Error Tolerance = 1.0E-03
DM(PART_1.main,MAR28
Value = 50.0
Error Tolerance = 1.0E-03
8
Create Design VariableCreate Design Variablea. Click Build menu Design variable New
b. Enter .billiards.hard in Name text field
c. Enter 1.0 in Standard Value text field
d. Select +/- Delta Relative to Value from Value Range by pull down menu
e. Enter -1.0 in –Delta text field
f. Enter 1.0 in +Delta text field
g. Click OK
a
b
cd
ef
g
9
Creating Design VariablesCreating Design VariablesCreate 2 more design variables with the following values:
Name = .billiards.radius
Standard Value = 75.0
Value Range by = +/- Delta Relative to Value
-Delta = -1.0
+Delta = +1.0
Name = .billiards.x
Standard Value = (PART_2.main.loc_x)
Value Range by = Absolute Min and Max Values
Min. Value =
Max. Value =
10
Create Single Component ForceCreate Single Component Force
a. Select Force (Single Component) from Forces tool stack
b. Select Two Bodies from Run-time Directions pull down menu
c. Click PART_3 PART_2 PART_3.main PART_2.main
a
bc
11
Modify Single Component ForceModify Single Component Force
a. Rename SFORCE_3 to SPHERE_SPHERE_1
b. Right-click force, select FORCE:
SPHERE_SPHERE_1 Modify
c. Click button
d. Enter
impact(dm(PART_2.main, PART_3.main),vr(PART_2.main,
PART_3.main), 35.0, hard*1.4, 1.2, 2.7/(hard*hard), 0.35)
In define a runtime function text field
e. Click OK
b
d
c
e
12
Create Single Component ForceCreate Single Component Force
Create a second single component force between the cue ball (white) and the 9 ball (yellow) with a function:
impact(dm(PART_1.main, PART_2.main),
vr(PART_1.main, PART_2.main),
50.0, 2.6, 1.2, 5.1E-004, 0.5)
13
ModelModel
This is what your screen should look like whenyour model is complete
14
Topics CoveredTopics Covered
In this tutorial you will learn how to:
1. Create a sensor
2. Create design variable
3. Create single component force
15
Best PracticesBest Practices
• Make sure sensors are set correctly
• Make sure that the design variable are set correctly
• Check the forces to see if there are acting on the right parts
• Check the single component force functions