3. Element matrices and internal forces#

With the interpolation of The BFSC plate element, the strain energy of Eq. (1.5) becomes a function of the 40 element degrees of freedom \(\boldsymbol{u}_e\). Its gradient is the internal force vector, and its Hessian the tangent stiffness matrix, which the library splits into the matrices that the linear and nonlinear analyses of Analyses need. This chapter derives them, as computed by the functions of bfscplate2d.bfscplate2d, and the numerical integration that the functions use.

3.1. Discrete strain energy and internal forces#

Substituting Eq. (2.7) in Eq. (1.5), with the membrane forces and moments

(3.1)#\[\boldsymbol{N} = \boldsymbol{A} \left( \boldsymbol{B}_m + \frac{1}{2} \boldsymbol{B}_{NL} \right) \boldsymbol{u}_e + \boldsymbol{B} \boldsymbol{B}_b \boldsymbol{u}_e, \qquad \boldsymbol{M} = \boldsymbol{B} \left( \boldsymbol{B}_m + \frac{1}{2} \boldsymbol{B}_{NL} \right) \boldsymbol{u}_e + \boldsymbol{D} \boldsymbol{B}_b \boldsymbol{u}_e\]

the first variation \(\delta U = \delta\boldsymbol{u}_e^\top \boldsymbol{F}_{int}\) gives the internal force vector of update_fint()

(3.2)#\[\boldsymbol{F}_{int} = \frac{\partial U}{\partial \boldsymbol{u}_e} = \int_A \left( (\boldsymbol{B}_m + \boldsymbol{B}_{NL})^\top \boldsymbol{N} + \boldsymbol{B}_b^\top \boldsymbol{M} \right) dA\]

which always includes the nonlinear terms. For small displacements \(\boldsymbol{B}_{NL} \to \boldsymbol{0}\) and \(\boldsymbol{F}_{int} \approx \boldsymbol{K}_{C0} \boldsymbol{u}_e\), the linear relation below.

3.2. Tangent stiffness matrix#

The derivative of Eq. (3.2) has two parts: the derivative of \(\boldsymbol{N}\) and \(\boldsymbol{M}\), with \(\partial \boldsymbol{\epsilon}/\partial \boldsymbol{u}_e = \boldsymbol{B}_m + \boldsymbol{B}_{NL}\), and the derivative of \(\boldsymbol{B}_{NL}^\top\) at constant \(\boldsymbol{N}\). Writing \(\boldsymbol{B}_{NL}^\top \boldsymbol{N} = (\boldsymbol{S}^w_{,x})^\top (N_{xx} w_{,x} + N_{xy} w_{,y}) + (\boldsymbol{S}^w_{,y})^\top (N_{xy} w_{,x} + N_{yy} w_{,y})\), the second part is

(3.3)#\[\begin{split}\frac{\partial (\boldsymbol{B}_{NL}^\top \boldsymbol{N})}{\partial \boldsymbol{u}_e} \bigg|_{\boldsymbol{N}} = \boldsymbol{G}^\top \begin{bmatrix} N_{xx} & N_{xy} \\ N_{xy} & N_{yy} \end{bmatrix} \boldsymbol{G}\end{split}\]

and the tangent stiffness matrix is

(3.4)#\[\frac{\partial \boldsymbol{F}_{int}}{\partial \boldsymbol{u}_e} = \boldsymbol{K}_{C0} + \boldsymbol{K}_{CNL} + \boldsymbol{K}_{GNL} + \boldsymbol{K}_G\]

with the terms below. It is symmetric, the Hessian of \(U\).

Linear constitutive stiffness \(\boldsymbol{K}_{C0}\), update_KC0(), the terms without \(\boldsymbol{B}_{NL}\):

