Physics:Tensor derivative (continuum mechanics)

From HandWiki

The derivatives of scalars, vectors, and second-order tensors with respect to second-order tensors are of considerable use in continuum mechanics. These derivatives are used in the theories of nonlinear elasticity and plasticity, particularly in the design of algorithms for numerical simulations.[1]

The directional derivative provides a systematic way of finding these derivatives.[2]

Derivatives with respect to vectors and second-order tensors

The definitions of directional derivatives for various situations are given below. It is assumed that the functions are sufficiently smooth that derivatives can be taken.

Derivatives of scalar valued functions of vectors

Let f(v) be a real valued function of the vector v. Then the derivative of f(v) with respect to v (or at v) is the vector defined through its dot product with any vector u being

∂f∂𝐯⋅𝐮=Df(𝐯)[𝐮]=[ddαf(𝐯+α𝐮)]α=0

for all vectors u. The above dot product yields a scalar, and if u is a unit vector gives the directional derivative of f at v, in the u direction.

Properties:

  1. If f(𝐯)=f1(𝐯)+f2(𝐯) then ∂f∂𝐯⋅𝐮=(∂f1∂𝐯+∂f2∂𝐯)⋅𝐮
  2. If f(𝐯)=f1(𝐯)f2(𝐯) then ∂f∂𝐯⋅𝐮=(∂f1∂𝐯⋅𝐮)f2(𝐯)+f1(𝐯)(∂f2∂𝐯⋅𝐮)
  3. If f(𝐯)=f1(f2(𝐯)) then ∂f∂𝐯⋅𝐮=∂f1∂f2∂f2∂𝐯⋅𝐮

Derivatives of vector valued functions of vectors

Let f(v) be a vector valued function of the vector v. Then the derivative of f(v) with respect to v (or at v) is the second order tensor defined through its dot product with any vector u being

∂𝐟∂𝐯⋅𝐮=D𝐟(𝐯)[𝐮]=[ddα𝐟(𝐯+α𝐮)]α=0

for all vectors u. The above dot product yields a vector, and if u is a unit vector gives the direction derivative of f at v, in the directional u.

Properties:

  1. If 𝐟(𝐯)=𝐟1(𝐯)+𝐟2(𝐯) then ∂𝐟∂𝐯⋅𝐮=(∂𝐟1∂𝐯+∂𝐟2∂𝐯)⋅𝐮
  2. If 𝐟(𝐯)=𝐟1(𝐯)×𝐟2(𝐯) then ∂𝐟∂𝐯⋅𝐮=(∂𝐟1∂𝐯⋅𝐮)×𝐟2(𝐯)+𝐟1(𝐯)×(∂𝐟2∂𝐯⋅𝐮)
  3. If 𝐟(𝐯)=𝐟1(𝐟2(𝐯)) then ∂𝐟∂𝐯⋅𝐮=∂𝐟1∂𝐟2⋅(∂𝐟2∂𝐯⋅𝐮)

Derivatives of scalar valued functions of second-order tensors

Let f(S) be a real valued function of the second order tensor S. Then the derivative of f(S) with respect to S (or at S) in the direction T is the second order tensor defined as ∂f∂S:T=Df(S)[T]=[ddαf(S+αT)]α=0 for all second order tensors T.

Properties:

  1. If f(S)=f1(S)+f2(S) then ∂f∂S:T=(∂f1∂S+∂f2∂S):T
  2. If f(S)=f1(S)f2(S) then ∂f∂S:T=(∂f1∂S:T)f2(S)+f1(S)(∂f2∂S:T)
  3. If f(S)=f1(f2(S)) then ∂f∂S:T=∂f1∂f2(∂f2∂S:T)

Derivatives of tensor valued functions of second-order tensors

Let F(S) be a second order tensor valued function of the second order tensor S. Then the derivative of F(S) with respect to S (or at S) in the direction T is the fourth order tensor defined as ∂F∂S:T=DF(S)[T]=[ddαF(S+αT)]α=0 for all second order tensors T.

