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

[math]\displaystyle{ \frac{\partial f}{\partial \mathbf{v}}\cdot\mathbf{u} = Df(\mathbf{v})[\mathbf{u}] = \left[\frac{d}{d\alpha}~f(\mathbf{v} + \alpha~\mathbf{u})\right]_{\alpha=0} }[/math]

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 [math]\displaystyle{ f(\mathbf{v}) = f_1(\mathbf{v}) + f_2(\mathbf{v}) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \mathbf{v}}\cdot\mathbf{u} = \left(\frac{\partial f_1}{\partial \mathbf{v}} + \frac{\partial f_2}{\partial \mathbf{v}}\right)\cdot\mathbf{u} }[/math]
  2. If [math]\displaystyle{ f(\mathbf{v}) = f_1(\mathbf{v})~ f_2(\mathbf{v}) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \mathbf{v}}\cdot\mathbf{u} = \left(\frac{\partial f_1}{\partial \mathbf{v}} \cdot \mathbf{u} \right)~f_2(\mathbf{v}) + f_1(\mathbf{v})~\left(\frac{\partial f_2}{\partial \mathbf{v}}\cdot\mathbf{u} \right) }[/math]
  3. If [math]\displaystyle{ f(\mathbf{v}) = f_1(f_2(\mathbf{v})) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \mathbf{v}}\cdot\mathbf{u} = \frac{\partial f_1}{\partial f_2}~\frac{\partial f_2}{\partial \mathbf{v}}\cdot\mathbf{u} }[/math]

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

[math]\displaystyle{ \frac{\partial \mathbf{f}}{\partial \mathbf{v}}\cdot\mathbf{u} = D\mathbf{f}(\mathbf{v})[\mathbf{u}] = \left[\frac{d}{d\alpha}~\mathbf{f}(\mathbf{v} + \alpha~\mathbf{u} ) \right]_{\alpha = 0} }[/math]

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 [math]\displaystyle{ \mathbf{f}(\mathbf{v}) = \mathbf{f}_1(\mathbf{v}) + \mathbf{f}_2(\mathbf{v}) }[/math] then [math]\displaystyle{ \frac{\partial \mathbf{f}}{\partial \mathbf{v}}\cdot\mathbf{u} = \left(\frac{\partial \mathbf{f}_1}{\partial \mathbf{v}} + \frac{\partial \mathbf{f}_2}{\partial \mathbf{v}}\right)\cdot\mathbf{u} }[/math]
  2. If [math]\displaystyle{ \mathbf{f}(\mathbf{v}) = \mathbf{f}_1(\mathbf{v})\times\mathbf{f}_2(\mathbf{v}) }[/math] then [math]\displaystyle{ \frac{\partial \mathbf{f}}{\partial \mathbf{v}}\cdot\mathbf{u} = \left(\frac{\partial \mathbf{f}_1}{\partial \mathbf{v}}\cdot\mathbf{u}\right)\times\mathbf{f}_2(\mathbf{v}) + \mathbf{f}_1(\mathbf{v})\times\left(\frac{\partial \mathbf{f}_2}{\partial \mathbf{v}}\cdot\mathbf{u} \right) }[/math]
  3. If [math]\displaystyle{ \mathbf{f}(\mathbf{v}) = \mathbf{f}_1(\mathbf{f}_2(\mathbf{v})) }[/math] then [math]\displaystyle{ \frac{\partial \mathbf{f}}{\partial \mathbf{v}}\cdot\mathbf{u} = \frac{\partial \mathbf{f}_1}{\partial \mathbf{f}_2}\cdot\left(\frac{\partial \mathbf{f}_2}{\partial \mathbf{v}}\cdot\mathbf{u} \right) }[/math]

Derivatives of scalar valued functions of second-order tensors

Let [math]\displaystyle{ f(\boldsymbol{S}) }[/math] be a real valued function of the second order tensor [math]\displaystyle{ \boldsymbol{S} }[/math]. Then the derivative of [math]\displaystyle{ f(\boldsymbol{S}) }[/math] with respect to [math]\displaystyle{ \boldsymbol{S} }[/math] (or at [math]\displaystyle{ \boldsymbol{S} }[/math]) in the direction [math]\displaystyle{ \boldsymbol{T} }[/math] is the second order tensor defined as [math]\displaystyle{ \frac{\partial f}{\partial \boldsymbol{S}}:\boldsymbol{T} = Df(\boldsymbol{S})[\boldsymbol{T}] = \left[\frac{d}{d\alpha}~f(\boldsymbol{S} + \alpha~\boldsymbol{T})\right]_{\alpha = 0} }[/math] for all second order tensors [math]\displaystyle{ \boldsymbol{T} }[/math].

