1 Introduction

Multibody system dynamics analysis is a numerical simulation tool used to construct and solve equations of motion for complex dynamic systems. In many practical engineering applications, a simplified multibody system dynamics approach can be used to analyze a system’s motions and forces. Such an approach describes the complex dynamic system as a number of rigid interconnected bodies. However, in an increasing number of engineering applications, the current trend toward lightweight design is forcing researchers and designers to account for body deformation to ensure simulation accuracy and accurate input for strength-of-materials analysis.

Deformation in multibody system dynamics can be defined with a number of different methods, of which the floating frame reference formulation (FFRF) is the approach most commonly used in industrial applications. In FFRF, body deformation is described with respect to the reference coordinate system, usually with conventional finite elements [6]. Consequently, FFRF can be applied to any arbitrary structural shape or type. Such an approach can, however, only be conveniently used for small elastic deformations, and large body reference motions must be described by translations and rotations of the reference coordinate system itself.

If the reference coordinate system is included in the deformation description and if a linear strain–displacement relationship is assumed, model order reduction techniques can be used to reduce the complexity of the calculations [9]. Model reduction enables computationally efficient description of structural flexibility such that real-time simulation becomes possible [1, 4]. In the model reduction, the body flexibility is defined by assumed deformation shapes, which are commonly eigenvectors obtained from an eigenvalue analysis of the finite element model. As typical finite element models have many degrees of freedom, most practical applications utilize model reduction in FFRF.

In FFRF, body deformation and the motion of the reference coordinate system are coupled with inertial force descriptions. As a result, the inertial forces are nonlinear functions of body orientation and must be updated at each time step. The position, velocity and acceleration of every particle within the deformable body must thus be accounted for in the updating procedure. If body deformation with respect to the reference coordinate system is described using conventional finite elements, a flexible body is a discrete system comprising a finite number of nodal points. However, because the finite element models used in the flexibility description comprise a large number of nodal degrees of freedom, inertial force updating can become computationally expensive.

Identifying in advance inertial components that remain constant enables improvement in the computational efficiency of the updating procedure. Constant inertial components can be obtained from the deformation description, i.e., the finite element model, and they are referred to as the inertia shape integrals. The inertia shape integrals are added to formulate a discrete description of the deformation.

When discussing nonlinear inertial forces, many textbooks on multibody system dynamics are not providing a detailed description related to the inertia shape integrals. Moreover, many of these textbooks and many recent publications in the field describe rotational parameters as Euler angles or Euler parameters. However, a good understanding of the inertial shape integrals is essential for accurate and efficient simulation, and the inertia shape integrals must thus be carefully identified.

The main objective of this paper is to present a detailed derivation of the inertial forces for complex dynamic systems based on the floating frame of reference formulation. Appropriate formulas can be easily found in the literature, for example, in the papers of Yoo and Haug [10] and, more recently, Lugrís et al. [4] and Sherif and Nachbagauer [8] or, for a detailed derivation, in the well-known book by Shabana [7]. The present paper differs from its predecessors in the way it presents a detailed and clearly elaborated derivation of the velocity-dependent inertia forces, with a detailed and explicit use of the inertia shape integrals, and with the derivation accomplished using angular velocity and angular acceleration vectors. Using the presented transformation procedure for arbitrary rotational parameters, the provided expressions can be easily followed, verified and applied in computer code.

The use of angular velocity and acceleration results in a general expression of inertial forces because the well-known relationship between angular velocity vectors and the time derivation of rotational parameters can be used to express the inertial forces in any set of generalized rotational coordinates. The particular emphasis of the paper is the expression of inertia shape integrals in a form that simplifies implementation of FFRF. To verify the introduced expressions, inertial forces are derived using the concepts of Virtual Work and the Lagrangian approach.

Fig. 1
figure 1

Coordinates used for kinematic description in the floating frame of reference formulation. XYZ denotes the global reference frame, while xyz is a local, floating frame of reference. P is an arbitrary point in the current configuration that corresponds to the point \(P_{0}\) in the undeformed configuration

2 System coordinates, basic kinematic equations and mass matrix

For simplicity and clarity, the body number index has been omitted from the variables in the following text.

Choice of the system coordinates

In the current paper, \(\varvec{q}\left( t\right) \), where t is time, denotes a vector of generalized body coordinates that consists of the translational and rotational coordinates of the floating reference frame and the elastic coordinates. In addition, the following set of system velocities is used:

$$\begin{aligned} \dot{\varvec{q}}=\left[ \begin{array}{c} \dot{\varvec{R}}\\ \bar{\varvec{\omega }}\\ \dot{\varvec{p}} \end{array}\right] . \end{aligned}$$
(1)

\(\dot{\varvec{R}}\) is the time derivative of the floating frame position with coordinates \(\varvec{R}\left( t\right) \), and \(\bar{\varvec{\omega }}\left( t\right) \) is an angular velocity vector expressed in the local floating frame (a “bar” symbol indicates that the values are expressed in the local coordinate system of the body). The time derivative \(\dot{\varvec{p}}\) of a vector of elastic coordinates \(\varvec{p}\left( t\right) \) describes the deformation of the flexible body. The choice of the local angular velocity as a rotational velocity vector is common practice in the field of multibody dynamics. See Haug [3, see Eq. (11.3.11)] or Nikravesh [5, see formulation III, Eq. (11.24)]. However, there is no such concept as a rotation vector that can be differentiated to obtain the angular velocity. Instead, a differential rotation vector \(\mathrm {d}\bar{\varvec{\pi }}\left( t\right) \) and a virtual rotation vector \(\delta \bar{\varvec{\pi }}\left( t\right) \) may be introduced to simplify the upcoming derivations. Using these vectors, the differential and virtual changes of generalized coordinates can be expressed as follows:

$$\begin{aligned} \mathrm {d}\varvec{q}= & {} \left[ \begin{array}{ccc} \mathrm {d}\varvec{R}^{T}&\mathrm {d}\bar{\varvec{\pi }}^{T}&\mathrm {d}\varvec{p}^{T}\end{array}\right] ^{T},\end{aligned}$$
(2)
$$\begin{aligned} \delta \varvec{q}= & {} \left[ \begin{array}{ccc} \delta \varvec{R}^{T}&\delta \bar{\varvec{\pi }}^{T}&\delta \varvec{p}^{T}\end{array}\right] ^{T}. \end{aligned}$$
(3)

Although the differential and virtual changes to the “true” coordinates (as position or elastic coordinates) are independent of the time derivatives, there is some relationship to the differential and virtual changes of the angular velocity vector for the differential rotational or virtual rotational vectors [2, see Sects. 4.12.4 and 7.3]:

$$\begin{aligned} {\mathrm {d}}\bar{\varvec{\omega }}= & {} \dot{{\mathrm {d}}\bar{\varvec{\pi }}}+\tilde{\bar{\varvec{\omega }}}{\mathrm {d}}\bar{\varvec{\pi }}, \qquad {\mathrm {d}}\bar{\varvec{\omega }}=\varvec{A}^{T}\dot{{\mathrm {d}}\bar{\varvec{\pi }}},\end{aligned}$$
(4)
$$\begin{aligned} \delta \bar{\varvec{\omega }}= & {} \dot{\delta \bar{\varvec{\pi }}}+\tilde{\bar{\varvec{\omega }}}\delta \bar{\varvec{\pi }},\qquad \delta \bar{\varvec{\omega }}=\varvec{A}^{T}\dot{\delta \bar{\varvec{\pi }}}, \end{aligned}$$
(5)

where \(\varvec{A}\left( \varvec{\theta }\right) \) is the orthogonal rotation matrix that can be expressed as a function of the rotational coordinates \(\varvec{\theta }\left( t\right) \), and \((\,\tilde{\phantom {}}\,)\) denotes the \(3\times 3\) skew-symmetric matrix associated with the vector used to express the vector (cross) product of two vectors in matrix notation. Similar expressions can be written in a global coordinate system with the global angular velocity vector \(\varvec{\omega }\left( t\right) \):

$$\begin{aligned} \mathrm {d}\varvec{\omega }= & {} \dot{\mathrm {d}\varvec{\pi }}-\tilde{\varvec{\omega }}\mathrm {d}\varvec{\pi }, \qquad \mathrm {d}\varvec{\omega }=\varvec{A}\dot{\mathrm {d}\varvec{\pi }},\end{aligned}$$
(6)
$$\begin{aligned} \delta \varvec{\omega }= & {} \dot{\delta \varvec{\pi }}-\tilde{\varvec{\omega }}\delta \varvec{\pi }, \qquad \delta \varvec{\omega }=\varvec{A}\dot{\delta \varvec{\pi }}. \end{aligned}$$
(7)

The choice of specific system coordinates \(\varvec{q}\), in particular rotational coordinates, will be discussed in Sect. 6.

Basic kinematic equations

Figure 1 presents the deformable body modeled using the floating frame of reference approach. In this approach, the position vector \(\varvec{r}_{P}\left( \varvec{q}\right) \) of an arbitrary point P of the flexible body can be expressed as:

$$\begin{aligned} {\varvec{r}}_{P}\!=\!\varvec{R}\!+\!\varvec{A}\bar{\varvec{u}}\!=\!\varvec{R}+\varvec{A}\left( \bar{\varvec{u}}_{0}+\bar{\varvec{u}}_{f}\right) =\varvec{R}+\varvec{A}\left( \bar{\varvec{u}}_{0}+\varvec{S}\varvec{p}\right) . \end{aligned}$$
(8)

\(\bar{\varvec{u}}\left( \varvec{p}\right) \) is the position vector that points to P in the local coordinate frame, \(\bar{\varvec{u}}_{0}\) is the position vector that points to P in the reference configuration (usually undeformed), \(\bar{\varvec{u}}_{f}\left( \varvec{p}\right) \) is the deformation vector that accounts for (very often small) displacements of the point P with respect to its reference position, and \(\varvec{S}\) is a space-dependent matrix that relates the body deformations and elastic coordinates. For nodal coordinates and the finite element method, matrix \(\varvec{S}\) is a shape function matrix.

Using Eq. (8), the velocity vector of an arbitrary point P can be written:

$$\begin{aligned} \dot{\varvec{r}}_{P}= & {} \dot{\varvec{R}}+\dot{\varvec{A}}\bar{\varvec{u}}+\varvec{A}\dot{\bar{\varvec{u}}}=\dot{\varvec{R}}+\varvec{A}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+\varvec{A}\varvec{S}\dot{\varvec{p}}\nonumber \\= & {} \dot{\varvec{R}}-\varvec{A}\tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}+\varvec{A}\varvec{S}\dot{\varvec{p}}=\varvec{L}\dot{\varvec{q}}, \end{aligned}$$
(9)

where the equality \(\dot{\varvec{A}}=\varvec{A}\tilde{\bar{\varvec{\omega }}}\) is used, and the property of the “tilde” operator is exploited, which for two arbitrary vectors \(\varvec{a}\) and \(\varvec{b}\) gives \(\tilde{\varvec{a}}\varvec{b}=-\tilde{\varvec{b}}\varvec{a}\). The time independence of \(\bar{\varvec{u}}_{0}\) and \(\varvec{S}\) is used to derive the third equation component. Finally, the equation can be rewritten in a form that employs the total vector of generalized velocities \(\dot{\varvec{q}}\) and matrix \(\varvec{L}\left( \varvec{\theta },\varvec{p}\right) \):

$$\begin{aligned} \varvec{L}=\left[ \begin{array}{ccc} \varvec{\mathrm {I}}&-\varvec{A}\tilde{\bar{\varvec{u}}}&\varvec{A}\varvec{S}\end{array}\right] =\left[ \begin{array}{ccc} \varvec{\mathrm {I}}&\varvec{B}&\varvec{A}\varvec{S}\end{array}\right] . \end{aligned}$$
(10)

\(\varvec{\mathrm {I}}\) denotes an identity matrix of an appropriate size (here \(3\times 3\)), and \(\varvec{B}=-\varvec{A}\tilde{\bar{\varvec{u}}}\). It should be noted that quantities that do not explicitly depend on time, system coordinates or spatial variables, like the constant identity matrix \(\varvec{\mathrm {I}}\), are designated in the text with upright Roman style.

Flexible body mass matrix

Using the \(\varvec{L}\) matrix, a mass matrix can be written as follows:

$$\begin{aligned} \varvec{M}=\int _{m}\varvec{L}^{T}\varvec{L}\mathrm {d}m=\int _{V}\rho \varvec{L}^{T}\varvec{L}\mathrm {d}V, \end{aligned}$$
(11)

where m, \(\rho \) and V are the mass, the density and the volume of the deformable body in its reference (initial) configuration. Note that \(\mathrm {d}m=\rho \mathrm {d}V\).

The mass matrix can be expressed in the following compact form:

$$\begin{aligned} \varvec{M}=\left[ \begin{array}{ccc} \varvec{\mathrm {m}}_{tt} &{} \varvec{m}_{tr} &{} \varvec{m}_{tf}\\ &{} \varvec{m}_{rr} &{} \varvec{m}_{rf}\\ \text {sym} &{} &{} \varvec{\mathrm {m}}_{ff} \end{array}\right] . \end{aligned}$$
(12)

\(\varvec{m}_{\alpha \beta }\) for \(\alpha ,\beta =t,r,f\) denotes the blocks of the mass matrix split according to the system coordinates for t associated with translational coordinates, r with rotational coordinates and f with elastic (flexible) coordinates.

3 Mass components and inertia shape integrals

Aspects of the mass matrix components and inertia shape integrals that simplify the matrix updating process are discussed in the following paragraphs. The shape integrals of the mass matrix will be denoted as capital \(\mathrm {I}\) with a superscript marker and with no additional designation. Matrices denoted as \(\varvec{I}\) with additional subscripts or designated with bars and hats are matrices that depend on the shape integrals. Additionally, they may depend also on the body coordinates.

Translational component

The simplest form has a purely translational component:

$$\begin{aligned} \varvec{\mathrm {m}}_{tt}=\int _{V}\rho \varvec{\mathrm {I}}\mathrm {d}V=\mathrm {I}^{1}\varvec{\mathrm {I}}, \end{aligned}$$
(13)

where \(\mathrm {I}^{1}\) is the mass of the deformable body:

$$\begin{aligned} \mathrm {I}^{1}=\int _{V}\rho \mathrm {d}V. \end{aligned}$$
(14)

Translational-rotational component

The translational-rotational component \(\varvec{m}_{tr}\left( \varvec{\theta },\varvec{p}\right) \) is expressed as follows:

$$\begin{aligned} \varvec{m}_{tr}=\int _{V}\rho \left( -\varvec{A}\tilde{\bar{\varvec{u}}}\right) \mathrm {d}V=-\varvec{A}\int _{V}\rho \tilde{\bar{\varvec{u}}}\mathrm {d}V=-\varvec{A}\tilde{\varvec{I}}_{j}, \end{aligned}$$
(15)

while

