ball.stress.full

Syntax

Tensor Access

m = ball.stress.full(bp)

Get the full stress tensor arising from all contacts acting on the ball. The stress tensor is computed as:

\[\sigma^{(\phi)}_{ij} = \frac{1}{V} \sum_{n_c}(x^{(c)}_i - x^{(\phi)}_i) F^{(c,\phi)}_j\]

This tensor is returned as a matrix with dimension {2*2 in 2D; 3*3 in 3D}. Use ball.stress to access the symmetric part of the ball stress tensor.

Returns:m - full stress matrix.
Arguments:bp - ball pointer.