Properties:

  1. If [math]\displaystyle{ f(\boldsymbol{S}) = f_1(\boldsymbol{S}) + f_2(\boldsymbol{S}) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \boldsymbol{S}}:\boldsymbol{T} = \left(\frac{\partial f_1}{\partial \boldsymbol{S}} + \frac{\partial f_2}{\partial \boldsymbol{S}}\right):\boldsymbol{T} }[/math]
  2. If [math]\displaystyle{ f(\boldsymbol{S}) = f_1(\boldsymbol{S})~ f_2(\boldsymbol{S}) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \boldsymbol{S}}:\boldsymbol{T} = \left(\frac{\partial f_1}{\partial \boldsymbol{S}}:\boldsymbol{T}\right)~f_2(\boldsymbol{S}) + f_1(\boldsymbol{S})~\left(\frac{\partial f_2}{\partial \boldsymbol{S}}:\boldsymbol{T} \right) }[/math]
  3. If [math]\displaystyle{ f(\boldsymbol{S}) = f_1(f_2(\boldsymbol{S})) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \boldsymbol{S}}:\boldsymbol{T} = \frac{\partial f_1}{\partial f_2}~\left(\frac{\partial f_2}{\partial \boldsymbol{S}}:\boldsymbol{T} \right) }[/math]

Derivatives of tensor valued functions of second-order tensors

Let [math]\displaystyle{ \boldsymbol{F}(\boldsymbol{S}) }[/math] be a second order tensor valued function of the second order tensor [math]\displaystyle{ \boldsymbol{S} }[/math]. Then the derivative of [math]\displaystyle{ \boldsymbol{F}(\boldsymbol{S}) }[/math] with respect to [math]\displaystyle{ \boldsymbol{S} }[/math] (or at [math]\displaystyle{ \boldsymbol{S} }[/math]) in the direction [math]\displaystyle{ \boldsymbol{T} }[/math] is the fourth order tensor defined as [math]\displaystyle{ \frac{\partial \boldsymbol{F}}{\partial \boldsymbol{S}}:\boldsymbol{T} = D\boldsymbol{F}(\boldsymbol{S})[\boldsymbol{T}] = \left[\frac{d}{d\alpha}~\boldsymbol{F}(\boldsymbol{S} + \alpha~\boldsymbol{T})\right]_{\alpha = 0} }[/math] for all second order tensors [math]\displaystyle{ \boldsymbol{T} }[/math].

Properties:

  1. If [math]\displaystyle{ \boldsymbol{F}(\boldsymbol{S}) = \boldsymbol{F}_1(\boldsymbol{S}) + \boldsymbol{F}_2(\boldsymbol{S}) }[/math] then [math]\displaystyle{ \frac{\partial \boldsymbol{F}}{\partial \boldsymbol{S}}:\boldsymbol{T} = \left(\frac{\partial \boldsymbol{F}_1}{\partial \boldsymbol{S}} + \frac{\partial \boldsymbol{F}_2}{\partial \boldsymbol{S}}\right):\boldsymbol{T} }[/math]
  2. If [math]\displaystyle{ \boldsymbol{F}(\boldsymbol{S}) = \boldsymbol{F}_1(\boldsymbol{S})\cdot\boldsymbol{F}_2(\boldsymbol{S}) }[/math] then [math]\displaystyle{ \frac{\partial \boldsymbol{F}}{\partial \boldsymbol{S}}:\boldsymbol{T} = \left(\frac{\partial \boldsymbol{F}_1}{\partial \boldsymbol{S}}:\boldsymbol{T}\right)\cdot\boldsymbol{F}_2(\boldsymbol{S}) + \boldsymbol{F}_1 (\boldsymbol{S}) \cdot\left(\frac{\partial \boldsymbol{F}_2}{\partial \boldsymbol{S}}:\boldsymbol{T} \right) }[/math]
  3. If [math]\displaystyle{ \boldsymbol{F}(\boldsymbol{S}) = \boldsymbol{F}_1(\boldsymbol{F}_2(\boldsymbol{S})) }[/math] then [math]\displaystyle{ \frac{\partial \boldsymbol{F}}{\partial \boldsymbol{S}}:\boldsymbol{T} = \frac{\partial \boldsymbol{F}_1}{\partial \boldsymbol{F}_2}:\left(\frac{\partial \boldsymbol{F}_2}{\partial \boldsymbol{S}}:\boldsymbol{T} \right) }[/math]
  4. If [math]\displaystyle{ f(\boldsymbol{S}) = f_1(\boldsymbol{F}_2(\boldsymbol{S})) }[/math] then [math]\displaystyle{ \frac{\partial f}{\partial \boldsymbol{S}}:\boldsymbol{T} = \frac{\partial f_1}{\partial \boldsymbol{F}_2}:\left(\frac{\partial \boldsymbol{F}_2}{\partial \boldsymbol{S}}:\boldsymbol{T} \right) }[/math]

Gradient of a tensor field

The gradient, [math]\displaystyle{ \boldsymbol{\nabla}\boldsymbol{T} }[/math], of a tensor field [math]\displaystyle{ \boldsymbol{T}(\mathbf{x}) }[/math] in the direction of an arbitrary constant vector c is defined as: [math]\displaystyle{ \boldsymbol{\nabla}\boldsymbol{T}\cdot\mathbf{c} = \lim_{\alpha \rightarrow 0} \quad \cfrac{d}{d\alpha}~\boldsymbol{T}(\mathbf{x}+\alpha\mathbf{c}) }[/math] 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 [math]\displaystyle{ \mathbf{e}_1,\mathbf{e}_2,\mathbf{e}_3 }[/math] are the basis vectors in a Cartesian coordinate system, with coordinates of points denoted by ([math]\displaystyle{ x_1, x_2, x_3 }[/math]), then the gradient of the tensor field [math]\displaystyle{ \boldsymbol{T} }[/math] is given by [math]\displaystyle{ \boldsymbol{\nabla}\boldsymbol{T} = \cfrac{\partial{\boldsymbol{T}}}{\partial x_i} \otimes \mathbf{e}_i }[/math]