$$\begin{aligned} \varvec{I}_{j}=\int _{V}\rho \bar{\varvec{u}}\mathrm {d}V=\int _{V}\rho \left( \bar{\varvec{u}}_{0}+\varvec{S}\varvec{p}\right) \mathrm {d}V=\varvec{\mathrm {I}}^{2}+\varvec{\mathrm {I}}^{3}\varvec{p}, \end{aligned}$$
(16)

where Eq. (8) is partially used, and the definitions for the shape integrals \(\varvec{\mathrm {I}}^{2}\) and \(\varvec{\mathrm {I}}^{3}\) are:

$$\begin{aligned} \varvec{\mathrm {I}}^{2}=\int _{V}\rho \bar{\varvec{u}}_{0}\mathrm {d}V, \end{aligned}$$
(17)

and

$$\begin{aligned} \varvec{\mathrm {I}}^{3}=\int _{V}\rho \varvec{S}\mathrm {d}V. \end{aligned}$$
(18)

Translational-flexible component

The translational-flexible component \(\varvec{m}_{tf}\left( \varvec{\theta }\right) \) is expressed as:

$$\begin{aligned} \varvec{m}_{tf}=\int _{V}\rho \varvec{A}\varvec{S}\mathrm {d}V=\varvec{A}\int _{V}\rho \varvec{S}\mathrm {d}V=\varvec{A}\varvec{\mathrm {I}}^{3}. \end{aligned}$$
(19)

Rotational component

The purely rotational component \(\varvec{m}_{rr}\left( \varvec{p}\right) \) is written as:

$$\begin{aligned} \varvec{m}_{rr}= & {} \int _{V}\rho \varvec{B}^{T}\varvec{B}\mathrm {d}V=\int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\varvec{A}^{T}\varvec{A}\tilde{\bar{\varvec{u}}}\mathrm {d}V\nonumber \\= & {} \int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\mathrm {d}V=\varvec{I}_{rr}, \end{aligned}$$
(20)

where \(\varvec{I}_{rr}=\int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\mathrm {d}V\) is a symmetric matrix, and:

$$\begin{aligned} \begin{aligned} \tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}&=\left[ \begin{array}{ccc} 0 &{} \bar{u}_{3} &{} -\bar{u}_{2}\\ -\bar{u}_{3} &{} 0 &{} \bar{u}_{1}\\ \bar{u}_{2} &{} -\bar{u}_{1} &{} 0 \end{array}\right] \left[ \begin{array}{ccc} 0 &{} -\bar{u}_{3} &{} \bar{u}_{2}\\ \bar{u}_{3} &{} 0 &{} -\bar{u}_{1}\\ -\bar{u}_{2} &{} \bar{u}_{1} &{} 0 \end{array}\right] \\&=\left[ \begin{array}{ccc} \bar{u}_{2}^{2}+\bar{u}_{3}^{2} &{} -\bar{u}_{1}\bar{u}_{2} &{} -\bar{u}_{1}\bar{u}_{3}\\ -\bar{u}_{2}\bar{u}_{1} &{} \bar{u}_{1}^{2}+\bar{u}_{3}^{2} &{} -\bar{u}_{2}\bar{u}_{3}\\ -\bar{u}_{3}\bar{u}_{1} &{} -\bar{u}_{3}\bar{u}_{2} &{} \bar{u}_{1}^{2}+\bar{u}_{2}^{2} \end{array}\right] , \end{aligned} \end{aligned}$$
(21)

where \(\bar{u}_{i}=\bar{u}_{0,i}+\varvec{S}_{i}\varvec{p}\) for \(i=1,2,3\) is an ith component of the vector \(\bar{\varvec{u}}\), \(\bar{u}_{0,i}\) is an ith component of the vector \(\bar{\varvec{u}}_{0}\), and \(\varvec{S}_{i}\) is an ith row of the matrix \(\varvec{S}\).

The following expression is then evident:

$$\begin{aligned} \bar{u}_{i}^{2}=\left( \bar{u}_{0,i}+\varvec{S}_{i}\varvec{p}\right) ^{2}=\bar{u}_{0,i}^{2}+2\bar{u}_{0,i}\varvec{S}_{i}\varvec{p}+\varvec{p}^{T}\varvec{S}_{i}^{T}\varvec{S}_{i}\varvec{p}. \end{aligned}$$
(22)

So,

$$\begin{aligned} \int _{V}\rho \bar{u}_{i}^{2}\mathrm {d}V=\mathrm {I}_{ii}^{7}+2\varvec{\mathrm {I}}_{ii}^{8}\varvec{p}+\varvec{p}^{T}\varvec{\mathrm {I}}_{ii}^{9}\varvec{p}. \end{aligned}$$
(23)

For \(j=1,2,3\):

$$\begin{aligned} \bar{u}_{i}\bar{u}_{j}= & {} \left( \bar{u}_{0,i}+\varvec{S}_{i}\varvec{p}\right) \left( \bar{u}_{0,j} +\varvec{S}_{j}\varvec{p}\right) =\bar{u}_{0,i}\bar{u}_{0,j}\nonumber \\&+\bar{u}_{0,i}\varvec{S}_{j}\varvec{p}+\bar{u}_{0,j}\varvec{S}_{i}\varvec{p}+\varvec{p}^{T}\varvec{S}_{i}^{T}\varvec{S}_{j}\varvec{p}. \end{aligned}$$
(24)

Therefore,

$$\begin{aligned} \int _{V}\rho \bar{u}_{i}\bar{u}_{j}\mathrm {d}V=\mathrm {I}_{ij}^{7}+\varvec{\mathrm {I}}_{ij}^{8}\varvec{p}+\varvec{\mathrm {I}}_{ji}^{8}\varvec{p}+\varvec{p}^{T}\varvec{\mathrm {I}}_{ij}^{9}\varvec{p}, \end{aligned}$$
(25)

where the six shape integrals \(\mathrm {I}_{ij}^{7}\) are:

$$\begin{aligned} \mathrm {I}_{ij}^{7}=\int _{V}\rho \bar{u}_{0,i}\bar{u}_{0,j}\mathrm {d}V, \end{aligned}$$
(26)

the nine shape integrals \(\varvec{\mathrm {I}}_{ij}^{8}\) are:

$$\begin{aligned} \varvec{\mathrm {I}}_{ij}^{8}=\int _{V}\rho \bar{u}_{0,i}\varvec{S}_{j}\mathrm {d}V, \end{aligned}$$
(27)

and the six shape integrals \(\varvec{\mathrm {I}}_{ij}^{9}\) (the following three are symmetric) are:

$$\begin{aligned} \varvec{\mathrm {I}}_{ij}^{9}=\int _{V}\rho \varvec{S}_{i}^{T}\varvec{S}_{j}\mathrm {d}V. \end{aligned}$$
(28)

Next, the matrix \(\varvec{I}_{rr}\) can be written using the shape integrals from Eqs. (26), (27) and (28):

$$\begin{aligned} \varvec{I}_{rr}=\varvec{\mathrm {I}}^{7}+\bar{\varvec{I}}^{8}+\bar{\varvec{I}}^{9}=\varvec{\mathrm {I}}^{7}+\varvec{\mathrm {I}}^{8}\bar{\varvec{p}}+\bar{\varvec{p}}^{T}\varvec{\mathrm {I}}^{9}\bar{\varvec{p}}, \end{aligned}$$
(29)

where \(\bar{\varvec{p}}=\mathrm{diag}\left( \varvec{p},\varvec{p},\varvec{p}\right) \), and

$$\begin{aligned} \varvec{\mathrm {I}}^{7}=\left[ \begin{array}{ccc} \mathrm {I}_{22}^{7}+\mathrm {I}_{33}^{7} &{} -\mathrm {I}_{12}^{7} &{} -\mathrm {I}_{13}^{7}\\ -\mathrm {I}_{12}^{7} &{} \mathrm {I}_{11}^{7}+\mathrm {I}_{33}^{7} &{} -\mathrm {I}_{23}^{7}\\ -\mathrm {I}_{13}^{7} &{} -\mathrm {I}_{23}^{7} &{} \mathrm {I}_{11}^{7}+\mathrm {I}_{22}^{7} \end{array}\right] , \end{aligned}$$
(30)

which is a symmetric matrix.

Moreover,

$$\begin{aligned} \bar{\varvec{I}}^{8}=\left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) \varvec{p} &{} -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) \varvec{p} &{} -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) \varvec{p}\\ -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) \varvec{p} &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) \varvec{p} &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) \varvec{p}\\ -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) \varvec{p} &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) \varvec{p} &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8}\right) \varvec{p} \end{array}\right] \end{aligned}$$
(31)

and

$$\begin{aligned} \varvec{\bar{I}}^{8}= & {} \left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8}\right) \end{array}\right] \nonumber \\&\left[ \begin{array}{ccc} \varvec{p} &{} \varvec{0} &{} \varvec{0}\\ \varvec{0} &{} \varvec{p} &{} \varvec{0}\\ \varvec{0} &{} \varvec{0} &{} \varvec{p} \end{array}\right] =\varvec{\mathrm {I}}^{8}\bar{\varvec{p}}, \end{aligned}$$
(32)

where \(\varvec{\mathrm {I}}^{8}\) is a constant matrix of shape integrals:

$$\begin{aligned} \varvec{\mathrm {I}}^{8}=\left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8}\right) \end{array}\right] . \end{aligned}$$
(33)

In addition, using the property \(\varvec{\mathrm {I}}_{ji}^{9}=\left. \varvec{\mathrm {I}}_{ij}^{9}\right. ^{T}\) that directly results from definition (28) results in:

$$\begin{aligned} \bar{\varvec{I}}^{9}=\left[ \begin{array}{ccc} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) \varvec{p} &{} -\varvec{p}^{T}\varvec{\mathrm {I}}_{12}^{9}\varvec{p} &{} -\varvec{p}^{T}\varvec{\mathrm {I}}_{13}^{9}\varvec{p}\\ -\varvec{p}^{T}\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\varvec{p} &{} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) \varvec{p} &{} -\varvec{p}^{T}\varvec{\mathrm {I}}_{23}^{9}\varvec{p}\\ -\varvec{p}^{T}\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\varvec{p} &{} -\varvec{p}^{T}\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\varvec{p} &{} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9}\right) \varvec{p} \end{array}\right] \end{aligned}$$
(34)

or

$$\begin{aligned} \bar{\varvec{I}}^{9}= & {} \bar{\varvec{p}}^{T}\left[ \begin{array}{ccc} \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\varvec{\mathrm {I}}_{12}^{9} &{} -\varvec{\mathrm {I}}_{13}^{9}\\ -\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\varvec{\mathrm {I}}_{23}^{9}\\ -\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T} &{} -\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9} \end{array}\right] \bar{\varvec{p}}=\bar{\varvec{p}}^{T}\varvec{\mathrm {I}}^{9}\bar{\varvec{p}},\nonumber \\ \end{aligned}$$
(35)

where \(\varvec{\mathrm {I}}^{9}\) is a constant and symmetric matrix:

$$\begin{aligned} \varvec{\mathrm {I}}^{9}=\left[ \begin{array}{ccc} \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\varvec{\mathrm {I}}_{12}^{9} &{} -\varvec{\mathrm {I}}_{13}^{9}\\ -\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\varvec{\mathrm {I}}_{23}^{9}\\ -\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T} &{} -\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9} \end{array}\right] . \end{aligned}$$
(36)

Rotational-flexible component

The rotational-flexible sub-matrix \(\varvec{m}_{rf}\left( \varvec{p}\right) \) of the mass matrix is:

$$\begin{aligned} \varvec{m}_{rf}=\int _{V}\rho \varvec{B}^{T}\varvec{A}\varvec{S}\mathrm {d}V=\int _{V}\rho \tilde{\bar{\varvec{u}}}\varvec{S}\mathrm {d}V=\varvec{I}_{rf}, \end{aligned}$$
(37)

where the orthogonality of the rotation matrix and the skew-symmetric matrix property \(\tilde{\bar{\varvec{u}}}^{T}=-\tilde{\bar{\varvec{u}}}\) is used. Next, the following expression can be written as:

$$\begin{aligned} \tilde{\bar{\varvec{u}}}\varvec{S}=\left[ \begin{array}{c} -\bar{u}_{3}\varvec{S}_{2}+\bar{u}_{2}\varvec{S}_{3}\\ \bar{u}_{3}\varvec{S}_{1}-\bar{u}_{1}\varvec{S}_{3}\\ -\bar{u}_{2}\varvec{S}_{1}+\bar{u}_{1}\varvec{S}_{2} \end{array}\right] . \end{aligned}$$
(38)

Assuming, as previously, that \(i=1,2,3\) and \(j=1,2,3\):

$$\begin{aligned} \bar{u}_{i}\varvec{S}_{j}=\left( \bar{u}_{0,i}+\varvec{S}_{i}\varvec{p}\right) \varvec{S}_{j}=\bar{u}_{0,i}\varvec{S}_{j}+\varvec{p}^{T}\varvec{S}_{i}^{T}\varvec{S}_{j}, \end{aligned}$$
(39)

thus,

$$\begin{aligned} \varvec{I}_{rf}=\int _{V}\rho \tilde{\bar{\varvec{u}}}\varvec{S}\mathrm {d}V=\varvec{\mathrm {I}}^{4}+\bar{\varvec{I}}^{5}=\varvec{\mathrm {I}}^{4}+\bar{\varvec{p}}^{T}\varvec{\mathrm {I}}^{5}, \end{aligned}$$
(40)

where

$$\begin{aligned} \varvec{\mathrm {I}}^{4}=\left[ \begin{array}{c} \varvec{\mathrm {I}}_{23}^{8}-\varvec{\mathrm {I}}_{32}^{8}\\ \varvec{\mathrm {I}}_{31}^{8}-\varvec{\mathrm {I}}_{13}^{8}\\ \varvec{\mathrm {I}}_{12}^{8}-\varvec{\mathrm {I}}_{21}^{8} \end{array}\right] \end{aligned}$$
(41)

and

$$\begin{aligned} \bar{\varvec{I}}^{5}= & {} \left[ \begin{array}{c} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \\ \varvec{p}^{T}\left( {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\right) \\ \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \end{array}\right] \nonumber \\= & {} \left[ \begin{array}{ccc} \varvec{p}^{T} &{} \varvec{0} &{} \varvec{0}\\ \varvec{0} &{} \varvec{p}^{T} &{} \varvec{0}\\ \varvec{0} &{} \varvec{0} &{} \varvec{p}^{T} \end{array}\right] \left[ \begin{array}{c} \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\\ {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\\ \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T} \end{array}\right] =\bar{\varvec{p}}^{T}\varvec{\mathrm {I}}^{5}. \end{aligned}$$
(42)

Equation (42) exploits the fact that \(\varvec{\mathrm {I}}_{ji}^{9}={\varvec{\mathrm {I}}_{ij}^{9}}^{T}\).

Flexible component

The purely flexible sub-matrix of the mass matrix, which is constant, is expressed as:

$$\begin{aligned} \varvec{\mathrm {m}}_{ff}=\int _{V}\rho \varvec{S}^{T}\varvec{S}\mathrm {d}V=\varvec{\mathrm {I}}^{6}, \end{aligned}$$
(43)

where

$$\begin{aligned} \varvec{\mathrm {I}}^{6}= & {} \int _{V}\rho \left( \varvec{S}_{1}^{T}\varvec{S}_{1}+\varvec{S}_{2}^{T}\varvec{S}_{2}+\varvec{S}_{3}^{T}\varvec{S}_{3}\right) \mathrm {d}V\nonumber \\= & {} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9}. \end{aligned}$$
(44)

