MAE 100 Mathcad III - PowerPoint PPT Presentation

1 / 39
About This Presentation
Title:

MAE 100 Mathcad III

Description:

1. MAE 100. Mathcad III. Dr. Don Wallace. Mr. Troy Skinner. 2. Trajectory Problem ... Mathcad. 15. Given Information. 16. Solution (Initial Conditions) At t0 ... – PowerPoint PPT presentation

Number of Views:116
Avg rating:3.0/5.0
Slides: 40
Provided by: donwa3
Category:
Tags: iii | mae | mathcad

less

Transcript and Presenter's Notes

Title: MAE 100 Mathcad III


1
MAE 100 Mathcad III
  • Dr. Don Wallace
  • Mr. Troy Skinner

2
Trajectory Problem
  • When an object is launched into the air it has a
    certain initial velocity and angle with respect
    to the horizontal as shown.

Vo
q
3
Velocity Components
  • The original vertical velocity is then Vo sin q
  • The original horizontal velocity is Vo cos q.

Vo
sin(q)
Vo
cos(q)
4
No Drag
  • Under ideal conditions (no drag)
  • the horizontal velocity remains constant and
  • the vertical velocity decreases to zero under the
    influence of gravity and then reverses direction
    as the object falls.
  • The resulting trajectory is parabolic.

5
Drag
  • More realistically a drag is exerted on the
    object by the air or other medium that the object
    is moving through.
  • The amount of drag depends on a number of
    parameters including
  • the frontal area of the object,
  • the shape of the object,
  • the density of the air (or other medium) and
  • the velocity of the object.

6
Newtons Law
  • Newtons second law states that the acceleration
    caused by a force is proportional to the force
    and in the same direction as the force (i.e. F
    m a).
  • For the purpose of this problem it will be
    assumed that the acceleration component caused by
    drag can be expressed as
  • a -CD V2

7
Acceleration Components
  • Therefore the vertical and horizontal components
    of acceleration are
  • Notice that the drag always opposes the motion so
    the direction of the velocity must be tracked in
    the vertical direction to determine if the
    velocity is up or down so that the drag can
    oppose it.

ax -CD Vx2
ay -g sign(Vy) CD Vy2
8
Acceleration Components
  • Therefore the vertical and horizontal components
    of acceleration are
  • Notice that the drag always opposes the motion so
    the direction of the velocity must be tracked in
    the vertical direction to determine if the
    velocity is up or down so that the drag can
    oppose it.

ax -CD Vx2
ay -g CD Vy Vy
9
Numerical Solution
  • Since this would be hard to solve analytically a
    numerical approximation can be used to estimate
    the velocity and accelerations as the object goes
    through its trajectory.
  • The change in velocity and position can be
    estimated by solving at time increments i which
    go from 0 to some number n

10
Initial Conditions
  • At time zero

t0 0
x0 0
y0 0
(Vx)0 V0 cos (q)
(Vy)0 V0 sin (q)
11
Recursion Equations
ti ti-1 Dt
  • New Time
  • New Velocities
  • New Positions

(Vx)i (Vx)i-1 ax Dt (Vx)i (Vx)i-1
(-CD (Vx)i-12)Dt
(Vy)i (Vy)i-1 ay Dt (Vy)i (Vy)i-1
(-g CD (Vy)i-1 (Vy)i-1 )Dt
xi xi-1 Dt (Vx)i (Vx)i-1/2
yi yi-1 Dt (Vy)i (Vy)i-1 /2
12
Comments
  • The velocity used in the position equation is the
    average of the two velocities at the beginning
    and ending of the time step.
  • The smaller the time step the more accurate the
    solution will be.
  • Similar equations are used for the velocity in
    the vertical and horizontal directions.

13

Named variables
Function usage (sin, cos, sign, if, MATCH, INDEX)
Formatting for easy readability
Plot of the results
Named pages
14
Mathcad
15
Given Information
16
Solution (Initial Conditions)
(Vx)0 V0 cos (q)
x0 0
At t0 0
(Vy)0 V0 sin (q)
y0 0
17
Solution (Equations)
ti ti-1 Dt
(Vx)i (Vx)i-1 (-CD (Vx)i-12)Dt
xi xi-1 Dt (Vx)i (Vx)i-1/2
(Vy)i (Vy)i-1 (-g CD (Vy)i-1 (Vy)i-1 )Dt
yi yi-1 Dt (Vy)i (Vy)i-1 /2
18
Result Values
19
Results
20
Plot
21
Mathcad 2
22
ax -CD Vx2
(Vx)0 V0 cos (q)
x0 0
y0 0
ay -g CD Vy Vy
(Vy)0 V0 sin (q)
23
Results
24
Plot
25
Animation
26
Number_1
27
(No Transcript)
28
2D Plot and Linear Curve Fit
29
Number_2
30
Symbolic
31
Solve Blocks
32
Number_3
33
Initial Value Problem
34
Boundary Value Problem
35
Number_4
36
ax -CD Vx2
(Vx)0 V0 cos (q)
x0 0
y0 0
ay -g CD Vy Vy
(Vy)0 V0 sin (q)
37
Results
38
Plot
39
Animation
Write a Comment
User Comments (0)
About PowerShow.com