Since the basis vectors do not vary in a Cartesian coordinate system we have the following relations for the gradients of a scalar field [math]\displaystyle{ \phi }[/math], a vector field v, and a second-order tensor field [math]\displaystyle{ \boldsymbol{S} }[/math]. [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\phi & = \cfrac{\partial\phi}{\partial x_i}~\mathbf{e}_i = \phi_{,i} ~\mathbf{e}_i \\ \boldsymbol{\nabla}\mathbf{v} & = \cfrac{\partial (v_j \mathbf{e}_j)}{\partial x_i}\otimes\mathbf{e}_i = \cfrac{\partial v_j}{\partial x_i}~\mathbf{e}_j\otimes\mathbf{e}_i = v_{j,i}~\mathbf{e}_j\otimes\mathbf{e}_i \\ \boldsymbol{\nabla}\boldsymbol{S} & = \cfrac{\partial (S_{jk} \mathbf{e}_j\otimes\mathbf{e}_k)}{\partial x_i}\otimes\mathbf{e}_i = \cfrac{\partial S_{jk}}{\partial x_i}~\mathbf{e}_j\otimes\mathbf{e}_k\otimes\mathbf{e}_i = S_{jk,i}~\mathbf{e}_j\otimes\mathbf{e}_k\otimes\mathbf{e}_i \end{align} }[/math]

Curvilinear coordinates

Main page: Tensors in curvilinear coordinates
Note: the Einstein summation convention of summing on repeated indices is used below.

If [math]\displaystyle{ \mathbf{g}^1,\mathbf{g}^2,\mathbf{g}^3 }[/math] are the contravariant basis vectors in a curvilinear coordinate system, with coordinates of points denoted by ([math]\displaystyle{ \xi^1, \xi^2, \xi^3 }[/math]), then the gradient of the tensor field [math]\displaystyle{ \boldsymbol{T} }[/math] is given by (see [3] for a proof.) [math]\displaystyle{ \boldsymbol{\nabla}\boldsymbol{T} = \frac{\partial{\boldsymbol{T}}}{\partial \xi^i}\otimes\mathbf{g}^i }[/math]

From this definition we have the following relations for the gradients of a scalar field [math]\displaystyle{ \phi }[/math], a vector field v, and a second-order tensor field [math]\displaystyle{ \boldsymbol{S} }[/math]. [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\phi & = \frac{\partial\phi}{\partial\xi^i}~\mathbf{g}^i \\ \boldsymbol{\nabla}\mathbf{v} & = \frac{\partial\left(v^j \mathbf{g}_j\right)}{\partial\xi^i}\otimes\mathbf{g}^i = \left(\frac{\partial v^j}{\partial\xi^i} + v^k~\Gamma_{ik}^j\right)~\mathbf{g}_j\otimes\mathbf{g}^i = \left(\frac{\partial v_j}{\partial\xi^i} - v_k~\Gamma_{ij}^k\right)~\mathbf{g}^j\otimes\mathbf{g}^i \\ \boldsymbol{\nabla}\boldsymbol{S} & = \frac{\partial\left(S_{jk}~\mathbf{g}^j\otimes\mathbf{g}^k\right)}{\partial\xi^i}\otimes\mathbf{g}^i = \left(\frac{\partial S_{jk}}{\partial\xi_i} - S_{lk}~\Gamma_{ij}^l - S_{jl}~\Gamma_{ik}^l\right)~\mathbf{g}^j\otimes\mathbf{g}^k\otimes\mathbf{g}^i \end{align} }[/math]

where the Christoffel symbol [math]\displaystyle{ \Gamma_{ij}^k }[/math] is defined using [math]\displaystyle{ \Gamma_{ij}^k~\mathbf{g}_k = \frac{\partial\mathbf{g}_i}{\partial\xi^j} \quad \implies \quad \Gamma_{ij}^k = \frac{\partial\mathbf{g}_i}{\partial\xi^j}\cdot\mathbf{g}^k = -\mathbf{g}_i\cdot\frac{\partial \mathbf{g}^k}{\partial\xi^j} }[/math]

Cylindrical polar coordinates

