Showing results for 
Search instead for 
Did you mean: 

Planar projectile motion




New user of Amesim here, trying to learn it by recreating examples from textbook problems, and this one has me stumped.


I'm attempting to create an Amesim model of a projectile with an initial velocity, an initial height above the ground, at an initial angle from the horizontal.  I am using a 1-port planar mechanical body with a zero velocity source attached.  I think that's all I need, but I'm not getting the correct results.  There isn't much documentation on something like this, although there is a ball drop tutorial that was somewhat helpful, even though that was a 1-D example.  I have played around with the various parameters, both relative and absolute, without success.  Any advice is appreciated!


Re: Planar projectile motion

Siemens Genius Siemens Genius
Siemens Genius

Hi @Skarr11


This is rather simple.

You simply put a body on your planar sketch:

2017-03-01 09_03_17-LMS Amesim - [C__Users_msiy4w_Desktop_patate_volante.ame _].png


Then you have to parameterize it with an angle and a start x and y velocity:

plmbod1 [PLMBOD01-1]

single port body

PLMBOD01-1 : Real parameters with non default values Unit Value
  initial absolute angular position degree 50
  O: initial absolute x velocity m/s 5
  O: initial absolute y velocity m/s 5
  mass kg 0.1
  moment of inertia around Gz axis kgm**2 0.001


Then when you display y displacement against x you should get the following curve:



Kind regards


Re: Planar projectile motion


Hi Domi--


Thank you for responding.  However, I'm still not clear on the initialization parameters.  For example, if the projectile is initially at some angle with some velocity, that velocity be resolved into its x and y components, which would be the values of the "Initial absolute X/Y velocities"


In my example, my initial velocity is 150 m/sec, and the initial angle is 45 degrees.  Therefore, both x and y velocities are 150*cos(45 deg) = 150*sin(45 deg) = 106.1 m/sec.  For some reason, when I enter these expressions into the parameters, I get the following:


As you can see, the velocities are not correct.  When I enter the resolved velocities directly (106.1 m/sec), I get correct results.  What am I missing when entering these expressions?




Re: Planar projectile motion

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor


Hi Skarr11,


maybe the expression is not set correctly. Can you please check the initial velocity experession as the value of the angle in your cos or sin function is not in degree but in radian.

Try something like 150*cos(45*2*pi/360)

In my example it looks fine:




A. Bachar


Re: Planar projectile motion


Hi ABachar--


Yes, that did the trick.  I thought that since the initial angle had units of degrees, the expression for velocity would also accept degrees.


Thank you!