
365 Kinematic constraints
where the λs are Lagrange multipliers, the Qs are generalized applied forces, and where
a
ji
(q, t) =
∂φ
j
∂q
i
(6.286)
At this point there are n dynamical equations which are linear in the n
¨
qs and the m λs.
We need m additional equations to solve for the variables. These additional equations can
be obtained by differentiating the constraint equations twice with respect to time. First,
˙
φ
j
=
n
i=1
a
ji
(q, t)
˙
q
i
+ a
jt
(q, t) (6.287)
where
a
jt
(q, t) =
∂φ
j
∂t
(6.288)
Then
¨
φ
j
has the form
¨
φ
j
=
n
i=1
a
ji
(q, t)
¨
q
i
+ G
j
(q,
˙
q, t)(j = 1,...,m) (6.289)
If these expressions for
¨
φ
j
are set equal to zero then, with the aid of (6.285), one can
solve for the
¨
q
i
(q,
˙
q, t) and λ
j
(q,
˙
q, t). The n
¨
q
i
expressions can be integrated numerically
for given initial conditions, thereby obtaining
˙
q
i
and q
i
as functions of time.
The problem with this approach is that the resulting numerical solutions will be unstable
even though the physical system may actually be stable. This instability arises from the fact
that, in effect, each constraint equation in the differentiated form
¨
φ
j
= 0(j = 1,...,m) (6.290)
is also being integrated twice with respect to time. This equation has a repeated zero
characteristic root and is therefore unstable.
In order to stabilize the numerical representation of holonomic constraints, Baumgarte
proposed that (6.290) be changed to
¨
φ
j
+ α
˙
φ
j
+ βφ
j
= 0(j = 1,...,m) (6.291)
where α and β are suitably chosen constants whose values may depend on the step size h.
This allows the roots of the corresponding characteristic equation to be shifted to the left
half-plane where the constraint response can be heavily damped.
In detail, the Baumgarte procedure for a system having holonomic constraints is as
follows:
1 Write the differential equations using Lagrange multipliers
d
dt
∂T
∂
˙
q
i
−
∂T
∂q
i
=
m
j=1
λ
j
a
ji
(q, t) + Q
i
(q,
˙
q, t)(i = 1,...,n) (6.292)
2 Solve these n equations for the n
¨
qs
¨
q
i
=
¨
q
i
(q,
˙
q,λ,t)(i = 1,...,n) (6.293)