In cylindrical coordinates, the gradient is given by [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\phi ={}\quad &\frac{\partial\phi}{\partial r}~\mathbf{e}_r + \frac{1}{r}~\frac{\partial \phi}{\partial \theta}~\mathbf{e}_\theta + \frac{\partial\phi}{\partial z}~\mathbf{e}_z \\ \boldsymbol{\nabla}\mathbf{v} ={}\quad &\frac{\partial v_r}{\partial r}~\mathbf{e}_r \otimes \mathbf{e}_r + \frac{1}{r}\left(\frac{\partial v_r}{\partial\theta} - v_\theta\right)~\mathbf{e}_r \otimes \mathbf{e}_\theta + \frac{\partial v_r}{\partial z}~\mathbf{e}_r \otimes \mathbf{e}_z \\ {}+{} &\frac{\partial v_\theta}{\partial r}~\mathbf{e}_\theta \otimes \mathbf{e}_r + \frac{1}{r}\left(\frac{\partial v_\theta}{\partial\theta} + v_r\right)~\mathbf{e}_\theta \otimes \mathbf{e}_\theta + \frac{\partial v_\theta}{\partial z}~\mathbf{e}_\theta \otimes \mathbf{e}_z \\ {}+{} &\frac{\partial v_z}{\partial r}~\mathbf{e}_z\otimes\mathbf{e}_r + \frac{1}{r}\frac{\partial v_z}{\partial\theta}~\mathbf{e}_z \otimes\mathbf{e}_\theta + \frac{\partial v_z}{\partial z}~\mathbf{e}_z\otimes\mathbf{e}_z \\ \boldsymbol{\nabla}\boldsymbol{S} ={}\quad &\frac{\partial S_{rr}}{\partial r}~\mathbf{e}_r\otimes\mathbf{e}_r\otimes\mathbf{e}_r + \frac{\partial S_{rr}}{\partial z}~\mathbf{e}_r \otimes \mathbf{e}_r \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{rr}}{\partial\theta} - (S_{\theta r} + S_{r\theta})\right]~\mathbf{e}_r \otimes \mathbf{e}_r\otimes\mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{r\theta}}{\partial r}~\mathbf{e}_r \otimes \mathbf{e}_\theta \otimes \mathbf{e}_r + \frac{\partial S_{r\theta}}{\partial z}~\mathbf{e}_r \otimes \mathbf{e}_\theta \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{r\theta}}{\partial\theta} + (S_{rr} - S_{\theta\theta})\right]~\mathbf{e}_r \otimes \mathbf{e}_\theta \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{rz}}{\partial r}~\mathbf{e}_r \otimes \mathbf{e}_z \otimes \mathbf{e}_r + \frac{\partial S_{rz}}{\partial z}~\mathbf{e}_r \otimes \mathbf{e}_z \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{rz}}{\partial \theta} - S_{\theta z}\right]~\mathbf{e}_r \otimes \mathbf{e}_z \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{\theta r}}{\partial r}~\mathbf{e}_\theta \otimes \mathbf{e}_r \otimes \mathbf{e}_r + \frac{\partial S_{\theta r}}{\partial z}~\mathbf{e}_\theta \otimes \mathbf{e}_r \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{\theta r}}{\partial\theta} + (S_{rr} - S_{\theta\theta})\right]~\mathbf{e}_\theta \otimes \mathbf{e}_r \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{\theta\theta}}{\partial r}~\mathbf{e}_\theta \otimes \mathbf{e}_\theta \otimes \mathbf{e}_r + \frac{\partial S_{\theta\theta}}{\partial z}~\mathbf{e}_\theta \otimes \mathbf{e}_\theta \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{\theta\theta}}{\partial\theta} + (S_{r\theta} + S_{\theta r})\right]~\mathbf{e}_\theta \otimes \mathbf{e}_\theta \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{\theta z}}{\partial r}~\mathbf{e}_\theta \otimes \mathbf{e}_z \otimes \mathbf{e}_r + \frac{\partial S_{\theta z}}{\partial z}~\mathbf{e}_\theta \otimes \mathbf{e}_z \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{\theta z}}{\partial\theta} + S_{rz}\right]~\mathbf{e}_\theta \otimes \mathbf{e}_z \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{zr}}{\partial r}~\mathbf{e}_z \otimes \mathbf{e}_r \otimes \mathbf{e}_r + \frac{\partial S_{zr}}{\partial z}~\mathbf{e}_z \otimes \mathbf{e}_r \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{zr}}{\partial \theta} - S_{z\theta}\right]~\mathbf{e}_z \otimes \mathbf{e}_r \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{z\theta}}{\partial r}~\mathbf{e}_z \otimes \mathbf{e}_\theta \otimes \mathbf{e}_r + \frac{\partial S_{z\theta}}{\partial z}~\mathbf{e}_z \otimes \mathbf{e}_\theta \otimes \mathbf{e}_z + \frac{1}{r}\left[\frac{\partial S_{z\theta}}{\partial\theta} + S_{zr}\right]~\mathbf{e}_z \otimes \mathbf{e}_\theta \otimes \mathbf{e}_\theta \\ {}+{} &\frac{\partial S_{zz}}{\partial r}~\mathbf{e}_z \otimes \mathbf{e}_z \otimes \mathbf{e}_r + \frac{\partial S_{zz}}{\partial z}~\mathbf{e}_z \otimes \mathbf{e}_z \otimes \mathbf{e}_z + \frac{1}{r}~\frac{\partial S_{zz}}{\partial\theta}~ \mathbf{e}_z \otimes \mathbf{e}_z \otimes \mathbf{e}_\theta \end{align} }[/math]

Divergence of a tensor field

