View source: R/LocalStress.2d.R
LocalStress.2d | R Documentation |
Calculates local stress and strain for triangular elements of the mesh
LocalStress.2d(meshP, meshT, Y, Nu, GlobalND)
meshP |
Matrix (2 x n) containing coordinate points of the mesh nodes. |
meshT |
Matrix (3 x n) containing the number of the coordinate point that forms a given triangle within the mesh. |
Y |
Value of Young's (Elastic) modulus |
Nu |
Value of Poisson's ratio |
GlobalND |
Global nodal displacement, return from function NodeDis |
Completes FEM by calculating values of stress and strain, produces three (3) [3 x n] matrix.
Strain |
Calculated strain. [x, y, tau] |
Stress |
Calculated stress in pascals. [x, y, tau] |
StressStrain |
Stress as calucated from strain. [x, y, tau] |
data(triMesh) data(displacN) meshP = triMesh$MeshPts$p meshT = triMesh$MeshPts$T Y = matrix(20e9, nrow = NROW(meshT)) Nu = matrix(0.45, nrow = NROW(meshT)) GlobalND = displacN$GlobalND fea_result = LocalStress.2d(meshP, meshT, Y, Nu, GlobalND)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.