of.boundary.element.stress#

of.boundary.element.stress *element_tag* <string> xx <double> xy <double> yy <double>

Create the in-situ stress on the assigned element groups.

Parameters:

element_tag: tag of the group

xx: (default 0.0) In-situ stress in the xx direction

xy: (default 0.0) In-situ stress in the xy direction

yy: (default 0.0) In-situ stress in the yy direction


Example:#

# the rock is under 10 MPa in x direction and 30 MPa is y direction. Negative is compression.
of.boundary.element.stress ‘rock’ xx -10e6 yy -30e6