The divergence of a tensor field [math]\displaystyle{ \boldsymbol{T}(\mathbf{x}) }[/math] is defined using the recursive relation [math]\displaystyle{ (\boldsymbol{\nabla}\cdot\boldsymbol{T})\cdot\mathbf{c} = \boldsymbol{\nabla}\cdot\left(\mathbf{c}\cdot\boldsymbol{T}^\textsf{T}\right) ~;\qquad \boldsymbol{\nabla}\cdot\mathbf{v} = \text{tr}(\boldsymbol{\nabla}\mathbf{v}) }[/math]

where c is an arbitrary constant vector and v is a vector field. If [math]\displaystyle{ \boldsymbol{T} }[/math] 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 [math]\displaystyle{ \boldsymbol{S} }[/math]. [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\cdot\mathbf{v} &= \frac{\partial v_i}{\partial x_i} = v_{i,i} \\ \boldsymbol{\nabla}\cdot\boldsymbol{S} &= \frac{\partial S_{ik}}{\partial x_i}~\mathbf{e}_k = S_{ik, i}~\mathbf{e}_k \end{align} }[/math]

where tensor index notation for partial derivatives is used in the rightmost expressions. Note that [math]\displaystyle{ \boldsymbol{\nabla}\cdot\boldsymbol{S} \neq \boldsymbol{\nabla}\cdot\boldsymbol{S}^\textsf{T}. }[/math]

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

[math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\cdot\boldsymbol{S} &= \cfrac{\partial S_{ki}}{\partial x_i}~\mathbf{e}_k = S_{ki,i}~\mathbf{e}_k \end{align} }[/math]

The above expression is sometimes used as the definition of [math]\displaystyle{ \boldsymbol{\nabla}\cdot\boldsymbol{S} }[/math] in Cartesian component form (often also written as [math]\displaystyle{ \operatorname{div}\boldsymbol{S} }[/math]). 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 [math]\displaystyle{ \boldsymbol{S} }[/math], and is conventional. This is demonstrated by an example. In a Cartesian coordinate system the second order tensor (matrix) [math]\displaystyle{ \mathbf{S} }[/math] is the gradient of a vector function [math]\displaystyle{ \mathbf{v} }[/math].

[math]\displaystyle{ \begin{align} \boldsymbol{\nabla} \cdot \left( \boldsymbol{\nabla} \mathbf{v} \right) &= \boldsymbol{\nabla} \cdot \left( v_{i,j} ~\mathbf{e}_i \otimes \mathbf{e}_j \right) = v_{i,ji} ~\mathbf{e}_i \cdot \mathbf{e}_i \otimes \mathbf{e}_j = \left( \boldsymbol{\nabla} \cdot \mathbf{v} \right)_{,j} ~\mathbf{e}_j = \boldsymbol{\nabla} \left( \boldsymbol{\nabla} \cdot \mathbf{v} \right) \\ \boldsymbol{\nabla} \cdot \left[ \left( \boldsymbol{\nabla} \mathbf{v} \right)^\textsf{T} \right] &= \boldsymbol{\nabla} \cdot \left( v_{j,i} ~\mathbf{e}_i \otimes \mathbf{e}_j \right) = v_{j,ii} ~\mathbf{e}_i \cdot \mathbf{e}_i \otimes \mathbf{e}_j = \boldsymbol{\nabla}^{2} v_{j} ~\mathbf{e}_j = \boldsymbol{\nabla}^{2} \mathbf{v} \end{align} }[/math]

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

[math]\displaystyle{ \begin{align} \left( \boldsymbol{\nabla} \cdot \right)_\text{alt} \left( \boldsymbol{\nabla} \mathbf{v} \right) = \left( \boldsymbol{\nabla} \cdot \right)_\text{alt} \left( v_{i,j} ~\mathbf{e}_i \otimes \mathbf{e}_j \right) = v_{i,jj} ~\mathbf{e}_i \otimes \mathbf{e}_j \cdot \mathbf{e}_j = \boldsymbol{\nabla}^2 v_i ~\mathbf{e}_i = \boldsymbol{\nabla}^2 \mathbf{v} \end{align} }[/math]

Curvilinear coordinates

Main page: Tensors in 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 [math]\displaystyle{ \boldsymbol{S} }[/math] are [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\cdot\mathbf{v} &= \left(\cfrac{\partial v^i}{\partial \xi^i} + v^k~\Gamma_{ik}^i\right)\\ \boldsymbol{\nabla}\cdot\boldsymbol{S} &= \left(\cfrac{\partial S_{ik}}{\partial \xi_i}- S_{lk}~\Gamma_{ii}^l - S_{il}~\Gamma_{ik}^l\right)~\mathbf{g}^k \end{align} }[/math]

More generally, [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\cdot\boldsymbol{S} & = \left[\cfrac{\partial S_{ij}}{\partial q^k} - \Gamma^l_{ki}~S_{lj} - \Gamma^l_{kj}~S_{il}\right]~g^{ik}~\mathbf{b}^j \\[8pt] & = \left[\cfrac{\partial S^{ij}}{\partial q^i} + \Gamma^i_{il}~S^{lj} + \Gamma^j_{il}~S^{il}\right]~\mathbf{b}_j \\[8pt] & = \left[\cfrac{\partial S^i_{~j}}{\partial q^i} + \Gamma^i_{il}~S^l_{~j} - \Gamma^l_{ij}~S^i_{~l}\right]~\mathbf{b}^j \\[8pt] & = \left[\cfrac{\partial S_i^{~j}}{\partial q^k} - \Gamma^l_{ik}~S_l^{~j} + \Gamma^j_{kl}~S_i^{~l}\right]~g^{ik}~\mathbf{b}_j \end{align} }[/math]


