Description Usage Arguments Details Value Note Author(s) See Also Examples
Display interactive Stress Box illustrating normal and shear stress on an arbitrary plane given a stress tensor.
1 2 |
PPs |
3Points in 3 by 4 matrix |
Rview |
Viewing matrix |
xscale |
arbitrary scale |
Stensor |
stress tensor |
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.
Graphical Side effects
Uses RPMG for interaction.
Jonathan M. Lees<jonathan.lees@unc.edu>
pstart, PLOTbox, PLOTplane, NORMvec
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.