Learn R Programming

FEA (version 0.0.2)

ElementMat.2d: ElementMat.2d

Description

Generates an element stiffness matrix

Usage

ElementMat.2d(meshP, meshT, Nu, Y, Thick)

Value

Generates initial element matrix needed for the finite element model.

EMPStress

An element matrix of the geometry under stress.

EMPStrain

An element matrix of the geometry under strain.

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.

Nu

Value of Poisson's ratio for each element

Y

Value of Young's (Elastic) modulus for each element

Thick

Value of the thickness of the mesh, a positive value must be given.

Examples

Run this code
data(triMesh)

meshP = triMesh$MeshPts$p
meshT = triMesh$MeshPts$T
Y = matrix(20e9, nrow = NROW(meshT))
Nu = matrix(0.45, nrow = NROW(meshT))
Thick = 0.001
DOF = 6

fea_EM = ElementMat.2d(meshP, meshT, Nu, Y, Thick)

Run the code above in your browser using DataLab