Cylindrical polar coordinates

In cylindrical polar coordinates [math]\displaystyle{ \begin{align} \boldsymbol{\nabla}\cdot\mathbf{v} =\quad &\frac{\partial v_r}{\partial r} + \frac{1}{r}\left(\frac{\partial v_\theta}{\partial\theta} + v_r \right) + \frac{\partial v_z}{\partial z}\\ \boldsymbol{\nabla}\cdot\boldsymbol{S} =\quad &\frac{\partial S_{rr}}{\partial r}~\mathbf{e}_r + \frac{\partial S_{r\theta}}{\partial r}~\mathbf{e}_\theta + \frac{\partial S_{rz}}{\partial r}~\mathbf{e}_z \\ {}+{} &\frac{1}{r}\left[\frac{\partial S_{\theta r}}{\partial \theta} + (S_{rr} - S_{\theta\theta})\right]~\mathbf{e}_r + \frac{1}{r}\left[\frac{\partial S_{\theta\theta}}{\partial\theta} + (S_{r\theta} + S_{\theta r})\right]~\mathbf{e}_\theta + \frac{1}{r}\left[\frac{\partial S_{\theta z}}{\partial\theta} + S_{rz}\right]~\mathbf{e}_z \\ {}+{} &\frac{\partial S_{zr}}{\partial z}~\mathbf{e}_r + \frac{\partial S_{z\theta}}{\partial z}~\mathbf{e}_\theta + \frac{\partial S_{zz}}{\partial z}~\mathbf{e}_z \end{align} }[/math]

Curl of a tensor field

The curl of an order-n > 1 tensor field [math]\displaystyle{ \boldsymbol{T}(\mathbf{x}) }[/math] is also defined using the recursive relation [math]\displaystyle{ (\boldsymbol{\nabla}\times\boldsymbol{T})\cdot\mathbf{c} = \boldsymbol{\nabla}\times(\mathbf{c}\cdot\boldsymbol{T}) ~;\qquad (\boldsymbol{\nabla}\times\mathbf{v})\cdot\mathbf{c} = \boldsymbol{\nabla}\cdot(\mathbf{v}\times\mathbf{c}) }[/math] 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 [math]\displaystyle{ \mathbf{v} \times \mathbf{c} = \varepsilon_{ijk}~v_j~c_k~\mathbf{e}_i }[/math] where [math]\displaystyle{ \varepsilon_{ijk} }[/math] is the permutation symbol, otherwise known as the Levi-Civita symbol. Then, [math]\displaystyle{ \boldsymbol{\nabla}\cdot(\mathbf{v} \times \mathbf{c}) = \varepsilon_{ijk}~v_{j,i}~c_k = (\varepsilon_{ijk}~v_{j,i}~\mathbf{e}_k)\cdot\mathbf{c} = (\boldsymbol{\nabla}\times\mathbf{v})\cdot\mathbf{c} }[/math] Therefore, [math]\displaystyle{ \boldsymbol{\nabla}\times\mathbf{v} = \varepsilon_{ijk}~v_{j,i}~\mathbf{e}_k }[/math]

Curl of a second-order tensor field

For a second-order tensor [math]\displaystyle{ \boldsymbol{S} }[/math] [math]\displaystyle{ \mathbf{c}\cdot\boldsymbol{S} = c_m~S_{mj}~\mathbf{e}_j }[/math] Hence, using the definition of the curl of a first-order tensor field, [math]\displaystyle{ \boldsymbol{\nabla}\times(\mathbf{c}\cdot\boldsymbol{S}) = \varepsilon_{ijk}~c_m~S_{mj,i}~\mathbf{e}_k = (\varepsilon_{ijk}~S_{mj,i}~\mathbf{e}_k\otimes\mathbf{e}_m)\cdot\mathbf{c} = (\boldsymbol{\nabla}\times\boldsymbol{S}) \cdot \mathbf{c} }[/math] Therefore, we have [math]\displaystyle{ \boldsymbol{\nabla}\times\boldsymbol{S} = \varepsilon_{ijk}~S_{mj,i}~\mathbf{e}_k\otimes\mathbf{e}_m }[/math]

Identities involving the curl of a tensor field

The most commonly used identity involving the curl of a tensor field, [math]\displaystyle{ \boldsymbol{T} }[/math], is [math]\displaystyle{ \boldsymbol{\nabla}\times(\boldsymbol{\nabla}\boldsymbol{T}) = \boldsymbol{0} }[/math] This identity holds for tensor fields of all orders. For the important case of a second-order tensor, [math]\displaystyle{ \boldsymbol{S} }[/math], this identity implies that [math]\displaystyle{ \boldsymbol{\nabla}\times(\boldsymbol{\nabla}\boldsymbol{S}) = \boldsymbol{0} \quad \implies \quad S_{mi,j} - S_{mj,i} = 0 }[/math]

Derivative of the determinant of a second-order tensor

