Learn R Programming

FEA (version 0.0.2)

GLForces.2d: GLForces.2d

Description

Uses nodal displacements to determine global and local forces at each node

Usage

GLForces.2d(meshP, meshT, GMat, GlobalND, EMatrixlist)

Value

Matrices of global and local forces

GForce

Large global force matrix.

Lforce

Large local force matrix.

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.

GMat

Global matrix

GlobalND

Global nodal displacement

EMatrixlist

Element matrix list

Examples

Run this code
data(triMesh)
data(gloMat)
data(displacN)
data(fea_EM)

meshP = triMesh$MeshPts$p
meshT = triMesh$MeshPts$T
GMat = gloMat
GlobalND = displacN$GlobalND
EMatrixlist = fea_EM$EMPStress

glfor = GLForces.2d(meshP, meshT, GMat, GlobalND, EMatrixlist)

Run the code above in your browser using DataLab