of.boundary.element.stress.ygrad#
- of.boundary.element.stress.ygrad *element_tag* <string> xx <double> xy <double> yy <double>
Create the in-situ stress gradient in y direction 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.ygrad ‘rock’ xx -10e6 yy -30e6