『借例使例』誰說不是學習法耶!雖尚未談及
Kane’s Method in Physics/Mechanics
mechanics
provides functionality for deriving equations of motion using Kane’s method [Kane1985]. This document will describe Kane’s method as used in this module, but not how the equations are actually derived.
Structure of Equations
In mechanics
we are assuming there are 5 basic sets of equations needed to describe a system. They are: holonomic constraints, non-holonomic constraints, kinematic differential equations, dynamic equations, and differentiated non-holonomic equations.
In mechanics
holonomic constraints are only used for the linearization process; it is assumed that they will be too complicated to solve for the dependent coordinate(s). If you are able to easily solve a holonomic constraint, you should consider redefining your problem in terms of a smaller set of coordinates. Alternatively, the time-differentiated holonomic constraints can be supplied.
Kane’s method forms two expressions, and , whose sum is zero. In this module, these expressions are rearranged into the following form:
For a non-holonomic system with oo total speeds and mm motion constraints, we will get o – m equations. The mass-matrix/forcing equations are then augmented in the following fashion:
之與『拉格朗日方法』的差異之處,何妨先讀 SymPy mechanics 範例乎?
A rolling disc
The disc is assumed to be infinitely thin, in contact with the ground at only 1 point, and it is rolling without slip on the ground. See the image below.
We model the rolling disc in three different ways, to show more of the functionality of this module.
※ 謹慎
…★
kanes_equations
(bodies, loads=None)
Method to form Kane’s equations, Fr + Fr* = 0.
Returns (Fr, Fr*). In the case where auxiliary generalized speeds are present (say, s auxiliary speeds, o generalized speeds, and m motion constraints) the length of the returned vectors will be o – m + s in length. The first o – m equations will be the constrained Kane’s equations, then the s auxiliary Kane’s equations. These auxiliary equations can be accessed with the auxiliary_eqs().
Parameters: |
bodies : iterable
loads : iterable
|
---|
……☆
甚或還可更上一層樓呦◎
Steady Motion of a Rigid Disk of Finite Thickness on a Horizontal Plane
The article discusses the steady motion of a rigid disk of finite thickness rolling on its edge on a horizontal plane under the influence of gravity. The governing equations are presented and two cases allowing for a steady state solution are considered: rolling on consistently rough ground and rolling on perfectly smooth ground. The conditions of steady motion are derived for both kinds of ground and it is shown that the possible steady motion of a disk is either on a straight line in a circle. Also oscillations about steady state are discussed and conditions for stable motion are established.
───
An Analytical Solution of the Equations of a Rolling Disk of Finite Thickness on a Rough Plane
In this article an analytical solution of equations of motion of a rigid disk of finite thickness rolling on its edge on a perfectly rough horizontal plane under the action of gravity is given. The solution is given in terms of Gauss hypergeometrical functions.