(3.5)#\[\boldsymbol{K}_{C0} = \int_A \left( \boldsymbol{B}_m^\top \boldsymbol{A} \boldsymbol{B}_m + \boldsymbol{B}_m^\top \boldsymbol{B} \boldsymbol{B}_b + \boldsymbol{B}_b^\top \boldsymbol{B} \boldsymbol{B}_m + \boldsymbol{B}_b^\top \boldsymbol{D} \boldsymbol{B}_b \right) dA\]

the membrane stiffness, the membrane-bending coupling, null for \(\boldsymbol{B} = \boldsymbol{0}\), and the bending stiffness; independent of the displacements.

Nonlinear constitutive stiffness \(\boldsymbol{K}_{CNL} = \boldsymbol{K}_{C0L} + \boldsymbol{K}_{CL0} + \boldsymbol{K}_{CLL}\), the terms with \(\boldsymbol{B}_{NL}\):

(3.6)#\[\boldsymbol{K}_{C0L} = \int_A \left( \boldsymbol{B}_m^\top \boldsymbol{A} + \boldsymbol{B}_b^\top \boldsymbol{B} \right) \boldsymbol{B}_{NL} \, dA, \qquad \boldsymbol{K}_{CL0} = \boldsymbol{K}_{C0L}^\top, \qquad \boldsymbol{K}_{CLL} = \int_A \boldsymbol{B}_{NL}^\top \boldsymbol{A} \boldsymbol{B}_{NL} \, dA\]

the first two linear, the third quadratic in the slopes.

Geometric stiffness, Eq. (3.3), split according to the two parts of \(\boldsymbol{N}\) in Eq. (3.1):

(3.7)#\[\begin{split}\boldsymbol{K}_G = \int_A \boldsymbol{G}^\top \begin{bmatrix} N_{xx} & N_{xy} \\ N_{xy} & N_{yy} \end{bmatrix} \boldsymbol{G} \, dA, \qquad \{N_{xx}, N_{yy}, N_{xy}\}^\top = \boldsymbol{A} \boldsymbol{B}_m \boldsymbol{u}_e + \boldsymbol{B} \boldsymbol{B}_b \boldsymbol{u}_e\end{split}\]

the matrix of the membrane forces of the linear strains, linear in \(\boldsymbol{u}_e\), and \(\boldsymbol{K}_{GNL} = \boldsymbol{K}_{GLL}\), the same integral with the membrane forces of the nonlinear strains \(\boldsymbol{A} \{w_{,x}^2/2, w_{,y}^2/2, w_{,x} w_{,y}\}^\top\), quadratic in the slopes.

The functions group the terms as follows:

Function

Matrix

Depends on \(\boldsymbol{u}_e\)

Pairs of degrees of freedom written

update_KC0()

\(\boldsymbol{K}_{C0}\)

no

all, 40 by 40

update_KCNL()

\(\boldsymbol{K}_{CNL} + \boldsymbol{K}_{GNL}\) (KC0L + KCL0 + KCLL + KGLL)

linear and quadratic in the slopes, null for null slopes

in-plane with out-of-plane, both orders, and out-of-plane with out-of-plane

update_KG()

\(\boldsymbol{K}_G\) of Eq. (3.7)

linear

out-of-plane with out-of-plane

update_KG_cte_N()

\(\boldsymbol{K}_G\) of given Nxx, Nyy, Nxy, uniform over the element

no

out-of-plane with out-of-plane

\(\boldsymbol{K}_{CNL}\) and \(\boldsymbol{K}_{GNL}\) are in one function because both vanish in the undeformed state and are needed only by the nonlinear analysis, whereas \(\boldsymbol{K}_G\) is also the matrix of the linear buckling analysis. Since \(\boldsymbol{B}_{NL}\) and \(\boldsymbol{G}\) have entries only in the columns of \(w\) to \(w_{,xy}\), no nonlinear term couples two in-plane degrees of freedom.

Because the internal forces and the three stiffness functions use the same operators and the same integration points, KC0 + KCNL + KG is the exact Jacobian of the internal forces computed with those points, whatever their number: Newton-Raphson iterations with this tangent converge quadratically, see Analyses. This is checked by Taylor tests and finite differences in tests/test_tangent_consistency.py.