4 Quadratic velocity vector: Lagrangian approach

The quadratic velocity vector can be evaluated based on differentiation of kinetic energy \(T=T\left( \varvec{q},\dot{\varvec{q}}\right) \) [7]:

$$\begin{aligned} \varvec{Q}_{i}-\varvec{Q}_{v}=\frac{\mathrm {d}}{\mathrm {d}t}\left( \frac{\partial T}{\partial \dot{\varvec{q}}}\right) ^{T}-\left( \frac{\partial T}{\partial \varvec{q}}\right) ^{T}, \end{aligned}$$
(45)

where \(\varvec{Q}_{i}=\varvec{Q}_{i}\left( \varvec{q},\ddot{\varvec{q}}\right) \) is a vector of inertial forces, and \(\varvec{Q}_{v}=\varvec{Q}_{v}\left( \varvec{q},\dot{\varvec{q}}\right) \) is a vector of quadratic velocity forces. The kinetic energy of a flexible body may be expressed as:

$$\begin{aligned} T=\frac{1}{2}\dot{\varvec{q}}^{T}\varvec{M}\dot{\varvec{q}}, \end{aligned}$$
(46)

where \(\varvec{M}=\varvec{M}\left( \varvec{q}\right) \) is a symmetric mass matrix of a system. Therefore, an expression for the inertial forces can be written as:

$$\begin{aligned} \varvec{Q}_{i}=\varvec{M}\ddot{\varvec{q}}, \end{aligned}$$
(47)

while the quadratic velocity vector may be expressed as:

$$\begin{aligned} \varvec{Q}_{v}=-\dot{\varvec{M}}\dot{\varvec{q}}+\frac{1}{2}\left[ \frac{\partial }{\partial \varvec{q}}\left( \dot{\varvec{q}}^{T}\varvec{M}\dot{\varvec{q}}\right) \right] ^{T}. \end{aligned}$$
(48)

It should be noted that mass sub-matrices \(\varvec{\mathrm {m}}_{tt}\) and \(\varvec{\mathrm {m}}_{ff}\) are constant, while \(\varvec{m}_{tr}\left( \varvec{\theta },\varvec{p}\right) \), \(\varvec{m}_{tf}\left( \varvec{\theta }\right) \), \(\varvec{m}_{rr}\left( \varvec{p}\right) \) and \(\varvec{m}_{rf}\left( \varvec{p}\right) \) depend on system coordinates.

The quadratic velocity vector based on Eq. (48) can be written as:

$$\begin{aligned} \dot{\varvec{M}}\dot{\varvec{q}}= & {} \left[ \begin{array}{c} \dot{\varvec{\mathrm {m}}}_{tt}\dot{\varvec{R}}+\dot{\varvec{m}}_{tr}\bar{\varvec{\omega }}+\dot{\varvec{m}}_{tf}\dot{\varvec{p}}\\ \dot{\varvec{m}}_{rt}\dot{\varvec{R}}+\dot{\varvec{m}}_{rr}\bar{\varvec{\omega }}+\dot{\varvec{m}}_{rf}\dot{\varvec{p}}\\ \dot{\varvec{m}}_{ft}\dot{\varvec{R}}+\dot{\varvec{m}}_{fr}\bar{\varvec{\omega }}+\dot{\varvec{\mathrm {m}}}_{ff}\dot{\varvec{p}} \end{array}\right] \nonumber \\= & {} \left[ \begin{array}{c} \dot{\varvec{m}}_{tr}\bar{\varvec{\omega }}+\dot{\varvec{m}}_{tf}\dot{\varvec{p}}\\ \dot{\varvec{m}}_{rt}\dot{\varvec{R}}+\dot{\varvec{m}}_{rr}\bar{\varvec{\omega }}+\dot{\varvec{m}}_{rf}\dot{\varvec{p}}\\ \dot{\varvec{m}}_{ft}\dot{\varvec{R}}+\dot{\varvec{m}}_{fr}\bar{\varvec{\omega }} \end{array}\right] , \end{aligned}$$
(49)

while:

$$\begin{aligned} \dot{\varvec{q}}^{T}\varvec{M}\dot{\varvec{q}}= & {} \dot{\varvec{R}}^{T}\varvec{\mathrm {m}}_{tt}\dot{\varvec{R}}+\dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}+\dot{\varvec{R}}^{T}\varvec{m}_{tf}\dot{\varvec{p}}\nonumber \\&+\bar{\varvec{\omega }}^{T}\varvec{m}_{rt}\dot{\varvec{R}} +\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}+\bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\nonumber \\&+\dot{\varvec{p}}^{T}\varvec{m}_{ft}\dot{\varvec{R}}+\dot{\varvec{p}}^{T}\varvec{m}_{fr}\bar{\varvec{\omega }}+\dot{\varvec{p}}^{T}\varvec{\mathrm {m}}_{ff}\dot{\varvec{p}}. \end{aligned}$$
(50)

Because the mass matrix is symmetric, the equation can be simplified further:

$$\begin{aligned} \dot{\varvec{q}}^{T}\varvec{M}\dot{\varvec{q}}= & {} \dot{\varvec{R}}^{T}\varvec{\mathrm {m}}_{tt}\dot{\varvec{R}}+2\dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}+2\dot{\varvec{R}}^{T}\varvec{m}_{tf}\dot{\varvec{p}}\nonumber \\&+\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }} +2\bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}+\dot{\varvec{p}}^{T}\varvec{\mathrm {m}}_{ff}\dot{\varvec{p}}. \end{aligned}$$
(51)

In addition, the vector of the quadratic velocity may be divided into translational, rotational and elastic components:

$$\begin{aligned} \varvec{Q}_{v}=\left[ \begin{array}{c} \varvec{Q}_{v,t}\\ \varvec{Q}_{v,r}\\ \varvec{Q}_{v,f} \end{array}\right] . \end{aligned}$$
(52)

In the following paragraphs, each of these components will be considered separately.

4.1 Translational component

Considering Eqs. (48), (49) and (51), \(\varvec{Q}_{v,t}\) may be expressed as follows:

$$\begin{aligned} \varvec{Q}_{v,t}=-\dot{\varvec{m}}_{tr}\bar{\varvec{\omega }}-\dot{\varvec{m}}_{tf}\dot{\varvec{p}}. \end{aligned}$$
(53)

None of the terms from Eq. (51) are included, because the mass matrix does not depend directly on \(\varvec{R}\). It can be shown that:

$$\begin{aligned} \dot{\varvec{m}}_{tr}\bar{\varvec{\omega }}=\frac{\mathrm {d}}{\mathrm {d}t}\left( -\varvec{A}\tilde{\varvec{I}}_{j}\right) \bar{\varvec{\omega }}=-\dot{\varvec{A}}\tilde{\varvec{I}}_{j}\bar{\varvec{\omega }}-\varvec{A}\dot{\tilde{\varvec{I}}}_{j}\bar{\varvec{\omega }}. \end{aligned}$$
(54)

Remembering that \(\dot{\varvec{A}}=\tilde{\varvec{\omega }}\varvec{A}=\varvec{A}\tilde{\bar{\varvec{\omega }}}\), and because \(\dot{\varvec{I}}_{j}=\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}\) from Eq. (16):

$$\begin{aligned} \dot{\varvec{m}}_{tr}\bar{\varvec{\omega }}=-\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\varvec{I}}_{j}\bar{\varvec{\omega }}-\varvec{A}\left( \widetilde{\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}}\right) \bar{\varvec{\omega }}=\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}+\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}. \end{aligned}$$
(55)

The second term in Eq. (53) is:

$$\begin{aligned} \dot{\varvec{m}}_{tf}\dot{\varvec{p}}=\dot{\varvec{A}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}=\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}. \end{aligned}$$
(56)

Therefore, the value of the quadratic velocity vector for that component is:

$$\begin{aligned} \varvec{Q}_{v,t}=-\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}-2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}. \end{aligned}$$
(57)

4.2 Rotational component

As previously, with Eqs. (48), (49) and (51):

$$\begin{aligned} \begin{aligned} \varvec{Q}_{v,r}=&-\left( \dot{\varvec{m}}_{rt}\dot{\varvec{R}}+\dot{\varvec{m}}_{rr}\bar{\varvec{\omega }}+\dot{\varvec{m}}_{rf}\dot{\varvec{p}}\right) \\&+\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr} \bar{\varvec{\omega }}+\dot{\varvec{R}}^{T}\varvec{m}_{tf}\dot{\varvec{p}}\right. \right. \\&\left. \left. +\frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}+\bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\right) \right] ^{T}. \end{aligned} \end{aligned}$$
(58)

Even though \(\varvec{m}_{rr}\left( \varvec{p}\right) \) and \(\varvec{m}_{rf}\left( \varvec{p}\right) \) do not depend on rotational coordinates, the terms \(\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}\) and \(\bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\) must be included, because the angular velocity vector is dependent on rotational coordinates.

The following equation can also be shown to be valid:

$$\begin{aligned} -\dot{\varvec{m}}_{rt}\dot{\varvec{R}}+\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}+\dot{\varvec{R}}^{T}\varvec{m}_{tf}\dot{\varvec{p}}\right) \right] ^{T}=\varvec{0}. \end{aligned}$$
(59)

Because matrix \(\varvec{m}_{rt}\left( \varvec{\theta },\varvec{p}\right) \) is a function of rotational and elastic coordinates, the expression can also be written as:

$$\begin{aligned} \dot{\varvec{m}}_{rt}\dot{\varvec{R}}=\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \varvec{m}_{rt}\dot{\varvec{R}}\right) \right] \bar{\varvec{\omega }}+\left[ \frac{\partial }{\partial \varvec{p}}\left( \varvec{m}_{rt}\dot{\varvec{R}}\right) \right] \dot{\varvec{p}}. \end{aligned}$$
(60)

Firstly,

$$\begin{aligned} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \varvec{m}_{rt}\dot{\varvec{R}}\right) \right] \bar{\varvec{\omega }}=\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}\right) \right] ^{T}. \end{aligned}$$
(61)

Starting from the left-hand side, using Eq. (15) and remembering that \(\varvec{m}_{rt}=\varvec{m}_{tr}^{T}=\tilde{\varvec{I}}_{j}\varvec{A}^{T}\):

$$\begin{aligned} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \varvec{m}_{rt}\dot{\varvec{R}}\right) \right] \bar{\varvec{\omega }}= & {} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \tilde{\varvec{I}}_{j}\varvec{A}^{T} \dot{\varvec{R}}\right) \right] \bar{\varvec{\omega }}\nonumber \\= & {} \tilde{\varvec{I}}_{j}\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \varvec{A}^{T}\dot{\varvec{R}}\right) \right] \bar{\varvec{\omega }}\nonumber \\= & {} \tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\tilde{\varvec{R}}}\varvec{A}\bar{\varvec{\omega }}\nonumber \\= & {} \tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\tilde{\varvec{R}}}\varvec{\omega }=-\tilde{\varvec{I}}_{j}\varvec{A}^{T}\tilde{\varvec{\omega }}\varvec{A}\varvec{A}^{T}\dot{\varvec{R}}\nonumber \\= & {} -\tilde{\varvec{I}}_{j}\tilde{\bar{\varvec{\omega }}}\varvec{A}^{T}\dot{\varvec{R}}, \end{aligned}$$
(62)

where the equalities \(\frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \varvec{A}^{T}\varvec{v}\right) =\varvec{A}^{T}\tilde{\varvec{v}}\varvec{A}\), \(\varvec{\omega }=\varvec{A}\bar{\varvec{\omega }}\) and \(\tilde{\bar{\varvec{\omega }}}=\varvec{A}^{T}\tilde{\varvec{\omega }}\varvec{A}\) are used and orthogonality of the rotation matrix and some properties of skew-symmetric matrices. Note that:

$$\begin{aligned} \frac{\partial }{\partial \varvec{q}}\left( \varvec{a}^{T}\varvec{b}\right) =\varvec{a}^{T}\frac{\partial }{\partial \varvec{q}}\varvec{b}+\varvec{b}^{T}\frac{\partial }{\partial \varvec{q}}\varvec{a} \end{aligned}$$
(63)

for arbitrary vectors \(\varvec{a}\) and \(\varvec{b}\) that are a function of the real variable vector \(\varvec{q}\). Transposing both sides of Eq. (63) yields:

$$\begin{aligned} \left[ \frac{\partial }{\partial \varvec{q}}\left( \varvec{a}^{T}\varvec{b}\right) \right] ^{T}=\left( \frac{\partial }{\partial \varvec{q}}\varvec{b}\right) ^{T}\varvec{a}+\left( \frac{\partial }{\partial \varvec{q}}\varvec{a}\right) ^{T}\varvec{b}. \end{aligned}$$
(64)

Equation (64) can be applied to evaluate the right-hand side of Eq. (61) with \(\varvec{a}^{T}=\dot{\varvec{R}}^{T}\varvec{m}_{tr}\) (so \(\varvec{a}=\varvec{m}_{rt}\dot{\varvec{R}}\)) and \(\varvec{b}=\bar{\varvec{\omega }}\). According to Eq. (4), \(\partial \bar{\varvec{\omega }}/\partial \bar{\varvec{\pi }}=\tilde{\bar{\varvec{\omega }}}\). Therefore,

$$\begin{aligned}&\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\&\quad =\left( \frac{\partial }{\partial \bar{\varvec{\pi }}}\bar{\varvec{\omega }}\right) ^{T}\tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}+\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}\right) \right] ^{T}\bar{\varvec{\omega }}\nonumber \\&\quad =\tilde{\bar{\varvec{\omega }}}^{T}\tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}+\left[ \tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\tilde{\varvec{R}}}\varvec{A}\right] ^{T}\bar{\varvec{\omega }}\nonumber \\&\quad =-\tilde{\bar{\varvec{\omega }}}\tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}+\varvec{A}^{T}\dot{\tilde{\varvec{R}}}\varvec{A}\tilde{\varvec{I}}_{j}\bar{\varvec{\omega }}\nonumber \\&\quad =-\tilde{\bar{\varvec{\omega }}}\tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}+\widetilde{\left( \varvec{A}^{T}\dot{\varvec{R}}\right) }\tilde{\varvec{I}}_{j}\bar{\varvec{\omega }}\nonumber \\&\quad =-\tilde{\bar{\varvec{\omega }}}\tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}-\widetilde{\left( \tilde{\varvec{I}}_{j}\bar{\varvec{\omega }}\right) }\varvec{A}^{T}\dot{\varvec{R}}\nonumber \\&\quad =-\tilde{\bar{\varvec{\omega }}}\tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}-\left( \tilde{\varvec{I}}_{j}\tilde{\bar{\varvec{\omega }}}-\tilde{\bar{\varvec{\omega }}}\tilde{\varvec{I}}_{j}\right) \varvec{A}^{T}\dot{\varvec{R}}\nonumber \\&\quad =-\tilde{\varvec{I}}_{j}\tilde{\bar{\varvec{\omega }}}\varvec{A}^{T}\dot{\varvec{R}}, \end{aligned}$$
(65)