Properties:

  1. If F(S)=F1(S)+F2(S) then ∂F∂S:T=(∂F1∂S+∂F2∂S):T
  2. If F(S)=F1(S)⋅F2(S) then ∂F∂S:T=(∂F1∂S:T)⋅F2(S)+F1(S)⋅(∂F2∂S:T)
  3. If F(S)=F1(F2(S)) then ∂F∂S:T=∂F1∂F2:(∂F2∂S:T)
  4. If f(S)=f1(F2(S)) then ∂f∂S:T=∂f1∂F2:(∂F2∂S:T)

Gradient of a tensor field

The gradient, ∇T, of a tensor field T(𝐱) in the direction of an arbitrary constant vector c is defined as: ∇T⋅𝐜=limα→0ddαT(𝐱+α𝐜) The gradient of a tensor field of order n is a tensor field of order n+1.

Cartesian coordinates

Note: the Einstein summation convention of summing on repeated indices is used below.

If 𝐞1,𝐞2,𝐞3 are the basis vectors in a Cartesian coordinate system, with coordinates of points denoted by (x1,x2,x3), then the gradient of the tensor field T is given by ∇T=∂T∂xi⊗𝐞i

Since the basis vectors do not vary in a Cartesian coordinate system we have the following relations for the gradients of a scalar field ϕ, a vector field v, and a second-order tensor field S. ∇ϕ=∂ϕ∂xi𝐞i=ϕ,i𝐞i∇𝐯=∂(vj𝐞j)∂xi⊗𝐞i=∂vj∂xi𝐞j⊗𝐞i=vj,i𝐞j⊗𝐞i∇S=∂(Sjk𝐞j⊗𝐞k)∂xi⊗𝐞i=∂Sjk∂xi𝐞j⊗𝐞k⊗𝐞i=Sjk,i𝐞j⊗𝐞k⊗𝐞i

Curvilinear coordinates

Note: the Einstein summation convention of summing on repeated indices is used below.

If 𝐠1,𝐠2,𝐠3 are the contravariant basis vectors in a curvilinear coordinate system, with coordinates of points denoted by (ξ1,ξ2,ξ3), then the gradient of the tensor field T is given by (see [3] for a proof.) ∇T=∂T∂ξi⊗𝐠i

From this definition we have the following relations for the gradients of a scalar field ϕ, a vector field v, and a second-order tensor field S. ∇ϕ=∂ϕ∂ξi𝐠i∇𝐯=∂(vj𝐠j)∂ξi⊗𝐠i=(∂vj∂ξi+vkΓikj)𝐠j⊗𝐠i=(∂vj∂ξi−vkΓijk)𝐠j⊗𝐠i∇S=∂(Sjk𝐠j⊗𝐠k)∂ξi⊗𝐠i=(∂Sjk∂ξi−SlkΓijl−SjlΓikl)𝐠j⊗𝐠k⊗𝐠i

where the Christoffel symbol Γijk is defined using Γijk𝐠k=∂𝐠i∂ξj⟹Γijk=∂𝐠i∂ξj⋅𝐠k=−𝐠i⋅∂𝐠k∂ξj

Cylindrical polar coordinates

