For a rigid constraint there are a set of constraint equations which
respect the geometry of the constraint. So for a single constrained node
the constraint equations are
{ u s v s w s θ u s θ v s θ w s } = [ 1 z − y 1 − z x 1 y − x δ δ δ ] { u p v p w p θ u p θ v p θ w p } \begin{Bmatrix}
u_{s} \\
v_{s} \\
w_{s} \\
\theta_{us} \\
\theta_{vs} \\
\theta_{ws} \\
\end{Bmatrix} = \begin{bmatrix}
1 & & & & z & - y \\
& 1 & & - z & & x \\
& & 1 & y & - x & \\
& & & \delta & & \\
& & & & \delta & \\
& & & & & \delta \\
\end{bmatrix}\begin{Bmatrix}
u_{p} \\
v_{p} \\
w_{p} \\
\theta_{up} \\
\theta_{vp} \\
\theta_{wp} \\
\end{Bmatrix} ⎩ ⎨ ⎧ u s v s w s θ u s θ v s θ w s ⎭ ⎬ ⎫ = 1 1 1 − z y δ z − x δ − y x δ ⎩ ⎨ ⎧ u p v p w p θ u p θ v p θ wp ⎭ ⎬ ⎫
where the δ \delta δ terms are 1 1 1 for a fixed and 0 0 0 for a pinned rigid constraint.
Different terms in the matrix are dropped for reduced constraint types.
The two most common special types are plane and plate constraints with
equations
{ u s v s θ w s } = [ 1 − y 1 x δ ] { u p v p θ w p } \begin{Bmatrix}
u_{s} \\
v_{s} \\
\theta_{ws} \\
\end{Bmatrix} = \begin{bmatrix}
1 & & - y \\
& 1 & x \\
& & \delta \\
\end{bmatrix}\begin{Bmatrix}
u_{p} \\
v_{p} \\
\theta_{wp} \\
\end{Bmatrix} ⎩ ⎨ ⎧ u s v s θ w s ⎭ ⎬ ⎫ = 1 1 − y x δ ⎩ ⎨ ⎧ u p v p θ wp ⎭ ⎬ ⎫
for an x y xy x y plane constraint. Similarly for y z yz yz and z x zx z x plane constraints.
{ w s θ u s θ v s } = [ 1 y − x δ δ ] { w p θ u p θ v p } \begin{Bmatrix}
w_{s} \\
\theta_{us} \\
\theta_{vs} \\
\end{Bmatrix} = \begin{bmatrix}
1 & y & - x \\
& \delta & \\
& & \delta \\
\end{bmatrix}\begin{Bmatrix}
w_{p} \\
\theta_{up} \\
\theta_{vp} \\
\end{Bmatrix} ⎩ ⎨ ⎧ w s θ u s θ v s ⎭ ⎬ ⎫ = 1 y δ − x δ ⎩ ⎨ ⎧ w p θ u p θ v p ⎭ ⎬ ⎫
for a z z z plate constraint. Similarly for x x x and y y y plate constraints.