where properties \(\widetilde{\left( \tilde{\varvec{a}}\varvec{b}\right) }=\tilde{\varvec{a}}\tilde{\varvec{b}}-\tilde{\varvec{b}}\tilde{\varvec{a}}\) and \(\varvec{A}^{T}\tilde{\varvec{a}}\varvec{A}=\widetilde{\left( \varvec{A}^{T}\varvec{a}\right) }\) (for arbitrary vectors \(\varvec{a}\) and \(\varvec{b}\)) are used. Notice that both sides of Eq. (61), that is Eqs. (62) and (65), are equal.

Next,

$$\begin{aligned} \left[ \frac{\partial }{\partial \varvec{p}}\left( \varvec{m}_{rt}\dot{\varvec{R}}\right) \right] \dot{\varvec{p}}=\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tf}\dot{\varvec{p}}\right) \right] ^{T}. \end{aligned}$$
(66)

The left-hand side of Eq. (66) is equal to:

$$\begin{aligned} \begin{aligned}\left[ \frac{\partial }{\partial \varvec{p}}\left( \varvec{m}_{rt}\dot{\varvec{R}}\right) \right] \dot{\varvec{p}}&=\left[ \frac{\partial }{\partial \varvec{p}}\left( \tilde{\varvec{I}}_{j}\varvec{A}^{T}\dot{\varvec{R}}\right) \right] \dot{\varvec{p}}\\&=-\left[ \frac{\partial }{\partial \varvec{p}}\left( \tilde{\bar{\dot{\varvec{R}}}}\varvec{I}_{j}\right) \right] \dot{\varvec{p}}\\&=-\tilde{\bar{\dot{\varvec{R}}}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}=\dot{\tilde{\varvec{I}}}_{j}\varvec{A}^{T}\dot{\varvec{R}}, \end{aligned} \end{aligned}$$
(67)

where the symbol \(\bar{\dot{\varvec{R}}}=\varvec{A}^{T}\dot{\varvec{R}}\) is introduced, and the equalities \(\partial \varvec{I}_{j}/\partial \varvec{p}=\varvec{\mathrm {I}}^{3}\) and \(\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}=\dot{\varvec{I}}_{j}\) are assumed. Next, the right-hand side is equal to:

$$\begin{aligned} \begin{aligned} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tf}\dot{\varvec{p}}\right) \right] ^{T}&=\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{R}}^{T}\varvec{A}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}\right) \right] ^{T}\\&=\left[ \dot{\varvec{R}}^{T}\frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \varvec{A}\dot{\varvec{I}}_{j}\right) \right] ^{T}\\&=\left[ \dot{\varvec{R}}^{T}\left( -\varvec{A}\dot{\tilde{\varvec{I}}}_{j}\right) \right] ^{T}=\dot{\tilde{\varvec{I}}}_{j}\varvec{A}^{T}\dot{\varvec{R}}, \end{aligned} \end{aligned}$$
(68)

where the equality \(\partial \left( \varvec{A}\varvec{v}\right) /\partial \bar{\varvec{\pi }}=-\varvec{A}\tilde{\varvec{v}}\) (for arbitrary vector \(\varvec{v}\)) is used. Both sides of the equation are equal.

Eventually, because Eq. (59) is valid, Eq. (58) simplifies into:

$$\begin{aligned} \varvec{Q}_{v,r}= & {} -\left( \dot{\varvec{m}}_{rr}\bar{\varvec{\omega }}+\dot{\varvec{m}}_{rf}\dot{\varvec{p}}\right) \nonumber \\&+\left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}+\bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\right) \right] ^{T}. \end{aligned}$$
(69)

Starting with the term \(\dot{\varvec{m}}_{rr}\bar{\varvec{\omega }}\), and using the definition of the purely rotational sub-matrix of the mass matrix given in Eq. (20) leads to:

$$\begin{aligned} \dot{\varvec{m}}_{rr}\bar{\varvec{\omega }}=\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}. \end{aligned}$$
(70)

The time derivative of the \(\varvec{I}_{rr}\) can be expressed as:

$$\begin{aligned} \dot{\varvec{I}}_{rr}=\varvec{\mathrm {I}}^{8}\dot{\bar{\varvec{p}}}+\bar{\varvec{p}}^{T}\hat{\varvec{\mathrm {I}}}^{9}\dot{\bar{\varvec{p}}}. \end{aligned}$$
(71)

Therefore,

$$\begin{aligned} \hat{\varvec{\mathrm {I}}}^{9}=\left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{9}+\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{9}+\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\right) \\ -\left( \left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{12}^{9}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{9}+\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \\ -\left( \left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{13}^{9}\right) &{} -\left( \left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{23}^{9}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9}\right) \end{array}\right] .\nonumber \\ \end{aligned}$$
(72)

Thus, matrix \(\dot{\varvec{I}}_{rr}\) is described with the shape integrals \(\varvec{\mathrm {I}}_{ij}^{8}\) and \(\varvec{\mathrm {I}}_{ij}^{9}\).

The second term in Eq. (69) is:

$$\begin{aligned} \dot{\varvec{m}}_{rf}\dot{\varvec{p}}=\dot{\varvec{I}}_{rf}\dot{\varvec{p}}, \end{aligned}$$
(73)

where \(\varvec{I}_{rf}\) is given by Eq. (40), and \(\dot{\varvec{I}}_{rf}\dot{\varvec{p}}=\dot{\bar{\varvec{p}}}^{T}\varvec{\mathrm {I}}^{5}\dot{\varvec{p}}=\dot{\bar{\varvec{I}}}^{5}\dot{\varvec{p}}=\varvec{0}\) as:

$$\begin{aligned}&\dot{\bar{\varvec{I}}}^{5}\dot{\varvec{p}}=\left[ \begin{array}{c} \dot{\varvec{p}}^{T}\left( \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \\ \dot{\varvec{p}}^{T}\left( {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\right) \\ \dot{\varvec{p}}^{T}\left( \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \end{array}\right] \dot{\varvec{p}}=\left[ \begin{array}{c} \dot{\varvec{p}}^{T}\left( \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \dot{\varvec{p}}\\ \dot{\varvec{p}}^{T}\left( {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\right) \dot{\varvec{p}}\\ \dot{\varvec{p}}^{T}\left( \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \dot{\varvec{p}} \end{array}\right] =\varvec{0}\nonumber \\ \end{aligned}$$
(74)

because for an arbitrary vector \(\varvec{a}\) and arbitrary square matrix \(\varvec{A}\) of proper sizes it can be shown that \(\varvec{a}^{T}\left( \varvec{A}\!-\!\varvec{A}^{T}\right) \varvec{a}=\varvec{a}^{T}\varvec{A}\varvec{a}-\varvec{a}^{T}\varvec{A}^{T}\varvec{a}=0\).

The next term is:

$$\begin{aligned} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}\right) \right] ^{T}= & {} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{I}_{rr}\bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\= & {} \left[ \bar{\varvec{\omega }}^{T}\varvec{I}_{rr}\frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\= & {} -\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}, \end{aligned}$$
(75)

where once again the symmetry of the matrix \(\varvec{I}_{rr}\) is assumed.

The last term of the \(\varvec{Q}_{v,r}\) is:

$$\begin{aligned} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\right) \right] ^{T}= & {} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \bar{\varvec{\omega }}^{T}\varvec{I}_{rf}\dot{\varvec{p}}\right) \right] ^{T}\nonumber \\= & {} \left[ \frac{\partial }{\partial \bar{\varvec{\pi }}}\left( \dot{\varvec{p}}^{T}\varvec{I}_{rf}^{T}\bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\= & {} \left( \dot{\varvec{p}}^{T}\varvec{I}_{rf}^{T}\frac{\partial \bar{\varvec{\omega }}}{\partial \bar{\varvec{\pi }}}\right) ^{T}\nonumber \\= & {} -\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rf}\dot{\varvec{p}}. \end{aligned}$$
(76)

Finally,

$$\begin{aligned} \varvec{Q}_{v,r}=-\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}-\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}-\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rf}\dot{\varvec{p}}. \end{aligned}$$
(77)

4.3 Flexible (elastic) component

Using Eqs. (48), (49) and (51), the flexible (elastic) component of the quadratic velocity vector can be written:

$$\begin{aligned} \varvec{Q}_{v,f}= & {} -\left( \dot{\varvec{m}}_{ft}\dot{\varvec{R}}+\dot{\varvec{m}}_{fr}\bar{\varvec{\omega }}\right) \nonumber \\&+\left[ \frac{\partial }{\partial \varvec{p}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}+\frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}\right. \right. \nonumber \\&+\left. \left. \bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\right) \right] ^{T}. \end{aligned}$$
(78)

It can be shown that:

$$\begin{aligned} \dot{\varvec{m}}_{ft}\dot{\varvec{R}}=\left[ \frac{\partial }{\partial \varvec{p}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}\right) \right] ^{T}. \end{aligned}$$
(79)

Starting from the left-hand side:

$$\begin{aligned} \dot{\varvec{m}}_{ft}\dot{\varvec{R}}\!=\!\frac{\mathrm {d}}{\mathrm {d}t}\left( \varvec{A} \varvec{\mathrm {I}}^{3}\right) ^{T}\dot{\varvec{R}}\!=\!\left. \varvec{\mathrm {I}}^{3}\right. ^{T}\dot{\varvec{A}}^{T}\dot{\varvec{R}}=\left. \varvec{\mathrm {I}}^{3}\right. ^{T}\tilde{\bar{\varvec{\omega }}}^{T}\varvec{A}^{T}\dot{\varvec{R}},\nonumber \\ \end{aligned}$$
(80)

which results from the equality \(\varvec{A}^{T}\dot{\varvec{A}}=\tilde{\bar{\varvec{\omega }}}\). On the right-hand side,

$$\begin{aligned}&\left[ \frac{\partial }{\partial \varvec{p}}\left( \dot{\varvec{R}}^{T}\varvec{m}_{tr}\bar{\varvec{\omega }}\right) \right] ^{T}=-\left[ \frac{\partial }{\partial \varvec{p}}\left( \dot{\varvec{R}}^{T}\varvec{A}\tilde{\varvec{I}}_{j}\bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\&\qquad =\left[ \frac{\partial }{\partial \varvec{p}}\left( \dot{\varvec{R}}^{T}\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}\right) \right] ^{T}\nonumber \\&\qquad =\left[ \frac{\partial }{\partial \varvec{p}}\left( \dot{\varvec{R}}^{T}\varvec{A}\tilde{\bar{\varvec{\omega }}}\left( \varvec{\mathrm {I}}^{2}+\varvec{\mathrm {I}}^{3}\varvec{p}\right) \right) \right] ^{T}\!=\!\left[ \dot{\varvec{R}}^{T}\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\right] ^{T}\nonumber \\&\qquad =\left. \varvec{\mathrm {I}}^{3}\right. ^{T}\tilde{\bar{\varvec{\omega }}}^{T}\varvec{A}^{T}\dot{\varvec{R}}. \end{aligned}$$
(81)

Therefore, both sides cancel to form a simplified quadratic velocity vector:

$$\begin{aligned} \varvec{Q}_{v,f}\!=\!-\!\dot{\varvec{m}}_{fr}\bar{\varvec{\omega }}\!+\! \left[ \frac{\partial }{\partial \varvec{p}}\left( \frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}+\bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\!\right) \!\right] ^{T}.\nonumber \\ \end{aligned}$$
(82)

The first of the remaining terms is:

$$\begin{aligned} \dot{\varvec{m}}_{fr}\bar{\varvec{\omega }}=\frac{\mathrm {d}}{\mathrm {d}t}\left( \varvec{I}_{rf}^{T}\right) \bar{\varvec{\omega }}=\dot{\varvec{I}}_{rf}^{T}\bar{\varvec{\omega }}=\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}. \end{aligned}$$
(83)

The first term in parenthesis is:

$$\begin{aligned}&\left[ \frac{\partial }{\partial \varvec{p}}\left( \frac{1}{2}\bar{\varvec{\omega }}^{T}\varvec{m}_{rr}\bar{\varvec{\omega }}\right) \right] ^{T}=\left[ \frac{1}{2}\bar{\varvec{\omega }}^{T}\frac{\partial }{\partial \varvec{p}}\left( \varvec{I}_{rr}\bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\&\qquad =\left[ \frac{1}{2}\bar{\varvec{\omega }}^{T}\frac{\partial }{\partial \varvec{p}}\left( \bar{\varvec{I}}^{8}\bar{\varvec{\omega }}+\bar{\varvec{I}}^{9}\bar{\varvec{\omega }}\right) \right] ^{T}\nonumber \\&\qquad =\left[ \frac{1}{2}\bar{\varvec{\omega }}^{T}\left( \varvec{\mathrm {I}}^{8}\hat{\bar{\varvec{\omega }}}+\bar{\varvec{p}}^{T}\hat{\varvec{\mathrm {I}}}^{9}\hat{\bar{\varvec{\omega }}}\right) \right] ^{T}\nonumber \\&\qquad =\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }}, \end{aligned}$$
(84)

where \(\varvec{\mathrm {I}}^{8}\) is defined in Eq. (32), \(\hat{\varvec{\mathrm {I}}}^{9}\) is given by Eq. (72) and:

$$\begin{aligned} \hat{\bar{\varvec{\omega }}}=\left[ \begin{array}{c} \bar{\omega }_{1}\varvec{\mathrm {I}}_{n\times n}\\ \bar{\omega }_{2}\varvec{\mathrm {I}}_{n\times n}\\ \bar{\omega }_{3}\varvec{\mathrm {I}}_{n\times n} \end{array}\right] , \end{aligned}$$
(85)

where \(\bar{\varvec{\omega }}^{T}=\left[ \begin{array}{ccc} \bar{\omega }_{1}&\bar{\omega }_{2}&\bar{\omega }_{3}\end{array}\right] \), \(\varvec{\mathrm {I}}_{n\times n}\) is an \(n\times n\) identity matrix, while n is the number of elastic coordinates.

The last term of the quadratic velocity vector is:

$$\begin{aligned} \left[ \frac{\partial }{\partial \varvec{p}}\left( \bar{\varvec{\omega }}^{T}\varvec{m}_{rf}\dot{\varvec{p}}\right) \right] ^{T}= & {} \left[ \frac{\partial }{\partial \varvec{p}}\left( \bar{\varvec{\omega }}^{T}\varvec{I}_{rf}\dot{\varvec{p}}\right) \right] ^{T}\nonumber \\= & {} \left[ \bar{\varvec{\omega }}^{T}\frac{\partial }{\partial \varvec{p}}\left( \varvec{\mathrm {I}}^{4}\dot{\varvec{p}}+\bar{\varvec{p}}^{T}\varvec{\mathrm {I}}^{5}\dot{\varvec{p}}\right) \right] ^{T}\nonumber \\= & {} -\left[ \bar{\varvec{\omega }}^{T}\frac{\partial }{\partial \varvec{p}}\left( \dot{\bar{\varvec{p}}}^{T}\varvec{\mathrm {I}}^{5}\varvec{p}\right) \right] ^{T}\nonumber \\= & {} -\left[ \bar{\varvec{\omega }}^{T}\dot{\bar{\varvec{p}}}^{T}\varvec{\mathrm {I}}^{5}\right] ^{T}\nonumber \\= & {} -\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}. \end{aligned}$$
(86)

Finally, an expression for the quadratic velocity vector for the elastic component is:

$$\begin{aligned} \varvec{Q}_{v,f}=-2\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}+\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }}. \end{aligned}$$
(87)

4.4 Quadratic velocity force vector

After deriving the expressions for the different components of the quadratic velocity vector, Eqs. (57), (77) and (87) can be inserted into Eq. (52) to get the complete quadratic velocity vector expression:

$$\begin{aligned} \varvec{Q}_{v}= & {} \left[ \begin{array}{c} \varvec{Q}_{v,t}\\ \varvec{Q}_{v,r}\\ \varvec{Q}_{v,f} \end{array}\right] \nonumber \\= & {} \left[ \begin{array}{c} -\varvec{A}\tilde{\bar{\varvec{\omega }}}\left( \tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}+2\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}\right) \\ -\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}-\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}-\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rf}\dot{\varvec{p}}\\ -2\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}+\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }} \end{array}\right] .\nonumber \\ \end{aligned}$$
(88)

The reader should be able to easily calculate the value of the quadratic velocity vector based on the inertia shape integrals provided in Sect. 4, which will result in an efficient force evaluation without having to recalculate any mass integrals.

5 Quadratic velocity vector: virtual work approach

Next, the quadratic velocity vector will be developed using the virtual work of the inertial forces:

$$\begin{aligned} \delta W_{i}\left( \varvec{q},\dot{\varvec{q}},\ddot{\varvec{q}}\right) =\int _{V}\rho \ddot{\varvec{r}}_{P}^{T}\delta \varvec{r}_{P}\mathrm {d}V. \end{aligned}$$
(89)

Based on Eq. (9), the acceleration vector can be expressed as:

$$\begin{aligned} \ddot{\varvec{r}}_{P}=\dot{\varvec{L}}\dot{\varvec{q}}+\varvec{L}\ddot{\varvec{q}}. \end{aligned}$$
(90)

Then, the virtual change of the position vector \(\delta {{\varvec{r}}_{P}}\) is:

$$\begin{aligned} \delta \varvec{r}_{P}=\varvec{L}\delta \varvec{q}, \end{aligned}$$
(91)

where virtual change of the system parameters can be written as:

$$\begin{aligned} \delta \varvec{q}=\left[ \begin{array}{c} \delta \varvec{R}\\ \delta \bar{\varvec{\pi }}\\ \delta \varvec{p} \end{array}\right] . \end{aligned}$$
(92)

Therefore, the virtual work can be expressed as:

$$\begin{aligned} \delta W_{i}= & {} \int _{V}\rho \left( \dot{\varvec{L}}\dot{\varvec{q}}+\varvec{L}\ddot{\varvec{q}}\right) ^{T}\varvec{L}\delta \varvec{q}\mathrm {d}V\nonumber \\= & {} \int _{V}\rho \left( \dot{\varvec{L}}\dot{\varvec{q}}\right) ^{T}\varvec{L}\delta \varvec{q}\mathrm {d}V+\int _{V}\rho \left( \varvec{L}\ddot{\varvec{q}}\right) ^{T}\varvec{L}\delta \varvec{q}\mathrm {d}V \nonumber \\= & {} -\int \varvec{Q}_{v}^{T}\delta \varvec{q}+\int \varvec{Q}_{i}^{T}\delta \varvec{q}, \end{aligned}$$
(93)

where \(\varvec{Q}_{i}\left( \varvec{q},\ddot{\varvec{q}}\right) \) is a vector of inertial forces given by:

$$\begin{aligned} \varvec{Q}_{i}=\int _{V}\rho \varvec{L}^{T}\varvec{L}\mathrm {d}V\ddot{\varvec{q}}=\varvec{M}\ddot{\varvec{q}}. \end{aligned}$$
(94)

The expression for the vector of inertial forces results in the definition used previously in Eq. (47). \(\varvec{Q}_{v}\left( \varvec{q},\dot{\varvec{q}}\right) \) is a vector of quadratic velocity forces, which can be further defined as:

$$\begin{aligned} \varvec{Q}_{v}=-\int _{V}\rho \varvec{L}^{T}\dot{\varvec{L}}\dot{\varvec{q}}\mathrm {d}V. \end{aligned}$$
(95)

The integrant of the quadratic velocity force, using Eq. (10), is:

$$\begin{aligned} \begin{aligned}\varvec{Q}_{v}^{i}&=-\varvec{L}^{T}\dot{\varvec{L}}\dot{\varvec{q}}=-\varvec{L}^{T}\left[ \begin{array}{ccc} \varvec{0}&\dot{\varvec{B}}&\dot{\varvec{A}}\varvec{S}\end{array}\right] \left[ \begin{array}{c} \dot{\varvec{R}}\\ \bar{\varvec{\omega }}\\ \dot{\varvec{p}} \end{array}\right] \\&=-\varvec{L}^{T}\left( \dot{\varvec{B}}\bar{\varvec{\omega }}+\dot{\varvec{A}}\varvec{S}\dot{\varvec{p}}\right) \\&=-\varvec{L}^{T}\left[ -\left( \dot{\varvec{A}}\tilde{\bar{\varvec{u}}}+\varvec{A}\dot{\tilde{\bar{\varvec{u}}}}\right) \bar{\varvec{\omega }}+\dot{\varvec{A}}\varvec{S}\dot{\varvec{p}}\right] , \end{aligned} \end{aligned}$$
(96)

based on equalities \(\dot{\varvec{A}}=\varvec{A}\tilde{\bar{\varvec{\omega }}}\) and \(\dot{\bar{\varvec{u}}}=\dot{\bar{\varvec{u}}}_{f}=\varvec{S}\dot{\varvec{p}}\):

$$\begin{aligned} \begin{aligned}\varvec{Q}_{v}^{i}&=-\varvec{L}^{T}\left( -\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}-\varvec{A}\dot{\tilde{\bar{\varvec{u}}}}\bar{\varvec{\omega }}+\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \\&=-\varvec{L}^{T}\left( \varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) . \end{aligned} \end{aligned}$$
(97)

Finally, the vector of the quadratic velocity forces is:

$$\begin{aligned} \varvec{Q}_{v}= & {} \left[ \begin{array}{c} \varvec{Q}_{v,t}\\ \varvec{Q}_{v,r}\\ \varvec{Q}_{v,f} \end{array}\right] \nonumber \\= & {} -\int _{V}\rho \left[ \begin{array}{c} \varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\\ \varvec{B}^{T}\left( \varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \\ \varvec{S}^{T}\varvec{A}^{T}\left( \varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \end{array}\right] \mathrm {d}V,\nonumber \\ \end{aligned}$$
(98)

where partitioning of the force vector into translational, rotational and elastic components, as in Eq. (52), is used.

In the following section, each component will be treated separately.

5.1 Translational component

The translational component can be written:

$$\begin{aligned} \begin{aligned} \varvec{Q}_{v,t}&=\int _{V}\rho \left( -\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}-2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \mathrm {d}V\\&=-\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\int _{V}\rho \bar{\varvec{u}}\mathrm {d}V-2\varvec{A}\tilde{\bar{\varvec{\omega }}}\int _{V}\rho \varvec{S}\mathrm {d}V\dot{\varvec{p}}. \end{aligned} \end{aligned}$$
(99)

By substituting Eqs. (16) and (18):

$$\begin{aligned} \varvec{Q}_{v,t}=-\varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}-2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}, \end{aligned}$$
(100)

which is the same equation as in Eq. (57).

5.2 Rotational component

The rotational component for the vector of quadratic velocity forces can be written as:

$$\begin{aligned} \varvec{Q}_{v,r}=-\int _{V}\rho \varvec{B}^{T}\left( \varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \mathrm {d}V \end{aligned}$$
(101)

or:

$$\begin{aligned} \varvec{Q}_{v,r}=-\int _{V}\rho \tilde{\bar{\varvec{u}}}\left( \tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \mathrm {d}V. \end{aligned}$$
(102)

Using the equalities \(\tilde{\varvec{a}}\varvec{a}=\varvec{0}\) and \(\tilde{\varvec{a}}\tilde{\varvec{b}}-\tilde{\varvec{b}}\tilde{\varvec{a}}=\widetilde{\left( \tilde{\varvec{a}}\varvec{b}\right) }\) or \(\tilde{\varvec{a}}\tilde{\varvec{b}}=\tilde{\varvec{b}}\tilde{\varvec{a}}+\widetilde{\left( \tilde{\varvec{a}}\varvec{b}\right) }\), this expression can be written as:

$$\begin{aligned} \tilde{\bar{\varvec{u}}}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}= & {} -\left[ \tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{u}}}+\widetilde{\left( \tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}\right) }\right] \tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}\nonumber \\= & {} \tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}-\widetilde{\left( \tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}\right) }\left( \tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}\right) =\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}. \end{aligned}$$
(103)

Therefore, the first term in Eq. (102) becomes:

$$\begin{aligned} -\int _{V}\rho \tilde{\bar{\varvec{u}}}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}\mathrm {d}V= & {} -\int _{V}\rho \tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\bar{\varvec{\omega }}\mathrm {d}V\nonumber \\= & {} -\tilde{\bar{\varvec{\omega }}}\int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\mathrm {d}V\bar{\varvec{\omega }} \end{aligned}$$
(104)

and, using Eq. (20):

$$\begin{aligned} -\tilde{\bar{\varvec{\omega }}}\int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\tilde{\bar{\varvec{u}}}\mathrm {d}V\bar{\varvec{\omega }}=-\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}. \end{aligned}$$
(105)

Then, the second term can be written as:

$$\begin{aligned} -2\int _{V}\rho \tilde{\bar{\varvec{u}}}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\mathrm {d}V=-2\int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\dot{\tilde{\bar{\varvec{u}}}}\mathrm {d}V\bar{\varvec{\omega }} \end{aligned}$$
(106)

and

$$\begin{aligned} \begin{aligned}\tilde{\bar{\varvec{u}}}^{T}\dot{\tilde{\bar{\varvec{u}}}}&=\left[ \begin{array}{ccc} 0 &{} \bar{u}_{3} &{} -\bar{u}_{2}\\ -\bar{u}_{3} &{} 0 &{} \bar{u}_{1}\\ \bar{u}_{2} &{} -\bar{u}_{1} &{} 0 \end{array}\right] \left[ \begin{array}{ccc} 0 &{} -\dot{\bar{u}}_{3} &{} \dot{\bar{u}}_{2}\\ \dot{\bar{u}}_{3} &{} 0 &{} -\dot{\bar{u}}_{1}\\ -\dot{\bar{u}}_{2} &{} \dot{\bar{u}}_{1} &{} 0 \end{array}\right] \\&=\left[ \begin{array}{ccc} \bar{u}_{3}\dot{\bar{u}}_{3}+\bar{u}_{2}\dot{\bar{u}}_{2} &{} -\bar{u}_{2}\dot{\bar{u}}_{1} &{} -\bar{u}_{3}\dot{\bar{u}}_{1}\\ -\bar{u}_{1}\dot{\bar{u}}_{2} &{} \bar{u}_{3}\dot{\bar{u}}_{3}+\bar{u}_{1}\dot{\bar{u}}_{1} &{} -\bar{u}_{3}\dot{\bar{u}}_{2}\\ -\bar{u}_{1}\dot{\bar{u}}_{3} &{} -\bar{u}_{2}\dot{\bar{u}}_{3} &{} \bar{u}_{2}\dot{\bar{u}}_{2}+\bar{u}_{1}\dot{\bar{u}}_{1} \end{array}\right] . \end{aligned} \end{aligned}$$
(107)

Assuming \(i=1,2,3\) and \(j=1,2,3\):

$$\begin{aligned} \bar{u}_{i}\dot{\bar{u}}_{j}=\left( \bar{u}_{0,i}+\varvec{S}_{i}\varvec{p}\right) \left( \varvec{S}_{j}\dot{\varvec{p}}\right) =\bar{u}_{0,i}\varvec{S}_{j}\dot{\varvec{p}}+\varvec{p}^{T}\varvec{S}_{i}^{T}\varvec{S}_{j}\dot{\varvec{p}}.\nonumber \\ \end{aligned}$$
(108)

Thus, by using Eqs. (27) and (28):

$$\begin{aligned} \int _{V}\rho \bar{u}_{i}\dot{\bar{u}}_{j}\mathrm {d}V=\varvec{\mathrm {I}}_{ij}^{8}\dot{\varvec{p}}+\varvec{p}^{T}\varvec{\mathrm {I}}_{ij}^{9}\dot{\varvec{p}} \end{aligned}$$
(109)

and

$$\begin{aligned}&\int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\dot{\tilde{\bar{\varvec{u}}}}\mathrm {d}V \nonumber \\&\quad =\left[ \begin{array}{ccc} \left( \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) \dot{\varvec{p}} &{} -\varvec{\mathrm {I}}_{21}^{8}\dot{\varvec{p}} &{} -\varvec{\mathrm {I}}_{31}^{8}\dot{\varvec{p}}\\ -\varvec{\mathrm {I}}_{12}^{8}\dot{\varvec{p}} &{} \left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) \dot{\varvec{p}} &{} -\varvec{\mathrm {I}}_{32}^{8}\dot{\varvec{p}}\\ -\varvec{\mathrm {I}}_{13}^{8}\dot{\varvec{p}} &{} -\varvec{\mathrm {I}}_{23}^{8}\dot{\varvec{p}} &{} \left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8}\right) \dot{\varvec{p}} \end{array}\right] \nonumber \\&\qquad +\left[ \begin{array}{ccc} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) \dot{\varvec{p}} &{} -\varvec{p}^{T}\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\dot{\varvec{p}} &{} -\varvec{p}^{T}\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\dot{\varvec{p}}\\ -\varvec{p}^{T}\varvec{\mathrm {I}}_{12}^{9}\dot{\varvec{p}} &{} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) \dot{\varvec{p}} &{} -\varvec{p}^{T}\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\dot{\varvec{p}}\\ -\varvec{p}^{T}\varvec{\mathrm {I}}_{13}^{9}\dot{\varvec{p}} &{} -\varvec{p}^{T}\varvec{\mathrm {I}}_{23}^{9}\dot{\varvec{p}} &{} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9}\right) \dot{\varvec{p}} \end{array}\right] \nonumber \\&\quad =\left[ \begin{array}{ccc} \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8} &{} -\varvec{\mathrm {I}}_{21}^{8} &{} -\varvec{\mathrm {I}}_{31}^{8}\\ -\varvec{\mathrm {I}}_{12}^{8} &{} \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8} &{} -\varvec{\mathrm {I}}_{32}^{8}\\ -\varvec{\mathrm {I}}_{13}^{8} &{} -\varvec{\mathrm {I}}_{23}^{8} &{} \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8} \end{array}\right] \dot{\bar{\varvec{p}}}\nonumber \\&\qquad +\bar{\varvec{p}}^{T}\left[ \begin{array}{ccc} \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T} &{} -\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\\ -\varvec{\mathrm {I}}_{12}^{9} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\\ -\varvec{\mathrm {I}}_{13}^{9} &{} -\varvec{\mathrm {I}}_{23}^{9} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9} \end{array}\right] \dot{\bar{\varvec{p}}}. \end{aligned}$$
(110)

