beamPlotSystem {FEA}R Documentation

beamPlotSystem

Description

Generates heat map for given stress or strain on the beam geometry. Threshold values for the color must be assigned.

Usage

beamPlotSystem(beamP, beamT, PlotVal, a, b, c, d, e, f, g, h, i, j,
                  Oc, ac, bc, cc, dc, ec, fc, gc, hc, ic, jc, LWD)

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

PlotVal

Value to be plotted, either stress or strain, return from function beamLocalStress function.

a

Threshold 1

b

Threshold 2

c

Threshold 3

d

Threshold 4

e

Threshold 5

f

Threshold 6

g

Threshold 7

h

Threshold 8

i

Threshold 9

j

Threshold 10

Oc

Color for all zero values

ac

Color 1

bc

Color 2

cc

Color 3

dc

Color 4

ec

Color 5

fc

Color 6

gc

Color 7

hc

Color 8

ic

Color 9

jc

Color 10

LWD

Line (beam) width

Value

Plot of colored beam based on the plot value

Examples

data(beamGeo)
data(beamStressResult)

PlotVal = beamStressResult

Oc = "slateblue"; ac = "steelblue2"; bc = "cyan2"; cc = "palegreen2";
dc = "darkolivegreen1"; ec = "lemonchiffon"; fc = "lightgoldenrod1";
gc = "gold"; hc= "lightsalmon"; ic= "tomato"; jc= "firebrick3"

a = 1e5;  b = 5e5;  c = 1e6;  d = 5e6;  e = 1e7;  f = 5e7;  g = 1e8;  h = 5e8; i = 1e9; j =5e9
beamPlotSystem(beamGeo$beamP, beamGeo$beamT, PlotVal, a, b, c, d, e, f, g, h, i, j, Oc,
ac, bc, cc, dc, ec, fc, gc, hc, ic, jc, LWD = 4)


[Package FEA version 0.0.2 Index]