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\]
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.
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? ... | Itasca Software © 2024, Itasca | Updated: Sep 26, 2024 |