Next, direct calculations reveal that:

$$\begin{aligned} \int _{V}\rho \tilde{\bar{\varvec{u}}}^{T}\dot{\tilde{\bar{\varvec{u}}}}\mathrm {d}V=\frac{1}{2}\dot{\varvec{I}}_{rr}-\frac{1}{2}\widetilde{\left( \varvec{I}_{rf}\dot{\varvec{p}}\right) }. \end{aligned}$$
(111)

Using Eqs. (40), (41) and (42), the expression \(\varvec{I}_{rf}\dot{\varvec{p}}\) can be expanded:

$$\begin{aligned} \varvec{I}_{rf}\dot{\varvec{p}}= & {} \varvec{\mathrm {I}}^{4}\dot{\varvec{p}}+\bar{\varvec{I}}^{5}\dot{\varvec{p}}=\left[ \begin{array}{c} \varvec{\mathrm {I}}_{23}^{8}-\varvec{\mathrm {I}}_{32}^{8}\\ \varvec{\mathrm {I}}_{31}^{8}-\varvec{\mathrm {I}}_{13}^{8}\\ \varvec{\mathrm {I}}_{12}^{8}-\varvec{\mathrm {I}}_{21}^{8} \end{array}\right] \dot{\varvec{p}}\nonumber \\&+\left[ \begin{array}{c} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \\ \varvec{p}^{T}\left( {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\right) \\ \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \end{array}\right] \dot{\varvec{p}}. \end{aligned}$$
(112)

So,

$$\begin{aligned}&\widetilde{\left( \varvec{I}_{rf}\dot{\varvec{p}}\right) } =\left[ \begin{array}{ccc} 0 &{} \left( \varvec{\mathrm {I}}_{21}^{8}-\varvec{\mathrm {I}}_{12}^{8}\right) \dot{\varvec{p}} &{} \left( \varvec{\mathrm {I}}_{31}^{8}-\varvec{\mathrm {I}}_{13}^{8}\right) \dot{\varvec{p}}\\ \left( \varvec{\mathrm {I}}_{12}^{8}-\varvec{\mathrm {I}}_{21}^{8}\right) \dot{\varvec{p}} &{} 0 &{} \left( \varvec{\mathrm {I}}_{32}^{8}-\varvec{\mathrm {I}}_{23}^{8}\right) \dot{\varvec{p}}\\ \left( \varvec{\mathrm {I}}_{13}^{8}-\varvec{\mathrm {I}}_{31}^{8}\right) \dot{\varvec{p}} &{} \left( \varvec{\mathrm {I}}_{23}^{8}-\varvec{\mathrm {I}}_{32}^{8}\right) \dot{\varvec{p}} &{} 0 \end{array}\right] \nonumber \\&\quad +\left[ \begin{array}{ccc} 0 &{} \varvec{p}^{T}\left( \left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}-\varvec{\mathrm {I}}_{12}^{9}\right) \dot{\varvec{p}} &{} \varvec{p}^{T}\left( {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\right) \dot{\varvec{p}}\\ \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \dot{\varvec{p}} &{} 0 &{} \varvec{p}^{T}\left( \left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}-\varvec{\mathrm {I}}_{23}^{9}\right) \dot{\varvec{p}}\\ \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{13}^{9}-{\varvec{\mathrm {I}}_{13}^{9}}^{T}\right) \dot{\varvec{p}} &{} \varvec{p}^{T}\left( \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \dot{\varvec{p}} &{} 0 \end{array}\right] . \nonumber \\ \end{aligned}$$
(113)

Now inserting Eqs. (71) and (113) into Eq. (111) using Eqs. (33) and (72):

$$\begin{aligned}&\frac{1}{2}\dot{\varvec{I}}_{rr}-\frac{1}{2}\widetilde{\left( \varvec{I}_{rf}\dot{\varvec{p}}\right) }=\frac{1}{2}\varvec{\mathrm {I}}^{8}\dot{\bar{\varvec{p}}}+\frac{1}{2}\bar{\varvec{p}}^{T}\hat{\varvec{\mathrm {I}}}^{9}\dot{\bar{\varvec{p}}}-\frac{1}{2}\widetilde{\left( \varvec{I}_{rf}\dot{\varvec{p}}\right) }\nonumber \\&\quad =\frac{1}{2}\left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8}\right) \end{array}\right] \dot{\bar{\varvec{p}}}\nonumber \\&\qquad -\frac{1}{2}\left[ \begin{array}{ccc} 0 &{} \varvec{\mathrm {I}}_{21}^{8}-\varvec{\mathrm {I}}_{12}^{8} &{} \varvec{\mathrm {I}}_{31}^{8}-\varvec{\mathrm {I}}_{13}^{8}\\ \varvec{\mathrm {I}}_{12}^{8}-\varvec{\mathrm {I}}_{21}^{8} &{} 0 &{} \varvec{\mathrm {I}}_{32}^{8}-\varvec{\mathrm {I}}_{23}^{8}\\ \varvec{\mathrm {I}}_{13}^{8}-\varvec{\mathrm {I}}_{31}^{8} &{} \varvec{\mathrm {I}}_{23}^{8}-\varvec{\mathrm {I}}_{32}^{8} &{} 0 \end{array}\right] \dot{\bar{\varvec{p}}}\nonumber \\&\qquad +\frac{1}{2}\bar{\varvec{p}}^{T}\left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{9}+\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{9}+\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\right) \\ -\left( \left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{12}^{9}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{9}+\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \\ -\left( \left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{13}^{9}\right) &{} -\left( \left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{23}^{9}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9}\right) \end{array}\right] \dot{\bar{\varvec{p}}}\nonumber \\&\qquad -\frac{1}{2}\bar{\varvec{p}}^{T}\left[ \begin{array}{ccc} 0 &{} \left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}-\varvec{\mathrm {I}}_{12}^{9} &{} {\varvec{\mathrm {I}}_{13}^{9}}^{T}-\varvec{\mathrm {I}}_{13}^{9}\\ \varvec{\mathrm {I}}_{12}^{9}-\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T} &{} 0 &{} \left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}-\varvec{\mathrm {I}}_{23}^{9}\\ \varvec{\mathrm {I}}_{13}^{9}-{\varvec{\mathrm {I}}_{13}^{9}}^{T} &{} \varvec{\mathrm {I}}_{23}^{9}-\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T} &{} 0 \end{array}\right] \dot{\bar{\varvec{p}}}\nonumber \\&\quad =\left[ \begin{array}{ccc} \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{ 33}^{8} &{} -\varvec{\mathrm {I}}_{21}^{8} &{} -\varvec{\mathrm {I}}_{31}^{8}\\ -\varvec{\mathrm {I}}_{12}^{8} &{} \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8} &{} -\varvec{\mathrm {I}}_{32}^{8}\\ -\varvec{\mathrm {I}}_{13}^{8} &{} -\varvec{\mathrm {I}}_{23}^{8} &{} \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8} \end{array}\right] \dot{\bar{\varvec{p}}}\nonumber \\&\qquad +\bar{\varvec{p}}^{T}\left[ \begin{array}{ccc} \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} \left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T} &{} -\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\\ -\varvec{\mathrm {I}}_{12}^{9} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9} &{} -\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\\ -\varvec{\mathrm {I}}_{13}^{9} &{} -\varvec{\mathrm {I}}_{23}^{9} &{} \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9} \end{array}\right] \dot{\bar{\varvec{p}}}, \end{aligned}$$
(114)

which shows that Eq. (111) is valid. Therefore, Eq. (102) can be written as:

$$\begin{aligned} \varvec{Q}_{v,r}= & {} -\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}-\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}+\widetilde{\left( \varvec{I}_{rf}\dot{\varvec{p}}\right) }\bar{\varvec{\omega }}\nonumber \\= & {} -\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}-\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}-\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rf}\dot{\varvec{p}}. \end{aligned}$$
(115)

Equation (115) has the same form as Eq. (77), which is obtained by the Lagrangian approach.

5.3 Flexible (elastic) component

The elastic component of \(\varvec{Q}_{v}\) can be determined as:

$$\begin{aligned} \varvec{Q}_{v,f}=-\int _{V}\rho \varvec{S}^{T}\varvec{A}^{T}\left( \varvec{A}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{A}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \mathrm {d}V \end{aligned}$$
(116)

or

$$\begin{aligned} \varvec{Q}_{v,f}=-\int _{V}\rho \left( \varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}+2\varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\right) \mathrm {d}V. \end{aligned}$$
(117)

In addition,

$$\begin{aligned} \begin{aligned} \varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}&=\left[ \begin{array}{ccc} \varvec{S}_{1}^{T}&\varvec{S}_{2}^{T}&\varvec{S}_{3}^{T}\end{array}\right] \\&\quad \left[ \begin{array}{ccc} -\bar{\omega }_{2}^{2}-\bar{\omega }_{3}^{2} &{} \bar{\omega }_{1}\bar{\omega }_{2} &{} \bar{\omega }_{1}\bar{\omega }_{3}\\ \bar{\omega }_{1}\bar{\omega }_{2} &{} -\bar{\omega }_{1}^{2}-\bar{\omega }_{3}^{2} &{} \bar{\omega }_{2}\bar{\omega }_{3}\\ \bar{\omega }_{1}\bar{\omega }_{3} &{} \bar{\omega }_{2}\bar{\omega }_{3} &{} -\bar{\omega }_{1}^{2}-\bar{\omega }_{2}^{2} \end{array}\right] \left[ \begin{array}{c} \bar{u}_{1}\\ \bar{u}_{2}\\ \bar{u}_{3} \end{array}\right] \\&=\left[ \begin{array}{ccc} \varvec{S}_{1}^{T}&\varvec{S}_{2}^{T}&\varvec{S}_{3}^{T}\end{array}\right] \\&\left[ \begin{array}{c} \bar{\omega }_{1}\bar{\omega }_{2}\bar{u}_{2}+\bar{\omega }_{1}\bar{\omega }_{3}\bar{u}_{3}-\bar{u}_{1}(\bar{\omega }_{2}^{2}+\bar{\omega }_{3}^{2})\\ \bar{\omega }_{1}\bar{\omega }_{2}\bar{u}_{1}+\bar{\omega }_{2}\bar{\omega }_{3}\bar{u}_{3}-\bar{u}_{2}(\bar{\omega }_{1}^{2}+\bar{\omega }_{3}^{2})\\ \bar{\omega }_{1}\bar{\omega }_{3}\bar{u}_{1}+\bar{\omega }_{2}\bar{\omega }_{3}\bar{u}_{2}-\bar{u}_{3}(\bar{\omega }_{1}^{2}+\bar{\omega }_{2}^{2}) \end{array}\right] \\&=\bar{\omega }_{1}\bar{\omega }_{2}\left( \varvec{S}_{1}^{T}\bar{u}_{2}+\varvec{S}_{2}^{T}\bar{u}_{1}\right) \\&\qquad +\bar{\omega }_{1}\bar{\omega }_{3}\left( \varvec{S}_{1}^{T}\bar{u}_{3}+\varvec{S}_{3}^{T}\bar{u}_{1}\right) \\&\qquad +\bar{\omega }_{2}\bar{\omega }_{3}\left( \varvec{S}_{2}^{T}\bar{u}_{3}+\varvec{S}_{2}^{T}\bar{u}_{1}\right) \\&\qquad -\varvec{S}_{1}^{T}\bar{u}_{1}\left( \bar{\omega }_{2}^{2}+\bar{\omega }_{3}^{2}\right) -\varvec{S}_{2}^{T}\bar{u}_{2}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{3}^{2}\right) \\&\qquad \quad -\varvec{S}_{3}^{T}\bar{u}_{3}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{2}^{2}\right) \end{aligned} \end{aligned}$$
(118)

and

$$\begin{aligned} \int _{V}\rho \varvec{S}_{i}^{T}\bar{u}_{j}\mathrm {d}V= & {} \int _{V}\rho \varvec{S}_{i}^{T}\left( \bar{u}_{0,j}+\varvec{S}_{j}\varvec{p}\right) \mathrm {d}V\nonumber \\= & {} \left. \varvec{\mathrm {I}}_{ji}^{8}\right. ^{T}+\left. \varvec{\mathrm {I}}_{ji}^{9}\right. ^{T}\varvec{p}. \end{aligned}$$
(119)

Therefore,

$$\begin{aligned}&\int _{V}\rho \varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}\mathrm {d}V=\bar{\omega }_{1}\bar{\omega }_{2}\left( \left. \varvec{\mathrm {I}}_{21}^{8}\right. ^{T}+\left. \varvec{\mathrm {I}}_{12}^{8}\right. ^{T}\right) \nonumber \\&\qquad +\bar{\omega }_{1}\bar{\omega }_{3}\left( \left. \varvec{\mathrm {I}}_{31}^{8}\right. ^{T}+\left. \varvec{\mathrm {I}}_{13}^{8}\right. ^{T}\right) +\bar{\omega }_{2}\bar{\omega }_{3}\left( \left. \varvec{\mathrm {I}}_{32}^{8}\right. ^{T}+\left. \varvec{\mathrm {I}}_{23}^{8}\right. ^{T}\right) \nonumber \\&\qquad -\left. \varvec{\mathrm {I}}_{11}^{8}\right. ^{T}\left( \bar{\omega }_{2}^{2}+\bar{\omega }_{3}^{2}\right) -\left. \varvec{\mathrm {I}}_{22}^{8}\right. ^{T}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{3}^{2}\right) \nonumber \\&\qquad -\left. \varvec{\mathrm {I}}_{33}^{8}\right. ^{T}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{2}^{2}\right) +\bar{\omega }_{1}\bar{\omega }_{2}\left. \left( \varvec{\mathrm {I}}_{21}^{9}\right. ^{T}+\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \varvec{p}\nonumber \\&\qquad +\bar{\omega }_{1}\bar{\omega }_{3}\left( \left. \varvec{\mathrm {I}}_{31}^{9}\right. ^{T}+\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\right) \varvec{p}\nonumber \\&\qquad +\bar{\omega }_{2}\bar{\omega }_{3}\left( \left. \varvec{\mathrm {I}}_{32}^{9}\right. ^{T}+\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \varvec{p}\nonumber \\&\qquad -\left. \varvec{\mathrm {I}}_{11}^{9}\right. ^{T}\varvec{p}\left( \bar{\omega }_{2}^{2}+\bar{\omega }_{3}^{2}\right) -\left. \varvec{\mathrm {I}}_{22}^{9}\right. ^{T}\varvec{p}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{3}^{2}\right) \nonumber \\&\qquad -\left. \varvec{\mathrm {I}}_{33}^{9}\right. ^{T}\varvec{p}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{2}^{2}\right) . \end{aligned}$$
(120)

