`rblock.stress`

Syntax

- t = rblock.stress(p)
Get the stress tensor arising from all contacts acting on the rblock. 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\]Returns: t - stress tensor Arguments: p - rigid block pointer

Stresses are expressed in the global system. Note that compressive stresses are negative.

Component Access

f = `rblock.stress`

(p)`->xx`

- f = rblock.stress.xx(p)
Get the \(xx\)-value of the stress.

Returns: f - \(xx\)-value of the stress tensor Arguments: p - rigid block pointer

Access other tensor components (\(yy\), \(zz\), \(xy\), \(xz\), \(yz\)) by substituting the component name where \(xx\) appears above. \(xz\), \(yz\), and \(zz\) are *3D only*. See Member Access Operator for information about accessing members from data types using `->`

.

Deprecated Component Access

Component access by adding optional integer(s) in the function arguments (e.g., `f = rblock.stress(p, 1, 1)`

) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |