Variational integrator¶
Continuous setting¶
In this work, the electromechanically coupled beam dynamics is approximated within the constrained discrete variational scheme with the null space projection. The Lagrange-d’Alembert principle can be extended to constrained systems by enforcing the constraints via Lagrange multipliers as
where \(\mathbf{q}\) is the configuration, \(L( \mathbf{q}, \dot{\mathbf{q}})\) is the Lagrangian, \(\mathbf{g}\) represents holonomic constraints, \(\boldsymbol\lambda\) is the Lagrangian multiplier and \(\mathbf{f}^{\rm ext}(t)\) is the external force. By considering the electrical effect in geometrically exact beam, the electric potential \(\phi_o\) and the incremental variables \((\alpha, \beta )\) are treated as the electrical degrees of freedom \(\boldsymbol\phi=\begin{bmatrix} \phi_o& \alpha& \beta \end{bmatrix}\) such that the configuration of the beam model is extended to
According to the kinematic assumptions in geometrically exact beams, the directors have to fulfill the orthogonal constraints
The continuous Lagrangian contains the difference between the kinetic energy \(T(\dot{\mathbf{q}})\) and the internal potential energy \(V(\mathbf{q})\)
Since the electrical variables do not contribute to the kinetic energy, the kinetic energy for geometrically exact beams is computed as
where \(A_{\rho}\) is the mass density per reference arc-length and \(M^i_{\rho}\) are the principle mass moments of inertia of cross section. In accordance with the configuration for beam, the component of the consistent mass matrix corresponding to the electrical degree of freedom \(\boldsymbol\phi\) will be zero.
For the coupled hyperelastic material in DEA, the internal potential energy is computed by an integration of the beam strain energy density \(\Omega_b\) over the beam center line
The external force \(\mathbf{f}^{\rm ext}\) contains all non-conservative forces, such as the viscoelastic effect in this work. Based on the Kelvin-Voigt model, the non-conservative work contributed by the viscoelastic effect is given by
where the work is computed from the two conjugate quantities being the first Piola-Kirchhoff stress \(\mathbf{P}^{\rm vis}\) from the Kelvin-Voigt model and the deformation gradient \(\mathbf{F}\). In this case, the external force corresponding to the viscoelastic effect can be formulated as
Discrete Euler-Lagrange equations¶
The beam is first spatially discretized with the 1D finite elements, where one-dimensional Lagrange-type linear shape functions are applied in the discretization of beam configuration \(\mathbf{q}\). In this case, the beam directors are directly discretized in space together with the beam centroids. Then the variational integration scheme is applied to temporally discretize the action of the dynamic system, by which the good long term energy behavior can be obtained. In the variational integration scheme, the action integral within the time interval \((t_n,t_{n+1})\) is approximated with the discrete Lagrangian \(L_d\) as
where the discrete Lagrangian \(L_d\) is computed by applying the finite difference approximation to the velocity \(\dot{\mathbf{q}}\) and the midpoint rule to the configuration \(\mathbf{q}\), i.e.
After the temporal discretization, the discrete Euler-Lagrange equations can be obtained by taking the variation of the discrete action and requiring stationarity. To eliminate the constraint forces \(\boldsymbol\lambda\) from the system, the nodal reparametrization \(\mathbf{q}_{n+1} = \mathbf{F}_d (\mathbf{u}_{n+1}, \mathbf{q}_{n})\) and the discrete null space matrix \(\mathbf{P}_d\) are applied to the discrete Euler-Lagrange equations leading to
where \(\mathbf{u}_{n+1}\) is the generalized configuration acting as the unknown variable, \(\mathbf{f}_n^{\rm ext-}\) and \(\mathbf{f}_{n-1}^{\rm ext+}\) are the discrete generalized external forces evaluated as
The internal null space matrix at time \(t_n\) is written as
where \(\hat{\mathbf{d}}_{i,n}\) denotes the skew-symmetric matrix corresponding to the director vector \(\mathbf{d}_{i,n}\) at \(t_n\) and \(\mathbf{I}\) is the 3 by 3 identity matrix. For a multibody dynamic system composed of flexible beam actuators, rigid bodies, joints and constraints, the null space matrix can be designed by considering the electric potential as extra degree of freedom as well.
To solve the discrete Euler-Lagrange equations efficiently, the system can be reduced further into the minimal possible dimensions by use of the nodal reparametrization. The generalized configuration of the electromechanically coupled beam is specified by
with \(\mathbf{u}_\varphi, \boldsymbol\theta and \mathbf{v}\) characterizing the incremental displacement, the incremental rotation and the incremental electric potential, respectively. In this case, the nodal configuration for the next time step can be updated as
By means of the nodal reparametrization, the unknowns of the discrete Euler-Lagrange equation are changed from \(\mathbf{q}_{n+1}\) to the generalized variables \(\mathbf{u}_{n+1}\). The nonlinear equation system is solved by use of the Newton-Rapson algorithm with the tangent matrix at iteration \(i\)
in which \(\mathbf{R}^L(\mathbf{q}_{n+1})\) is the residual of the discrete Euler-Lagrange equation.