In cylindrical coordinates, the gradient is given by ∇ϕ=∂ϕ∂r𝐞r+1r∂ϕ∂θ𝐞θ+∂ϕ∂z𝐞z∇𝐯=∂vr∂r𝐞r⊗𝐞r+1r(∂vr∂θ−vθ)𝐞r⊗𝐞θ+∂vr∂z𝐞r⊗𝐞z+∂vθ∂r𝐞θ⊗𝐞r+1r(∂vθ∂θ+vr)𝐞θ⊗𝐞θ+∂vθ∂z𝐞θ⊗𝐞z+∂vz∂r𝐞z⊗𝐞r+1r∂vz∂θ𝐞z⊗𝐞θ+∂vz∂z𝐞z⊗𝐞z∇S=∂Srr∂r𝐞r⊗𝐞r⊗𝐞r+∂Srr∂z𝐞r⊗𝐞r⊗𝐞z+1r[∂Srr∂θ−(Sθr+Srθ)]𝐞r⊗𝐞r⊗𝐞θ+∂Srθ∂r𝐞r⊗𝐞θ⊗𝐞r+∂Srθ∂z𝐞r⊗𝐞θ⊗𝐞z+1r[∂Srθ∂θ+(Srr−Sθθ)]𝐞r⊗𝐞θ⊗𝐞θ+∂Srz∂r𝐞r⊗𝐞z⊗𝐞r+∂Srz∂z𝐞r⊗𝐞z⊗𝐞z+1r[∂Srz∂θ−Sθz]𝐞r⊗𝐞z⊗𝐞θ+∂Sθr∂r𝐞θ⊗𝐞r⊗𝐞r+∂Sθr∂z𝐞θ⊗𝐞r⊗𝐞z+1r[∂Sθr∂θ+(Srr−Sθθ)]𝐞θ⊗𝐞r⊗𝐞θ+∂Sθθ∂r𝐞θ⊗𝐞θ⊗𝐞r+∂Sθθ∂z𝐞θ⊗𝐞θ⊗𝐞z+1r[∂Sθθ∂θ+(Srθ+Sθr)]𝐞θ⊗𝐞θ⊗𝐞θ+∂Sθz∂r𝐞θ⊗𝐞z⊗𝐞r+∂Sθz∂z𝐞θ⊗𝐞z⊗𝐞z+1r[∂Sθz∂θ+Srz]𝐞θ⊗𝐞z⊗𝐞θ+∂Szr∂r𝐞z⊗𝐞r⊗𝐞r+∂Szr∂z𝐞z⊗𝐞r⊗𝐞z+1r[∂Szr∂θ−Szθ]𝐞z⊗𝐞r⊗𝐞θ+∂Szθ∂r𝐞z⊗𝐞θ⊗𝐞r+∂Szθ∂z𝐞z⊗𝐞θ⊗𝐞z+1r[∂Szθ∂θ+Szr]𝐞z⊗𝐞θ⊗𝐞θ+∂Szz∂r𝐞z⊗𝐞z⊗𝐞r+∂Szz∂z𝐞z⊗𝐞z⊗𝐞z+1r∂Szz∂θ𝐞z⊗𝐞z⊗𝐞θ

Divergence of a tensor field

The divergence of a tensor field T(𝐱) is defined using the recursive relation (∇⋅T)⋅𝐜=∇⋅(𝐜⋅TT);∇⋅𝐯=tr(∇𝐯)

where c is an arbitrary constant vector and v is a vector field. If T is a tensor field of order n > 1 then the divergence of the field is a tensor of order n− 1.

Cartesian coordinates

Note: the Einstein summation convention of summing on repeated indices is used below.

In a Cartesian coordinate system we have the following relations for a vector field v and a second-order tensor field S. ∇⋅𝐯=∂vi∂xi=vi,i∇⋅S=∂Sik∂xi𝐞k=Sik,i𝐞k

where tensor index notation for partial derivatives is used in the rightmost expressions. Note that ∇⋅S≠∇⋅ST.

For a symmetric second-order tensor, the divergence is also often written as[4]

∇⋅S=∂Ski∂xi𝐞k=Ski,i𝐞k

The above expression is sometimes used as the definition of ∇⋅S in Cartesian component form (often also written as div⁡S). Note that such a definition is not consistent with the rest of this article (see the section on curvilinear co-ordinates).

The difference stems from whether the differentiation is performed with respect to the rows or columns of S, and is conventional. This is demonstrated by an example. In a Cartesian coordinate system the second order tensor (matrix) 𝐒 is the gradient of a vector function 𝐯.

