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:

σ(ϕ)ij=1Vnc(x(c)ix(ϕ)i)F(c,ϕ)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.