stress: Stress Box

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Display interactive Stress Box illustrating normal and shear stress on an arbitrary plane given a stress tensor.

Usage

1
2
stress(PPs = matrix(ncol = 4, nrow = 3), Rview = c(-130, -50),
xscale = 100, Stensor = matrix(ncol = 3, nrow = 3))

Arguments

PPs

3Points in 3 by 4 matrix

Rview

Viewing matrix

xscale

arbitrary scale

Stensor

stress tensor

Details

Interactive program to examine stress. To change the plane orientation, click on one of the points and then on a new position along the axis selected.

If a stress tensor is provided, then a second graphics device is required to show the Mohr's circle.

Value

Graphical Side effects

Note

Uses RPMG for interaction.

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

pstart, PLOTbox, PLOTplane, NORMvec

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Not run: 
#####   no stress tensor provided => no mohr's circle
stress()

#########################  run program with a stress tensor
Stensor = matrix(c(
15, 0, 0,
0, 10, 0,
0,  0, 5), ncol=3)


stress(Stensor=Stensor)

P1 = c(0.2, 1, 1, 0)
P2 = c(1, 0.1, 1, 0)
P3 = c(1, 1, 0.4, 0)

  S = stressSETUP(P1, P2, P3, xscale=30   )

stress(PPs = S$PPs, Rview =S$Rview,
     xscale = S$xscale, Stensor=Stensor )





## End(Not run)

geophys documentation built on May 1, 2019, 9:26 p.m.