LocalStress.2d {FEA}R Documentation

LocalStress.2d

Description

Calculates local stress and strain for triangular elements of the mesh

Usage

LocalStress.2d(meshP, meshT, Y, Nu, GlobalND)

Arguments

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

Value

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]

Examples


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)



[Package FEA version 0.0.2 Index]