Description Usage Arguments Details Value Author(s) See Also Examples
Calculate the shear stress along an arbitrary line in a plane with stress orientation
1 2 |
Rp |
rotated points describing plane |
P1 |
point 1 extracted from screen (locator) |
P2 |
point 2 extracted from screen |
Rview |
rotation matrix for viewing |
ES |
eigen value decomposition from eigen |
NN |
normal vector to plan in unrotated coordinates |
L |
list locations (x,y) in the figure, projected to the plane |
Used internally in stress. When the plan is plotted, if two points are located on the figure, the points are positions on the plan and un-rotated using the Rview matrix. Then the shear stress in the plan along that line is calculated and returned.
shear stress along the line indicated
Jonathan M. Lees<jonathan.lees@unc.edu>
stress,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 28 29 30 31 32 | S= stressSETUP()
pstart()
PLOTplane(S$Rp, planecol="brown")
PLOTbox(S$Rax, S$Rbox, axcol= 'green', boxcol= 'purple')
## L = locator(2)
L=list()
L$x=c(-13.6305297057, 52.6412739525)
L$y=c(26.2697350325,32.4501696158)
Stensor = matrix(c(
15, 0, 0,
0, 10, 0,
0, 0, 5), ncol=3)
P1 = list(x=L$x[1], y=L$y[1])
P2 = list(x=L$x[2], y=L$y[2])
ES = eigen(Stensor)
NN = NORMvec(S$PPs, S$xscale, S$Rview, aglyph=S$aglyph, add=FALSE)
tauline(S$Rp, P1, P2, S$Rview, ES, NN)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.