Learn R Programming

FEA (version 0.0.2)

EulerBeamFEA: EulerBeamFEA

Description

Calculates stress in beam structures using the Euler-Bernoulli beam theory.

Usage

EulerBeamFEA(Y, beamP, beamT, fx, fy, BCtran, BCrot, Length, MoI, RotAng)

Value

Calculates local forces and stresses, as well as bending stress for beams following the Euler-Bernoulli beam theory.

Stress

Local stress at node

LocalLoad

Local load at node

BendingStress

Bending Stress

Arguments

Y

Elastic modulus value for material (Pa).

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).

fx

Load value (newtons) in the x direction.

fy

Load value (newtons) in the y direction.

BCtran

Boundary constraint for nodes to translate in x or y directions. Input as a non-matrix column.

BCrot

Boundary constraint for nodes to rotate. Input as a non-matrix column.

Length

Length of beam.

MoI

Moment of inertia for each beam segment.

RotAng

Angle of rotation

Examples

Run this code
data(beamGeo)
data(beamDime)

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

beamFEA = EulerBeamFEA(beamGeo$Y, beamGeo$beamP, beamGeo$beamT, beamGeo$fx, beamGeo$fy,
                       beamGeo$BCtran, beamGeo$BCrot, Length, MoI, RotAng)

Run the code above in your browser using DataLab