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(xi(c)xi(ϕ))Fj(c,ϕ)

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.