On the other hand,

$$\begin{aligned}&\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }}\nonumber \\&\qquad =\frac{1}{2}\left[ \begin{array}{ccc} \bar{\omega }_{1}\varvec{\mathrm {I}}&\bar{\omega }_{2}\varvec{\mathrm {I}}&\bar{\omega }_{3}\varvec{\mathrm {I}}\end{array}\right] \nonumber \\&\quad \qquad \left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{33}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) \\ -\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{8}+\varvec{\mathrm {I}}_{22}^{8}\right) \end{array}\right] ^{T}\nonumber \\&\quad \qquad \left[ \begin{array}{c} \bar{\omega }_{1}\\ \bar{\omega }_{2}\\ \bar{\omega }_{3} \end{array}\right] +\frac{1}{2}\left[ \begin{array}{ccc} \bar{\omega }_{1}\varvec{\mathrm {I}}&\bar{\omega }_{2}\varvec{\mathrm {I}}&\bar{\omega }_{3}\varvec{\mathrm {I}}\end{array}\right] \nonumber \\&\quad \qquad \left[ \begin{array}{ccc} 2\left( \varvec{\mathrm {I}}_{22}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) &{} -\left( \varvec{\mathrm {I}}_{12}^{9}+\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) &{} -\left( \varvec{\mathrm {I}}_{13}^{9}+\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\right) \\ -\left( \left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{12}^{9}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{33}^{9}\right) &{} -\left( \varvec{\mathrm {I}}_{23}^{9}+\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \\ -\left( \left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{13}^{9}\right) &{} -\left( \left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}+\varvec{\mathrm {I}}_{23}^{9}\right) &{} 2\left( \varvec{\mathrm {I}}_{11}^{9}+\varvec{\mathrm {I}}_{22}^{9}\right) \end{array}\right] ^{T}\bar{\varvec{p}}\nonumber \\&\qquad \quad \left[ \begin{array}{c} \bar{\omega }_{1}\\ \bar{\omega }_{2}\\ \bar{\omega }_{3} \end{array}\right] \nonumber \\&\quad =\frac{1}{2}\left[ 2\left. \varvec{\mathrm {I}}_{22}^{8}\right. ^{T}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{3}^{2}\right) +2\left. \varvec{\mathrm {I}}_{33}^{8}\right. ^{T}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{2}^{2}\right) \right. \nonumber \\&\qquad \left. +2\left. \varvec{\mathrm {I}}_{11}^{8}\right. ^{T}\left( \bar{\omega }_{2}^{2}+\bar{\omega }_{3}^{2}\right) \right] \nonumber \\&\qquad -\frac{1}{2}\left[ 2\left( \varvec{\mathrm {I}}_{12}^{8}+\varvec{\mathrm {I}}_{21}^{8}\right) ^{T}\bar{\omega }_{1}\bar{\omega }_{2}+2\left( \varvec{\mathrm {I}}_{13}^{8}+\varvec{\mathrm {I}}_{31}^{8}\right) ^{T}\bar{\omega }_{1}\bar{\omega }_{3}\right. \nonumber \\&\qquad \left. +2\left( \varvec{\mathrm {I}}_{23}^{8}+\varvec{\mathrm {I}}_{32}^{8}\right) ^{T}\bar{\omega }_{2}\bar{\omega }_{3}\right] \nonumber \\&\qquad +\frac{1}{2}\left[ 2\left. \varvec{\mathrm {I}}_{22}^{9}\right. ^{T}\varvec{p}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{3}^{2}\right) +2\left. \varvec{\mathrm {I}}_{33}^{9}\right. ^{T}\varvec{p}\left( \bar{\omega }_{1}^{2}+\bar{\omega }_{2}^{2}\right) \right. \nonumber \\&\qquad \left. +2\left. \varvec{\mathrm {I}}_{11}^{9}\right. ^{T}\varvec{p}\left( \bar{\omega }_{2}^{2}+\bar{\omega }_{3}^{2}\right) \right] \nonumber \\&\qquad -\frac{1}{2}\left[ 2\left( \varvec{\mathrm {I}}_{12}^{9}+\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}\right) \varvec{p}\bar{\omega }_{1}\bar{\omega }_{2}+2\left( \varvec{\mathrm {I}}_{13}^{9}+\left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}\right) \varvec{p}\bar{\omega }_{1}\bar{\omega }_{3}\right. \nonumber \\&\qquad \left. +2\left( \varvec{\mathrm {I}}_{23}^{9}+\left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\right) \varvec{p}\bar{\omega }_{2}\bar{\omega }_{3}\right] . \end{aligned}$$
(121)

A direct comparison of the two above equations shows that:

$$\begin{aligned} \int _{V}\rho \varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\bar{\varvec{u}}\mathrm {d}V=-\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }}. \end{aligned}$$
(122)

The next term in the elastic component of the \(\varvec{Q}_{v}\) vector is:

$$\begin{aligned} -2\int _{V}\rho \varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\mathrm {d}V= & {} 2\int _{V}\rho \varvec{S}^{T}\dot{\tilde{\bar{\varvec{u}}}}_{f}\bar{\varvec{\omega }}\mathrm {d}V\nonumber \\= & {} -2\int _{V}\rho \varvec{S}^{T}\dot{\tilde{\bar{\varvec{u}}}}^{T}\mathrm {d}V\bar{\varvec{\omega }}, \end{aligned}$$
(123)

where the equality that \(\dot{\bar{\varvec{u}}}_{f}=\dot{\bar{\varvec{u }}}=\varvec{S}\dot{\varvec{p}}\) is used. This can be expressed as:

$$\begin{aligned}&\varvec{S}^{T}\dot{\tilde{\bar{\varvec{u}}}}^{T}=\left[ \begin{array}{ccc} \varvec{S}_{1}^{T}&\varvec{S}_{2}^{T}&\varvec{S}_{3}^{T}\end{array}\right] \left[ \begin{array}{ccc} 0 &{} \dot{\bar{u}}_{3} &{} -\dot{\bar{u}}_{2}\\ -\dot{\bar{u}}_{3} &{} 0 &{} \dot{\bar{u}}_{1}\\ \dot{\bar{u}}_{2} &{} -\dot{\bar{u}}_{1} &{} 0 \end{array}\right] \nonumber \\&\qquad =\left[ \begin{array}{ccc} \left( \varvec{S}_{3}^{T}\varvec{S}_{2}-\varvec{S}_{2}^{T}\varvec{S}_{3}\right) \dot{\varvec{p}}&\left( \varvec{S}_{1}^{T}\varvec{S}_{3}-\varvec{S}_{3}^{T}\varvec{S}_{1}\right) \dot{\varvec{p}}&\left( \varvec{S}_{2}^{T}\varvec{S}_{1}-\varvec{S}_{1}^{T}\varvec{S}_{2}\right) \dot{\varvec{p}}\end{array}\right] .\nonumber \\ \end{aligned}$$
(124)

Thus,

$$\begin{aligned}&\int _{V}\rho \varvec{S}^{T}\dot{\tilde{\bar{\varvec{u}}}}^{T}\mathrm {d}V\nonumber \\&\quad \!=\!\left[ \begin{array}{ccc} \left. \varvec{\mathrm {I}}_{23}^{9}\right. ^{T}\!-\! \varvec{\mathrm {I}}_{23}^{9}&\varvec{\mathrm {I}}_{13}^{9}\!-\! \left. \varvec{\mathrm {I}}_{13}^{9}\right. ^{T}&\left. \varvec{\mathrm {I}}_{12}^{9}\right. ^{T}-\varvec{\mathrm {I}}_{12}^{9}\end{array}\right] \dot{\bar{\varvec{p}}}=\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\nonumber \\&\quad =\left. \dot{\varvec{I}}_{rf}\right. ^{T}, \end{aligned}$$
(125)

then,

$$\begin{aligned} -2\int _{V}\rho \varvec{S}^{T}\tilde{\bar{\varvec{\omega }}}\varvec{S}\dot{\varvec{p}}\mathrm {d}V=-2\left. \dot{\varvec{I}}_{rf}\right. ^{T}\bar{\varvec{\omega }}=-2\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}.\nonumber \\ \end{aligned}$$
(126)

Finally, the vector of the elastic component of quadratic velocity forces derived from the principle of virtual work of the inertial forces is:

$$\begin{aligned} \varvec{Q}_{v,f}=\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }}-2\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}, \end{aligned}$$
(127)

which is equivalent to Eq. (87) obtained using a direct differentiation of the kinetic energy.

5.4 Quadratic velocity force vector

The translational, rotational and elastic components of the quadratic velocity force vector calculated based on the virtual work approach leads to expressions equivalent to those derived using the Lagrangian approach. Therefore, the final form of this force component is exactly the same as in Eq. (88).

6 Using orientation parameters

Utilization of the concepts of angular velocity and differential or virtual rotation vectors is convenient when developing a general form of the quadratic velocity vector such as in Eq. (88). However, specific coordinate types are used in many practical applications and implementations. Popular choices include Euler angles, Euler parameters, Rodriguez parameters, Cayley’s parameters, and others [2, 7]. To offer the option of selecting a specific coordinate type, the quadratic velocity vector must be expressed as a function of arbitrary rotation parameters \(\varvec{\theta }\left( t\right) \). The following paragraphs describe how angular velocity and virtual rotations can be transformed to produce a vector of rotational parameters and its time derivatives. The transformation is carried out by applying the technique of virtual work, which was introduced in Sect. 5.

According to Shabana [7], an angular velocity vector can be calculated as a function of the rotation parameters and derivative of the rotation parameters as:

$$\begin{aligned} \bar{\varvec{\omega }}=\bar{\varvec{G}}\left( \varvec{\theta }\right) \dot{\varvec{\theta }}, \end{aligned}$$
(128)

where \(\bar{\varvec{G}}\) is velocity transformation matrix that depends only on rotational coordinates. Analogously,

$$\begin{aligned} \delta \bar{\varvec{\pi }}=\bar{\varvec{G}}\delta \varvec{\theta }. \end{aligned}$$
(129)

The coordinates can be transformed from \(\varvec{q}\) to \(\hat{\varvec{q}}\):

$$\begin{aligned} \delta \varvec{q}=\left[ \begin{array}{ccc} \varvec{\mathrm {I}} &{} \varvec{0} &{} \varvec{0}\\ \varvec{0} &{} \bar{\varvec{G}} &{} \varvec{0}\\ \varvec{0} &{} \varvec{0} &{} \varvec{\mathrm {I}} \end{array}\right] \left[ \begin{array}{c} \delta \varvec{R}\\ \delta \varvec{\theta }\\ \delta \varvec{p} \end{array}\right] =\varvec{T}\delta \hat{\varvec{q}}. \end{aligned}$$
(130)

Using Eq. (93), the following equation can be written as:

$$\begin{aligned} \delta W_{i}=\int \varvec{Q}_{i}^{T}\varvec{T}\delta \hat{\varvec{q}}-\int \varvec{Q}_{v}^{T}\varvec{T}\delta \hat{\varvec{q}}. \end{aligned}$$
(131)

Therefore, the transformed inertial and quadratic velocity forces are:

$$\begin{aligned} \check{\varvec{Q}}_{i}=\varvec{T}^{T}\varvec{Q}_{i},\;\check{\varvec{Q}}_{v}=\varvec{T}^{T}\varvec{Q}_{v}. \end{aligned}$$
(132)

Because of the structure of the matrix \(\varvec{T}\left( \varvec{\theta }\right) \), only the rotational component of the forces must be transformed. So, multiplying the left side of Eq. (77) by \(\bar{\varvec{G}}^{T}\) yields the rotational component of the quadratic velocity forces after coordinate transformation:

$$\begin{aligned} \check{\varvec{Q}}_{v,r}=-\bar{\varvec{G}}^{T}\left( \tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}+\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}+\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rf}\dot{\varvec{p}}\right) . \end{aligned}$$
(133)

Next, the inertial forces must be transformed. The equations that correspond with rotations should be multiplied by \(\bar{\varvec{G}}^{T}\), as in the case of the quadratic velocity vector. However, one should note that the inertial forces, given for example by (47), explicitly depend on the acceleration vector \(\ddot{\varvec{q}}\). Therefore, those accelerations should be expressed as a function of the new rotational variables. Taking the time derivative of Eq. (128) gives:

$$\begin{aligned} \bar{\varvec{\alpha }}=\dot{\bar{\varvec{\omega }}}=\bar{\varvec{G}}\ddot{\varvec{\theta }}+\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}. \end{aligned}$$
(134)

Finally, the vector \(\check{\varvec{Q}}_{i}\) can be expressed as:

$$\begin{aligned} \check{\varvec{Q}}_{i}=\varvec{T}^{T}\varvec{M}\varvec{T}\ddot{\hat{\varvec{q}}}+\varvec{T}^{T}\varvec{M}\left[ \begin{array}{ccc} \varvec{0} &{} \varvec{0} &{} \varvec{0}\\ \varvec{0} &{} \dot{\bar{\varvec{G}}} &{} \varvec{0}\\ \varvec{0} &{} \varvec{0} &{} \varvec{0} \end{array}\right] \dot{\hat{\varvec{q}}}. \end{aligned}$$
(135)

The second part of the above expression is, in fact, a quadratic velocity term, which appears due to the differentiation of angular velocity, and it should be included in the definition of the quadratic velocity vector after the coordinate transformation.

One can easily verify that:

$$\begin{aligned} \varvec{T}^{T}\varvec{M}\left[ \begin{array}{ccc} \varvec{0} &{} \varvec{0} &{} \varvec{0}\\ \varvec{0} &{} \dot{\bar{\varvec{G}}} &{} \varvec{0}\\ \varvec{0} &{} \varvec{0} &{} \varvec{0} \end{array}\right] \dot{\hat{\varvec{q}}}= & {} \left[ \begin{array}{c} \varvec{m}_{tr}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}\\ \bar{\varvec{G}}^{T}\varvec{m}_{rr}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}\\ \varvec{m}_{fr}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }} \end{array}\right] \nonumber \\= & {} \left[ \begin{array}{c} -\varvec{A}\tilde{\varvec{I}}_{j}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}\\ \bar{\varvec{G}}^{T}\varvec{I}_{rr}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}\\ \varvec{I}_{rf}^{T}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }} \end{array}\right] . \end{aligned}$$
(136)

