Elasticity¶
Linear¶
In this section we present the governing equations of elasticity in small and large deformation. In small strain (linear elasticity), the boundary-value problem (Strong form) for constitutive equation (52) may be stated as follows: Given body force \(\rho \bm g\), Dirichlet boundary \(\bar{\bm u}\) and applied traction \(\bar{\bm t}\), find the displacement variable \(\bm u \in \mathcal{V}\) (here \(\mathcal{V} = H^1(\Omega)\) ), such that:
with \(\bm n\) be the unit normal on the boundary and its weak formulation as:
Hyperelasticity, initial configuration¶
In the total Lagrangian approach for the Neo-Hookean hyperelasticity problem, the discrete equations are formulated with respect to the initial configuration. In this formulation, we solve for displacement \(\bm{u} \left( \bm{X} \right)\) in the initial frame \(\bm{X}\). The notation for elasticity at finite strain is inspired by [Hol00] to distinguish between the current and initial configurations. As explained in the Continuum Mechanics section, we denote by capital letters the initial frame and by small letters the current one.
We can state the hyperelastic strong form as follow: Given body force \(\rho_0 \bm g\), Dirichlet boundary \(\bar{\bm u}\) and applied traction \(\bar{\bm t}\), find the displacement variable \(\bm u \in \mathcal{V}\) such that:
and its weak formulation as:
where \((.)_0\) indicates the initial configuration, \(\bm P = \bm F \bm S\) is the first Piola-Kirchhoff stress tensor (see (19) and (21)), \(\bm N\) is the unit normal vector, and \(_X\) in \(\nabla_X\) indicates that the gradient is calculated with respect to the initial configuration. This equation contains material/constitutive nonlinearities in defining \(\bm{S}(\bm{E})\), as well as geometric nonlinearities through \(\bm{P} = \bm{F}\, \bm{S}\), \(\bm{E}(\bm{F})\), and the body force \(\bm{g}\), which must be pulled back from the current configuration to the initial configuration.
Note
Linear elasticity and small-strain hyperelasticity can both by obtained from the finite-strain hyperelastic formulation by linearization of geometric and constitutive nonlinearities. The effect of these linearizations is sketched in the diagram below, where \(\bm{\sigma}\) and \(\bm{\varepsilon}\) are stress and strain, respectively, in the small strain regime, while \(\bm{S}\) and \(\bm{E}\) are their finite-strain generalizations (second Piola-Kirchoff tensor and Green-Lagrange strain tensor, respectively) defined in the initial configuration, and \(\mathsf{C}\) is a linearized constitutive model.
Newton linearization¶
Discretization of (108) produces a finite-dimensional system of nonlinear algebraic equations, which we solve using Newton-Raphson methods. One attractive feature of Galerkin discretization is that we can arrive at the same linear system by discretizing the Newton linearization of the continuous form; that is, discretization and differentiation (Newton linearization) commute. In general for solving a nonlinear equation \(R(\bm u) = 0\), we use the first-order (Taylor’s) expansion
where \(\diff\) and \(\diff \bm u\) denote the linearization operator and the increment of the displacement field \(\bm u\). The reminder \(o(\diff \bm u)\) is a small error that tends to zero faster than \(\diff \bm u \to 0\). The second term \(\diff R\) is the linear change in \(R\) due to \(\diff \bm u\) at \(\bm u\). In fact, it is the directional derivative of \(R\) at a given \(\bm u\) (fixed) in the direction of the incremental displacement field.
The linearized form of (108) (assume constant traction and body force) may be stated as: Find \(\diff \bm u \in \mathcal{V}\) such that
where
and the linearization of deformation gradient and Green-Lagrange strain tensors are
The linearization of the second Piola-Kirchhoff stress tensor, \(\diff \bm{S}\), depends upon the material model and derived for different materials in the following.
Deriving \(\diff\bm{S}\) for Neo-Hookean material
For the Neo-Hookean model (61),
where
and for \(V(J) = \frac{1}{4} \left( J^2 - 1 - 2 \log J \right)\) given in strain energy (60), the derivatives are
The quantity \({\partial \bm{S}} / {\partial \bm{E}}\) is known as the incremental elasticity tensor, and is analogous to the linear elasticity tensor \(\mathsf C\).
\(\diff \bm{S}\) in index notation
It is sometimes useful to express (113) in index notation,
where we have identified the effective elasticity tensor \(\mathsf C = \mathsf C_{IJKL}\). It is generally not desirable to store \(\mathsf C\), but rather to use the earlier expressions so that only \(3 \times 3\) tensors (most of which are symmetric) must be manipulated. That is, given the linearization point \(\bm F\) and solution increment \(\diff \bm F = \nabla_X (\diff \bm u)\) (which we are solving for in the Newton step), we compute \(\diff \bm P\) via
recover \(\bm C^{-1}\) and \(J-1\) (either stored at quadrature points or recomputed),
proceed with \(3\times 3\) matrix products as in (113) or the second line of (114) to compute \(\diff \bm S\) while avoiding computation or storage of higher order tensors, and
conclude by (111), where \(\bm S\) is either stored or recomputed from its definition exactly as in the nonlinear residual evaluation.
Deriving \(\diff\bm{S}\) for Mooney-Rivlin material
Similar to the linearization of the constitutive relationship for Neo-Hookean materials (113), we differentiate (79) using variational notation,
Note that this agrees with the linearization of the Neo-Hookean constitutive relationship {eq}eq-neo-hookean-incremental-stress if \(\mu_1 = \mu, \mu_2 = 0\). Moving from Neo-Hookean to Mooney-Rivlin modifies the second term and adds the third.
Cancellation vs symmetry
Some cancellation is possible (at the expense of symmetry) if we substitute (113) into (111),
where we have exploited \(\bm F \bm C^{-1} = \bm F^{-T}\) and
We prefer to compute with (113) because (116) is more expensive, requiring access to (non-symmetric) \(\bm F^{-1}\) in addition to (symmetric) \(\bm C^{-1} = \bm F^{-1} \bm F^{-T}\), having fewer symmetries to exploit in contractions, and being less numerically stable.
Hyperelasticity, current configuration¶
In the preceding discussion, all equations have been formulated in the initial configuration. This may feel convenient in that the computational domain is clearly independent of the solution, but there are some advantages to defining the equations in the current configuration.
Body forces (such as gravity), traction, and contact are more easily defined in the current configuration.
Mesh quality in the initial configuration can be very bad for large deformation.
The required storage and numerical representation can be smaller in the current configuration.
Most of the benefit in case 3 can be attained solely by moving the Jacobian representation to the current configuration [DPA+20], though residual evaluation may also be slightly faster in current configuration. There are multiple commuting paths from the nonlinear weak form in initial configuration (108) to the Jacobian weak form in current configuration (121). One may push forward to the current configuration and then linearize or linearize in initial configuration and then push forward, as summarized below.
We will follow both paths for consistency and because both intermediate representations may be useful for implementation.
Push forward, then linearize¶
The first term of (108) can be rewritten in terms of the symmetric Kirchhoff stress tensor \(\bm{\tau} = J \bm{\sigma} = \bm{P} \bm{F}^T = \bm{F} \bm{S} \bm{F}^T\) as
therefore, the weak form in terms of \(\bm{\tau}\) and \(\nabla_x\) with integral over \(\Omega_0\) is
Linearize in current configuration¶
To derive a Newton linearization of (118), first we define
Then by expanding the directional derivative of \(\nabla_x \bm{v} \tcolon \bm{\tau}\), we arrive at
The first term of (120) can be written as
where we have used \(\diff \bm{F}^{-1}=-\bm{F}^{-1} \diff \bm{F} \bm{F}^{-1}\) and (119). Using this and (120) in (118) yields the Jacobian form in the current configuration: find \(\diff \bm{u} \in \mathcal{V}\) such that
Deriving \(\diff\bm\tau\) for Neo-Hookean material
To derive a useful expression of \(\diff\bm\tau\) for Neo-Hookean materials, we will use the representations
where
and
Substituting into (67) gives
where the final expression has been identified according to
Collecting terms, we may thus opt to use either of the two forms
with the last line showing the especially compact representation available for Neo-Hookean materials.
Deriving \(\diff\bm\tau\) for Mooney-Rivlin material
To derive a useful expression of \(\diff\bm\tau\) for Mooney-Rivlin materials, we will use the representations of \(\diff \bm{b}, \diff (J^2 -1)\) as derived in previous section and
Substituting into (81) gives
where the final expression has been identified according to
Collecting terms, we may thus opt to use either of the two forms
with the last line showing the especially compact representation available for Mooney-Rivlin materials.
Linearize, then push forward¶
We can move the derivatives to the current configuration via
and expand
Representation of \(\bm F \diff\bm S \bm F^T\) for Neo-Hookean materials
Now we push (113) forward via
where we have used
and
Collecting terms, the weak form of the Newton linearization for Neo-Hookean materials in the current configuration is
which equivalent to Algorithm 2 of [DPA+20] and requires only derivatives with respect to the current configuration. Note that (125) and (132) have recovered the same representation using different algebraic manipulations.
Representation of \(\bm F \diff\bm S \bm F^T\) for Mooney-Rivlin materials
We push forward \(\diff\bm S\) (115) which yields to
where we have used
and
Collecting terms, we arrive at
Note that (127) and (135) have recovered the same representation using different algebraic manipulations.
Pressure boundary condition¶
One of the important load case is the pressure boundary loading which is caused by liquids or gases on the surface of the solid structure. The pressure boundary load depends upon the current state of the deformation and can be considered as a traction vector \(\bar{\bm{t}} = \bm{\sigma} \cdot {\bm{n}} = -p{\bm{n}}\) per unit current surface, acting in the direction of the outward unit normal \({\bm{n}}\). Therefore, the following surface integral will be add to the weak form (108), or (118)
where the normal on current surface is computed by
in which \( \xi_1, \xi_2 \in [-1,1]^2 \) are reference coordinate system on the face. If we write the surface area in terms of reference coordinate as \(da = \lvert \frac{\partial \bm{x}}{\partial \xi_1} \times \frac{\partial \bm{x}}{\partial \xi_2} \rvert d\xi_1 d\xi_2\), the pressure load (136) can be simplified to
To achieve second order convergence in our Newton solver, we will need the linearization of (138) which for the constant pressure is given by
Matrix-free implementation¶
Ratel solves the momentum balance equations using unstructured high-order finite/spectral element spatial discretizations by matrix-free approach. We present here the notation and mathematical formulation of matrix-free method for a general Dirichlet problem \(\bm{R}(\bm{u}) = 0\): find \(\bm{u} \in \mathcal{V} \subset H^1 \left( \Omega_0 \right)\) such that
where the operators \(\bm{f}_0\) and \(\bm{f}_1\) contain all possible sources in the problem. In order to solve (140) with Newton-Krylov iterative solvers we need its Jacobian form: find \(\diff \bm{u} \in \mathcal{V} \subset H^1 \left( \Omega_0 \right)\) such that
where the linearization of operators \(\bm{f}_0\) and \(\bm{f}_1\) are
It should be noted that the gradient in the (140), (141) depends on the configuration system and it could be with respect to initial configuration \(\bm{X}\) i.e., \(\nabla_X \bm{v}\) (Lagrangian approach) or current configuration \(\bm{x}\) i.e., \(\nabla_x \bm{v}\) (Eulerian approach).
Compare with governing equations derived in pervious sections for linear and large deformation, it is easy to verify that
For linear elasticity described in (106) we have
where the linearization satisfies \(\diff\bm f_{1}(\diff\bm u) = \bm f_1(\diff \bm u)\) due to linearity.
Static and Quasistatic¶
The above formulation solves the steady-state equations but with updates to the time parameter in the boundary conditions. Ratel also offers a static solve option via a PETSc SNES solve; this is covered in the static elasticity example. The quasistatic example uses the PETSc Timestepper (TS) object to manage pseudo-timestepping.
Large deformation solid mechanics exhibits both geometric and material nonlinearities, leading to path dependence by which there are be multiple static solutions for a specified set of boundary conditions. To disambiguate the multiple solutions, we solve the hyperelastic problem as a non-autonomous differential algebraic equation of index 1, with boundary conditions/loading a function of time \(t \in [0, 1]\). The current quasistatic example uses applied load (rather than displacement) and use backward Euler from PETSc’s TS with extrapolation-based hot starts disabled for simplicity.
Each pseudo time step requires a nonlinear solve, which is implemented using PETSc’s Scalable Nonlinear Equations Solver (SNES). By default, Ratel uses Newton-CG in which a multigrid V-cycle is used as a preconditioner for conjugate gradients. Additionally, we use a “critical point” line search, which supposes that the residual is the functional gradient of a latent objective function, \(\bm F(\bm u) = \nabla_{\bm u}\Psi(\bm u)\) and uses one step of a secant method to find \(\alpha\) for which \(F(\bm u + \alpha \delta \bm u)^{T} \delta \bm u = 0\) where \(\delta \bm u\) is the search direction found by Newton. This line search is inspired by the strong Wolfe conditions in optimization [NW99], but without explicit evaluation of the objective \(\Psi\), which may not be available or may not exist (e.g., for non-conservative models).
More information on the PETSc TS and SNES objects can be found in the PETSc documentation.
Elastodynamics¶
In (140), we represented the static problem i.e. \(\ddot{\bm u} = 0\). However, in the dynamic example acceleration is not zero and we use the PETSc Timestepper (TS) object to manage timestepping. Specifically, Ratel uses the Generalized-Alpha method for second order systems (TSALPHA2
) to solve the second order system of equations given by the momentum balance. More information on the PETSc TSALPHA2
time stepper can be found in the PETSc documentation TS.
For elastodynamics we need to add
to the residual equation (140) (or adding \(\rho_0 \ddot{\bm u}\) to \(\bm f_0\) term) and its jacobian
Note that in general for a time dependent residual function
we can write the Jacobian as
where \(\mathrm{shift_v}, \mathrm{shift_a}\) is related to the inverse of time step \(\Delta t\) and its square.