Velocity 2D/3D• Velocity[point] returns the global velocity vector, {dX, dY} (2D) or {dX, dY, dZ} (3D) of the specified point. • Velocity[bnum, lpnt] is interpreted as Velocity[Point[bnum, lpnt]]. • Velocity[bnum] returns the velocity and angular velocity coordinates of body bnum in a flat list. • The bnum argument can take any of the forms accepted by Loads to obtain the velocity coordinates of multiple bodies. • Velocity is also a setting for the Solution option for several Mech functions. • Solution->Velocity causes such functions to seek a solution for the location and velocity of the current model. • Velocity[All] returns the entire vector of velocity coordinates. • The behavior of Velocity[bnum] varies depending on whether the current solution method is Angular or Euler. • To use Velocity[bnum], bnum must be the number of a body in the current model. • In Modeler2D with the Euler solution method, Velocity[2] returns {X2d, Y2d, Ei2d, Ej2d}, but with the Angular solution method, Velocity[2] returns {X2d, Y2d, 2d}. • In Modeler3D with the Euler solution method, Velocity[2] returns {X2d, Y2d, Z2d, Eo2d, Ei2d, Ej2d, Ek2d}, but with the Angular solution method, Velocity[2] returns {X2d, Y2d, Z2d, x2, y2, z2}. • Velocity[sym] or Velocity[{sym, ... }] returns the velocity coordinates associated with the specified location coordinates sym. • The alternatives to the Velocity setting for the Solution option are Location, Acceleration, Static, Kinematic, and Dynamic. • See also: BodyEnergy, Omega, RelativeVelocity, SolveMech. Further Examples Load the Modeler2D package and define a simple model. Here is an expression representing the velocity vector of a point at {0, 5} on the crank.
Out[2]= | |
Here are the variables used to represent the linear and angular velocity of the link body.
Out[3]= | |
Here is a solution to the current model with velocity terms included.
Out[4]= | |
Here is the numerical value of the velocity of a point at {3, 0} on the crank.
Out[5]= | |
See HelpModel2D.
|