Learn R Programming

FEA (version 0.0.2)

beamStress: beamStress

Description

Calculates local stress and strain for beam elements

Usage

beamStress(beamP, beamT, Y, Length, MoI, RotAng, BND)

Value

Completes FEM by calculating values of stress and strain, produces three (3) [3 x n] matrix.

BendingStress

Bending Stress

Arguments

beamP

Matrix (2 x n) of beam coordinates.

beamT

Matrix (2 x n) containing the number of the coordinate point as shown in beamP that connect to form a given beam (Discretization table).

Y

Value of Young's (Elastic) modulus

Length

Length of beam

MoI

Moment of Inertia

RotAng

Angle of rotation

BND

Global nodal displacement matrix, return from function beamNodeDis

Examples

Run this code
data(beamGeo)
data(beamGLforce)

Length = beamDime$Length
MoI = beamDime$MomentofInertia
RotAng = beamDime$Angle
BND = beamND

beamBendStress = beamStress(beamGeo$beamP, beamGeo$beamT, beamGeo$Y, Length, MoI, RotAng, BND)

Run the code above in your browser using DataLab