The derivative of the determinant of a second order tensor [math]\displaystyle{ \boldsymbol{A} }[/math] is given by [math]\displaystyle{ \frac{\partial}{\partial\boldsymbol{A}}\det(\boldsymbol{A}) = \det(\boldsymbol{A})~\left[\boldsymbol{A}^{-1}\right]^\textsf{T} ~. }[/math]

In an orthonormal basis, the components of [math]\displaystyle{ \boldsymbol{A} }[/math] 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 [math]\displaystyle{ \begin{align} I_1(\boldsymbol{A}) & = \text{tr}{\boldsymbol{A}} \\ I_2(\boldsymbol{A}) & = \frac{1}{2} \left[ (\text{tr}{\boldsymbol{A}})^2 - \text{tr}{\boldsymbol{A}^2} \right] \\ I_3(\boldsymbol{A}) & = \det(\boldsymbol{A}) \end{align} }[/math]

The derivatives of these three invariants with respect to [math]\displaystyle{ \boldsymbol{A} }[/math] are [math]\displaystyle{ \begin{align} \frac{\partial I_1}{\partial\boldsymbol{A}} & = \boldsymbol{\mathit{1}} \\[3pt] \frac{\partial I_2}{\partial\boldsymbol{A}} & = I_1~\boldsymbol{\mathit{1}} - \boldsymbol{A}^\textsf{T} \\[3pt] \frac{\partial I_3}{\partial\boldsymbol{A}} & = \det(\boldsymbol{A})~\left[\boldsymbol{A}^{-1}\right]^\textsf{T} = I_2~\boldsymbol{\mathit{1}} - \boldsymbol{A}^\textsf{T}~\left(I_1~\boldsymbol{\mathit{1}} - \boldsymbol{A}^\textsf{T}\right) = \left(\boldsymbol{A}^2 - I_1~\boldsymbol{A} + I_2~\boldsymbol{\mathit{1}}\right)^\textsf{T} \end{align} }[/math]

Derivative of the second-order identity tensor

Let [math]\displaystyle{ \boldsymbol{\mathit{1}} }[/math] be the second order identity tensor. Then the derivative of this tensor with respect to a second order tensor [math]\displaystyle{ \boldsymbol{A} }[/math] is given by [math]\displaystyle{ \frac{\partial \boldsymbol{\mathit{1}}}{\partial \boldsymbol{A}}:\boldsymbol{T} = \boldsymbol{\mathsf{0}}:\boldsymbol{T} = \boldsymbol{\mathit{0}} }[/math] This is because [math]\displaystyle{ \boldsymbol{\mathit{1}} }[/math] is independent of [math]\displaystyle{ \boldsymbol{A} }[/math].

Derivative of a second-order tensor with respect to itself

Let [math]\displaystyle{ \boldsymbol{A} }[/math] be a second order tensor. Then [math]\displaystyle{ \frac{\partial \boldsymbol{A}}{\partial \boldsymbol{A}}:\boldsymbol{T} = \left[\frac{\partial }{\partial \alpha} (\boldsymbol{A} + \alpha~\boldsymbol{T})\right]_{\alpha = 0} = \boldsymbol{T} = \boldsymbol{\mathsf{I}}:\boldsymbol{T} }[/math]

Therefore, [math]\displaystyle{ \frac{\partial \boldsymbol{A}}{\partial \boldsymbol{A}} = \boldsymbol{\mathsf{I}} }[/math]

Here [math]\displaystyle{ \boldsymbol{\mathsf{I}} }[/math] is the fourth order identity tensor. In index notation with respect to an orthonormal basis [math]\displaystyle{ \boldsymbol{\mathsf{I}} = \delta_{ik}~\delta_{jl}~\mathbf{e}_i\otimes\mathbf{e}_j\otimes\mathbf{e}_k\otimes\mathbf{e}_l }[/math]

This result implies that [math]\displaystyle{ \frac{\partial \boldsymbol{A}^\textsf{T}}{\partial \boldsymbol{A}}:\boldsymbol{T} = \boldsymbol{\mathsf{I}}^\textsf{T}:\boldsymbol{T} = \boldsymbol{T}^\textsf{T} }[/math] where [math]\displaystyle{ \boldsymbol{\mathsf{I}}^\textsf{T} = \delta_{jk}~\delta_{il}~\mathbf{e}_i\otimes\mathbf{e}_j\otimes\mathbf{e}_k\otimes\mathbf{e}_l }[/math]

Therefore, if the tensor [math]\displaystyle{ \boldsymbol{A} }[/math] is symmetric, then the derivative is also symmetric and we get [math]\displaystyle{ \frac{\partial \boldsymbol{A}}{\partial \boldsymbol{A}} = \boldsymbol{\mathsf{I}}^{(s)} = \frac{1}{2}~\left(\boldsymbol{\mathsf{I}} + \boldsymbol{\mathsf{I}}^\textsf{T}\right) }[/math] where the symmetric fourth order identity tensor is [math]\displaystyle{ \boldsymbol{\mathsf{I}}^{(s)} = \frac{1}{2}~(\delta_{ik}~\delta_{jl} + \delta_{il}~\delta_{jk}) ~\mathbf{e}_i\otimes\mathbf{e}_j\otimes\mathbf{e}_k\otimes\mathbf{e}_l }[/math]