Therefore, the final expression of the quadratic velocity vector, which should be used for most rotational parameters, is:

$$\begin{aligned} \hat{\varvec{Q}}_{v}= & {} \left[ \begin{array}{c} \hat{\varvec{Q}}_{v,t}\\ \hat{\varvec{Q}}_{v,r}\\ \hat{\varvec{Q}}_{v,f} \end{array}\right] \nonumber \\= & {} \left[ \begin{array}{c} -\varvec{A}\left( \tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}+2\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}-\tilde{\varvec{I}}_{j}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}\right) \\ -\bar{\varvec{G}}^{T}\left( \tilde{\bar{\varvec{\omega }}}\varvec{I}_{rr}\bar{\varvec{\omega }}+\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}+\tilde{\bar{\varvec{\omega }}}\varvec{I}_{rf}\dot{\varvec{p}}+\varvec{I}_{rr}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}\right) \\ -2\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}+\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }}-\varvec{I}_{rf}^{T}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }} \end{array}\right] .\nonumber \\ \end{aligned}$$
(137)

Moreover, the value of the inertial forces can be written as follows:

$$\begin{aligned} \hat{\varvec{Q}}_{i}=\hat{\varvec{M}}\ddot{\hat{\varvec{q}}}, \end{aligned}$$
(138)

where \(\hat{\varvec{M}}=\varvec{T}^{T}\varvec{M}\varvec{T}\), so

$$\begin{aligned} \hat{\varvec{M}}=\left[ \begin{array}{ccc} \varvec{\mathrm {m}}_{tt} &{} \varvec{m}_{tr}\bar{\varvec{G}} &{} \varvec{m}_{tf}\\ &{} \bar{\varvec{G}}^{T}\varvec{m}_{rr}\bar{\varvec{G}} &{} \bar{\varvec{G}}^{T}\varvec{m}_{rf}\\ \text {sym} &{} &{} \varvec{\mathrm {m}}_{ff} \end{array}\right] . \end{aligned}$$
(139)

6.1 Quadratic velocity vector with Euler parameters

Assuming that the vector \(\varvec{\theta }\) is a set of the Euler parameters, the well-known equalities \(\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}=\varvec{0}\), \(\tilde{\bar{\varvec{\omega }}}=\frac{1}{2}\bar{\varvec{G}}\dot{\bar{\varvec{G}}}^{T}\) and \(\bar{\varvec{G}}^{T}\bar{\varvec{G}}=4\left( \varvec{\mathrm {I}}-\varvec{\theta }\varvec{\theta }^{T}\right) \) can be used. The term \(\bar{\varvec{G}}^{T}\tilde{\bar{\varvec{\omega }}}\) can be simplified as:

$$\begin{aligned} \bar{\varvec{G}}^{T}\tilde{\bar{\varvec{\omega }}}= & {} \frac{1}{2}\bar{\varvec{G}}^{T}\bar{\varvec{G}}\dot{\bar{\varvec{G}}}^{T}=2\left( \varvec{\mathrm {I}}-\varvec{\theta }\varvec{\theta }^{T}\right) \dot{\bar{\varvec{G}}}^{T}\nonumber \\= & {} 2\dot{\bar{\varvec{G}}}^{T}-2\varvec{\theta }\varvec{\theta }^{T}\dot{\bar{\varvec{G}}}^{T}. \end{aligned}$$
(140)

With the equality \(\varvec{\theta }^{T}\delta \varvec{\theta }=0\), the virtual work of the second part of the above equation can be shown to be equal to zero, i.e., \(2\dot{\bar{\varvec{G}}}^{T}\varvec{\theta }\varvec{\theta }^{T}\delta \varvec{\theta }=\varvec{0}\). Therefore, Eq. (137) can be written in the simplified form in terms of Euler parameters as:

$$\begin{aligned} \hat{\varvec{Q}}_{v}= & {} \left[ \begin{array}{c} \hat{\varvec{Q}}_{v,t}\\ \hat{\varvec{Q}}_{v,r}\\ \hat{\varvec{Q}}_{v,f} \end{array}\right] \nonumber \\= & {} \left[ \begin{array}{c} -\varvec{A}\left( \tilde{\bar{\varvec{\omega }}}\tilde{\bar{\varvec{\omega }}}\varvec{I}_{j}+2\tilde{\bar{\varvec{\omega }}}\varvec{\mathrm {I}}^{3}\dot{\varvec{p}}\right) \\ -2\dot{\bar{\varvec{G}}}^{T}\varvec{I}_{rr}\bar{\varvec{\omega }}-\bar{\varvec{G}}^{T}\dot{\varvec{I}}_{rr}\bar{\varvec{\omega }}-2\dot{\bar{\varvec{G}}}^{T}\varvec{I}_{rf}\dot{\varvec{p}}\\ -2\left. \varvec{\mathrm {I}}^{5}\right. ^{T}\dot{\bar{\varvec{p}}}\bar{\varvec{\omega }}+\frac{1}{2}\hat{\bar{\varvec{\omega }}}^{T}\left( \left. \varvec{\mathrm {I}}^{8}\right. ^{T}+\left. \hat{\varvec{\mathrm {I}}}^{9}\right. ^{T}\bar{\varvec{p}}\right) \bar{\varvec{\omega }} \end{array}\right] .\nonumber \\ \end{aligned}$$
(141)

6.2 Quadratic velocity vector with Euler angles

The literature does not offer many general derivations of Euler angles. Assuming that Euler angles describe consecutive rotations along the ZXZ axis, as is commonly done in the field of robotics, the current section vector of rotational parameters is:

$$\begin{aligned} \varvec{\theta }=\left[ \begin{array}{c} \phi \\ \theta \\ \psi \end{array}\right] , \end{aligned}$$
(142)

where \(\phi \), \(\theta \) and \(\psi \) are proper angles. In local coordinates, the angular velocity vector can be described with Eq. (128). For the Euler angles, the velocity transformation matrix is [7]:

$$\begin{aligned} \bar{\varvec{G}}=\left[ \begin{array}{ccc} \sin \psi \sin \theta &{} \cos \psi &{} 0\\ \cos \psi \sin \theta &{} -\sin \psi &{} 0\\ \cos \theta &{} 0 &{} 1 \end{array}\right] . \end{aligned}$$
(143)

If \(\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}=\varvec{0}\) and \(\bar{\varvec{G}}^{T}\tilde{\bar{\varvec{\omega }}}=2\dot{\bar{\varvec{G}}}^{T}\) or equivalently \(-\tilde{\bar{\varvec{\omega }}}\bar{\varvec{G}}=2\dot{\bar{\varvec{G}}}\) , then the simplifications made for the Euler parameters should also be applicable to the Euler angles. The direct calculation shows that:

$$\begin{aligned} \bar{\varvec{\omega }}=\bar{\varvec{G}}\dot{\varvec{\theta }}=\left[ \begin{array}{c} \dot{\phi }\sin \psi \sin \theta +\dot{\theta }\cos \psi \\ \dot{\phi }\cos \psi \sin \theta -\dot{\theta }\sin \psi \\ \dot{\phi }\cos \theta +\dot{\psi } \end{array}\right] . \end{aligned}$$
(144)

In addition, a direct differentiation with respect to time leads to:

$$\begin{aligned} \dot{\bar{\varvec{G}}}\!=\!\left[ \!\begin{array}{ccc} \dot{\psi }\cos \psi \sin \theta +\dot{\theta }\sin \psi \cos \theta &{} -\dot{\psi }\sin \psi &{} 0\\ -\dot{\psi }\sin \psi \sin \theta +\dot{\theta }\cos \psi \cos \theta &{} -\dot{\psi }\cos \psi &{} 0\\ -\dot{\theta }\sin \theta &{} 0 &{} 0 \end{array}\!\right] .\nonumber \\ \end{aligned}$$
(145)

Looking at the first term and Using the notations \(\text {s}\psi \) and \(\text {c}\psi \) to denote, respectively, sinus and co-sinus of the angle \(\psi \):

$$\begin{aligned} \begin{aligned}\dot{\bar{\varvec{G}}}\dot{\varvec{\theta }}&=\left[ \begin{array}{ccc} \dot{\psi }~\mathrm{c}\,\,\psi \mathrm{s}~\theta +\dot{\theta }~\mathrm{s}~\psi ~\mathrm{c}~\theta &{} -\dot{\psi }~\mathrm{s}~\psi &{} 0\\ -\dot{\psi }~\mathrm{s}~\psi ~\mathrm{s}~\theta +\dot{\theta }~\mathrm{c}~\psi ~\mathrm{c}~\theta &{} -\dot{\psi }~\mathrm{c}~\psi &{} 0\\ -\dot{\theta }\mathrm{s}\theta &{} 0 &{} 0 \end{array}\right] \\&\qquad \left[ \begin{array}{c} \dot{\phi }\\ \dot{\theta }\\ \dot{\psi } \end{array}\right] \\&=\left[ \begin{array}{c} \dot{\phi }\dot{\psi }~\mathrm{c}\psi ~\mathrm{s}\theta +\dot{\phi }\dot{\theta }~\mathrm{s}\psi ~\mathrm{c}\theta -\dot{\theta }\dot{\psi }~\mathrm{s}\psi \\ -\dot{\phi }\dot{\psi }~\mathrm{s}\psi ~\mathrm{s}\theta +\dot{\phi }\dot{\theta }~\mathrm{c}\psi ~\mathrm{c}\theta -\dot{\theta }\dot{\psi }~\mathrm{c}\psi \\ -\dot{\phi }\dot{\theta }~\mathrm{s}\theta \end{array}\right] . \end{aligned} \end{aligned}$$
(146)

And because the parameters \(\varvec{\theta }\) and the time derivatives \(\dot{\varvec{\theta }}\) are generally independent, the above equation cannot be reduced to the zero vector. In addition:

$$\begin{aligned}&\tilde{\bar{\varvec{\omega }}}\bar{\varvec{G}}=\left[ \begin{array}{ccc} 0 &{} -\dot{\phi }\text {c}\theta -\dot{\psi } &{} \dot{\phi }\text {c}\psi \text {s}\theta -\dot{\theta }\text {s}\psi \\ \dot{\phi }\text {c}\theta +\dot{\psi } &{} 0 &{} -\dot{\phi }\text {s}\psi \text {s}\theta -\dot{\theta }\text {c}\psi \\ -\dot{\phi }\text {c}\psi \text {s}\theta +\dot{\theta }\text {s}\psi &{} \dot{\phi }\text {s}\psi \text {s}\theta +\dot{\theta }\text {c}\psi &{} 0 \end{array}\right] \nonumber \\&\qquad \qquad \left[ \begin{array}{ccc} \text {s}\psi \text {s}\theta &{} \text {c}\psi &{} 0\\ \text {c}\psi \text {s}\theta &{} -\text {s}\psi &{} 0\\ \text {c}\theta &{} 0 &{} 1 \end{array}\right] \nonumber \\&\quad =\left[ \begin{array}{ccc} -\dot{\psi }\text {c}\psi \text {s}\theta -\dot{\theta }\text {s}\psi \text {c}\theta &{} \dot{\phi }\text {c}\theta \text {s}\psi +\dot{\psi }\text {s}\psi &{} \dot{\phi }\text {c}\psi \text {s}\theta -\dot{\theta }\text {s}\psi \\ \dot{\psi }\text {s}\psi \text {s}\theta -\dot{\theta }\text {c}\psi \text {c}\theta &{} \dot{\phi }\text {c}\theta \text {c}\psi +\dot{\psi }\text {c}\psi &{} -\dot{\phi }\text {s}\psi \text {s}\theta -\dot{\theta }\text {c}\psi \\ \dot{\theta }\text {s}\theta &{} -\dot{\phi }\text {s}\theta &{} 0 \end{array}\right] \nonumber \\&\quad =\left[ \begin{array}{ccc} 0 &{} \dot{\phi }\text {c}\theta \text {s}\psi &{} \dot{\phi }\text {c}\psi \text {s}\theta -\dot{\theta }\text {s}\psi \\ 0 &{} \dot{\phi }\text {c}\theta \text {c}\psi &{} -\dot{\phi }\text {s}\psi \text {s}\theta -\dot{\theta }\text {c}\psi \\ 0 &{} -\dot{\phi }\text {s}\theta &{} 0 \end{array}\right] -\dot{\bar{\varvec{G}}}. \end{aligned}$$
(147)

Therefore, \(\dot{\bar{\varvec{G}}}\) is a part of \(\tilde{\bar{\varvec{\omega }}}\bar{\varvec{G}}\), but the first term on the right-hand side of the above equation is not equal to \(-\dot{\bar{\varvec{G}}}\), so it cannot be generally stated that \(\bar{\varvec{G}}^{T}\tilde{\bar{\varvec{\omega }}}\) is equal to \(2\dot{\bar{\varvec{G}}}^{T}\). When the Euler angles are used as a rotational parameters, Eq. (137) must be used directly without any further assumptions to obtain the correct value of the quadratic velocity vector. It is worth pointing out that for most choices of the rotational parameters Eq. (137) should be used for the velocity-dependent inertia forces and Eq. (141) is proven only for the Euler parameters.

7 Conclusions

FFRF is a well-known method in dynamic modeling of flexible bodies within a multibody framework. Yet, essential elements of its implementation, such as the representation of inertia or Coriolis, centrifugal and gyroscopic forces that result when kinetic energy is differentiated, are usually not described in sufficient detail. As a result, complex and error-prone derivations are often required, for example as in [7] and [8]. Moreover, most of the derivations presented in the literature are specific to a unique set of rotational coordinates and might not meet the requirements of a particular analysis. Equations derived for the Euler parameters can be especially misleading, because the Euler parameter identities often result in modified and simplified versions of force expressions that cannot be used for other rotational parameter choices.

The current paper presents detailed derivations of the inertia and quadratic velocity force vectors within the FFRF. All force terms are presented as a function of inertia shape integrals to avoid costly integral updates at each time integration point. In addition, no specific assumptions are made for the choice of rotational parameters. Instead, the concepts of angular velocity and virtual or differential rotational vectors are applied. As a consequence, the presented expressions are well suited for direct implementation for any set of coordinates. In addition, the use of the angular velocity concept greatly simplifies the derivation of the force components.

In the description of inertial forces, the main challenge is often associated with the derivation of the quadratic velocity terms, especially the rotational component. Therefore, in this paper those forces are derived using two approaches—the Lagrangian approach and the virtual work principle. The final expressions perfectly agree for both attempts.

In an FFRF implementation, the choice of rotational parameters is often challenging. While this paper does not discuss how to make the choice, general transformation to an arbitrary set of rotational parameters is discussed in detail. In addition, two common choices are considered: using Euler parameters or using Euler angles. The simplifications made when using Euler parameters are described. When using Euler angles, the simplifications are not general, and in the most cases, generic force expressions must be applied.