∇⋅(∇𝐯)=∇⋅(vi,j𝐞i⊗𝐞j)=vi,ji𝐞i⋅𝐞i⊗𝐞j=(∇⋅𝐯),j𝐞j=∇(∇⋅𝐯)∇⋅[(∇𝐯)T]=∇⋅(vj,i𝐞i⊗𝐞j)=vj,ii𝐞i⋅𝐞i⊗𝐞j=∇2vj𝐞j=∇2𝐯

The last equation is equivalent to the alternative definition / interpretation[4]

(∇⋅)alt(∇𝐯)=(∇⋅)alt(vi,j𝐞i⊗𝐞j)=vi,jj𝐞i⊗𝐞j⋅𝐞j=∇2vi𝐞i=∇2𝐯

Curvilinear coordinates

Note: the Einstein summation convention of summing on repeated indices is used below.

In curvilinear coordinates, the divergences of a vector field v and a second-order tensor field S are ∇⋅𝐯=(∂vi∂ξi+vkΓiki)∇⋅S=(∂Sik∂ξi−SlkΓiil−SilΓikl)𝐠k

More generally, ∇⋅S=[∂Sij∂qk−ΓkilSlj−ΓkjlSil]gik𝐛j=[∂Sij∂qi+ΓiliSlj+ΓiljSil]𝐛j=[∂Sji∂qi+ΓiliSjl−ΓijlSli]𝐛j=[∂Sij∂qk−ΓiklSlj+ΓkljSil]gik𝐛j


Cylindrical polar coordinates

In cylindrical polar coordinates ∇⋅𝐯=∂vr∂r+1r(∂vθ∂θ+vr)+∂vz∂z∇⋅S=∂Srr∂r𝐞r+∂Srθ∂r𝐞θ+∂Srz∂r𝐞z+1r[∂Sθr∂θ+(Srr−Sθθ)]𝐞r+1r[∂Sθθ∂θ+(Srθ+Sθr)]𝐞θ+1r[∂Sθz∂θ+Srz]𝐞z+∂Szr∂z𝐞r+∂Szθ∂z𝐞θ+∂Szz∂z𝐞z

Curl of a tensor field

The curl of an order-n > 1 tensor field T(𝐱) is also defined using the recursive relation (∇×T)⋅𝐜=∇×(𝐜⋅T);(∇×𝐯)⋅𝐜=∇⋅(𝐯×𝐜) where c is an arbitrary constant vector and v is a vector field.

Curl of a first-order tensor (vector) field

Consider a vector field v and an arbitrary constant vector c. In index notation, the cross product is given by 𝐯×𝐜=εijkvjck𝐞i where εijk is the permutation symbol, otherwise known as the Levi-Civita symbol. Then, ∇⋅(𝐯×𝐜)=εijkvj,ick=(εijkvj,i𝐞k)⋅𝐜=(∇×𝐯)⋅𝐜 Therefore, ∇×𝐯=εijkvj,i𝐞k

Curl of a second-order tensor field

For a second-order tensor S 𝐜⋅S=cmSmj𝐞j Hence, using the definition of the curl of a first-order tensor field, ∇×(𝐜⋅S)=εijkcmSmj,i𝐞k=(εijkSmj,i𝐞k⊗𝐞m)⋅𝐜=(∇×S)⋅𝐜 Therefore, we have ∇×S=εijkSmj,i𝐞k⊗𝐞m

Identities involving the curl of a tensor field

The most commonly used identity involving the curl of a tensor field, T, is ∇×(∇T)=0 This identity holds for tensor fields of all orders. For the important case of a second-order tensor, S, this identity implies that ∇×(∇S)=0⟹Smi,j−Smj,i=0

Derivative of the determinant of a second-order tensor

The derivative of the determinant of a second order tensor A is given by ∂∂Adet⁡(A)=det⁡(A)[A−1]T.

In an orthonormal basis, the components of A can be written as a matrix A. In that case, the right hand side corresponds the cofactors of the matrix.

Derivatives of the invariants of a second-order tensor