Derivative of the inverse of a second-order tensor

Let [math]\displaystyle{ \boldsymbol{A} }[/math] and [math]\displaystyle{ \boldsymbol{T} }[/math] be two second order tensors, then [math]\displaystyle{ \frac{\partial }{\partial \boldsymbol{A}} \left(\boldsymbol{A}^{-1}\right) : \boldsymbol{T} = - \boldsymbol{A}^{-1}\cdot\boldsymbol{T}\cdot\boldsymbol{A}^{-1} }[/math] In index notation with respect to an orthonormal basis [math]\displaystyle{ \frac{\partial A^{-1}_{ij}}{\partial A_{kl}}~T_{kl} = - A^{-1}_{ik}~T_{kl}~A^{-1}_{lj} \implies \frac{\partial A^{-1}_{ij}}{\partial A_{kl}} = - A^{-1}_{ik}~A^{-1}_{lj} }[/math] We also have [math]\displaystyle{ \frac{\partial }{\partial \boldsymbol{A}} \left(\boldsymbol{A}^{-\textsf{T}}\right) : \boldsymbol{T} = - \boldsymbol{A}^{-\textsf{T}}\cdot\boldsymbol{T}^\textsf{T}\cdot\boldsymbol{A}^{-\textsf{T}} }[/math] In index notation [math]\displaystyle{ \frac{\partial A^{-1}_{ji}}{\partial A_{kl}}~T_{kl} = - A^{-1}_{jk}~T_{lk}~A^{-1}_{li} \implies \frac{\partial A^{-1}_{ji}}{\partial A_{kl}} = - A^{-1}_{li}~A^{-1}_{jk} }[/math] If the tensor [math]\displaystyle{ \boldsymbol{A} }[/math] is symmetric then [math]\displaystyle{ \frac{\partial A^{-1}_{ij}}{\partial A_{kl}} = -\cfrac{1}{2}\left(A^{-1}_{ik}~A^{-1}_{jl} + A^{-1}_{il}~A^{-1}_{jk}\right) }[/math]

Integration by parts

Domain [math]\displaystyle{ \Omega }[/math], its boundary [math]\displaystyle{ \Gamma }[/math] and the outward unit normal [math]\displaystyle{ \mathbf{n} }[/math]

Another important operation related to tensor derivatives in continuum mechanics is integration by parts. The formula for integration by parts can be written as [math]\displaystyle{ \int_{\Omega} \boldsymbol{F}\otimes\boldsymbol{\nabla}\boldsymbol{G}\,d\Omega = \int_{\Gamma} \mathbf{n} \otimes (\boldsymbol{F}\otimes\boldsymbol{G})\,d\Gamma - \int_{\Omega} \boldsymbol{G}\otimes\boldsymbol{\nabla}\boldsymbol{F}\,d\Omega }[/math]

where [math]\displaystyle{ \boldsymbol{F} }[/math] and [math]\displaystyle{ \boldsymbol{G} }[/math] are differentiable tensor fields of arbitrary order, [math]\displaystyle{ \mathbf{n} }[/math] is the unit outward normal to the domain over which the tensor fields are defined, [math]\displaystyle{ \otimes }[/math] represents a generalized tensor product operator, and [math]\displaystyle{ \boldsymbol{\nabla} }[/math] is a generalized gradient operator. When [math]\displaystyle{ \boldsymbol{F} }[/math] is equal to the identity tensor, we get the divergence theorem [math]\displaystyle{ \int_{\Omega}\boldsymbol{\nabla}\boldsymbol{G}\,d\Omega = \int_{\Gamma} \mathbf{n}\otimes\boldsymbol{G}\,d\Gamma \,. }[/math]

We can express the formula for integration by parts in Cartesian index notation as [math]\displaystyle{ \int_{\Omega} F_{ijk....}\,G_{lmn...,p}\,d\Omega = \int_{\Gamma} n_p\,F_{ijk...}\,G_{lmn...}\,d\Gamma - \int_{\Omega} G_{lmn...}\,F_{ijk...,p}\,d\Omega \,. }[/math]

For the special case where the tensor product operation is a contraction of one index and the gradient operation is a divergence, and both [math]\displaystyle{ \boldsymbol{F} }[/math] and [math]\displaystyle{ \boldsymbol{G} }[/math] are second order tensors, we have [math]\displaystyle{ \int_{\Omega} \boldsymbol{F}\cdot(\boldsymbol{\nabla}\cdot\boldsymbol{G})\,d\Omega = \int_{\Gamma} \mathbf{n}\cdot\left(\boldsymbol{G}\cdot\boldsymbol{F}^\textsf{T}\right)\,d\Gamma - \int_{\Omega} (\boldsymbol{\nabla}\boldsymbol{F}):\boldsymbol{G}^\textsf{T}\,d\Omega \,. }[/math]

In index notation, [math]\displaystyle{ \int_{\Omega} F_{ij}\,G_{pj,p}\,d\Omega = \int_{\Gamma} n_p\,F_{ij}\,G_{pj}\,d\Gamma - \int_{\Omega} G_{pj}\,F_{ij,p}\,d\Omega \,. }[/math]

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.