3.3. Geometric stiffness of a linear buckling analysis#

At the solution \(\boldsymbol{u}_0\) of a linear static analysis, the membrane forces of Eq. (3.7) are those of the pre-buckling state of the plate, with its boundary conditions and the distribution of the load, and update_KG() computed with \(\boldsymbol{u}_0\) is proportional to the load. update_KG_cte_N() gives the same matrix for membrane forces prescribed for each element, positive in tension, without a static analysis. The two coincide when the static solution has uniform membrane forces; they differ when the edges, the supports or the application of the load make the pre-buckling state non-uniform, e.g. nodal forces at an edge or constrained in-plane displacements, see Analyses.

3.4. Mass matrix#

The kinetic energy of the displacements of Eq. (1.1), for a density rho uniform through the thickness h and the reference surface at mid-thickness, gives the consistent mass matrix of update_M()

(3.8)#\[\boldsymbol{M} = \int_A \rho \left( h \left( (\boldsymbol{S}^u)^\top \boldsymbol{S}^u + (\boldsymbol{S}^v)^\top \boldsymbol{S}^v + (\boldsymbol{S}^w)^\top \boldsymbol{S}^w \right) + \frac{h^3}{12} \left( (\boldsymbol{S}^w_{,x})^\top \boldsymbol{S}^w_{,x} + (\boldsymbol{S}^w_{,y})^\top \boldsymbol{S}^w_{,y} \right) \right) dA\]

The terms with \(h^3/12\) are the rotary inertia of the normal, small for thin plates. The terms with \(\int \rho z \, dz\), which couple \(u\) and \(v\) with the slopes of \(w\), vanish for the reference surface at mid-thickness and are not included: M has no entries between in-plane and out-of-plane degrees of freedom. For a laminate of plies of different densities, rho can be the mean density, which gives the mass per unit area \(\rho h\) exactly, but not the rotary inertia \(\int \rho z^2 dz\). The integrands are polynomials, integrated in closed form: update_M() takes no integration points. The matrix is independent of ABD and of the displacements.

3.5. Numerical integration#

All the functions except update_M() integrate over the element with the products of the one-dimensional Gauss-Legendre points and weights of bfscplate2d.quadrature.get_points_weights(), nint along each of \(\xi\) and \(\eta\):

(3.9)#\[\int_A f \, dA = \frac{lex \, ley}{4} \int_{-1}^{1} \int_{-1}^{1} f \, d\xi \, d\eta \approx \frac{lex \, ley}{4} \sum_{i=1}^{nint} \sum_{j=1}^{nint} weights_i \, weights_j \, f(points_i, points_j)\]

with 0.25*lex*ley*weight of the code the factor of each point. The points are the roots of the Legendre polynomial of degree nint, and the rule integrates exactly the polynomials of degree up to \(2 \, nint - 1\) in each variable. Since the interpolation functions are bicubic, the integrand of each matrix is a polynomial whose degree, counted from those of the operators (\(\boldsymbol{B}_m\), \(\boldsymbol{B}_b\), \(\boldsymbol{G}\) and the membrane forces of the linear strains of degree at most 3 in each variable, \(\boldsymbol{B}_{NL}\) of degree at most 6), gives the number of points for an exact integration with a constant ABD:

Matrix or vector

Maximum degree in \(\xi\) or \(\eta\)

nint for exact integration

KC0, update_KG_cte_N()

6

4

KG of update_KG()

9

5

KCNL, internal forces

12

7

follower pressure, first-order area vector, see Follower pressure

6

4

follower pressure, complete area vector

8

5

With fewer points the matrices are approximate but remain consistent with each other, as stated above. The same points and weights are passed to every function of an analysis that combines them, e.g. nint = 7, which integrates exactly every term of a nonlinear static analysis.