The principal invariants of a second order tensor are I1(A)=trAI2(A)=12[(trA)2−trA2]I3(A)=det⁡(A)

The derivatives of these three invariants with respect to A are ∂I1∂A=1∂I2∂A=I11−AT∂I3∂A=det⁡(A)[A−1]T=I21−AT(I11−AT)=(A2−I1A+I21)T

Derivative of the second-order identity tensor

Let 1 be the second order identity tensor. Then the derivative of this tensor with respect to a second order tensor A is given by ∂1∂A:T=0:T=0 This is because 1 is independent of A.

Derivative of a second-order tensor with respect to itself

Let A be a second order tensor. Then ∂A∂A:T=[∂∂α(A+αT)]α=0=T=I:T

Therefore, ∂A∂A=I

Here I is the fourth order identity tensor. In index notation with respect to an orthonormal basis I=δikδjl𝐞i⊗𝐞j⊗𝐞k⊗𝐞l

This result implies that ∂AT∂A:T=IT:T=TT where IT=δjkδil𝐞i⊗𝐞j⊗𝐞k⊗𝐞l

Therefore, if the tensor A is symmetric, then the derivative is also symmetric and we get ∂A∂A=I(s)=12(I+IT) where the symmetric fourth order identity tensor is I(s)=12(δikδjl+δilδjk)𝐞i⊗𝐞j⊗𝐞k⊗𝐞l

Derivative of the inverse of a second-order tensor

Let A and T be two second order tensors, then ∂∂A(A−1):T=−A−1⋅T⋅A−1 In index notation with respect to an orthonormal basis ∂Aij−1∂AklTkl=−Aik−1TklAlj−1⟹∂Aij−1∂Akl=−Aik−1Alj−1 We also have ∂∂A(A−T):T=−A−T⋅TT⋅A−T In index notation ∂Aji−1∂AklTkl=−Ajk−1TlkAli−1⟹∂Aji−1∂Akl=−Ali−1Ajk−1 If the tensor A is symmetric then ∂Aij−1∂Akl=−12(Aik−1Ajl−1+Ail−1Ajk−1)

Integration by parts

Domain Ω, its boundary Γ and the outward unit normal 𝐧

Another important operation related to tensor derivatives in continuum mechanics is integration by parts. The formula for integration by parts can be written as ∫ΩF⊗∇GdΩ=∫Γ𝐧⊗(F⊗G)dΓ−∫ΩG⊗∇FdΩ

where F and G are differentiable tensor fields of arbitrary order, 𝐧 is the unit outward normal to the domain over which the tensor fields are defined, ⊗ represents a generalized tensor product operator, and ∇ is a generalized gradient operator. When F is equal to the identity tensor, we get the divergence theorem ∫Ω∇GdΩ=∫Γ𝐧⊗GdΓ.

We can express the formula for integration by parts in Cartesian index notation as ∫ΩFijk....Glmn...,pdΩ=∫ΓnpFijk...Glmn...dΓ−∫ΩGlmn...Fijk...,pdΩ.

For the special case where the tensor product operation is a contraction of one index and the gradient operation is a divergence, and both F and G are second order tensors, we have ∫ΩF⋅(∇⋅G)dΩ=∫Γ𝐧⋅(G⋅FT)dΓ−∫Ω(∇F):GTdΩ.

In index notation, ∫ΩFijGpj,pdΩ=∫ΓnpFijGpjdΓ−∫ΩGpjFij,pdΩ.

See also

References

  1. ↑ J. C. Simo and T. J. R. Hughes, 1998, Computational Inelasticity, Springer
  2. ↑ J. E. Marsden and T. J. R. Hughes, 2000, Mathematical Foundations of Elasticity, Dover.
  3. ↑ R. W. Ogden, 2000, Nonlinear Elastic Deformations, Dover.
  4. ↑ 4.0 4.1 Hjelmstad, Keith (2004). Fundamentals of Structural Mechanics. Springer Science & Business Media. p. 45. ISBN 9780387233307.