secforce2ΒΆ
- Purpose:
Draw the section force diagrams of a two dimensional bar or beam element in its global position.
- Syntax:
secforce2(ex, ey, es, plotpar, sfac)
secforce2(ex, ey, es, plotpar, sfac, eci)
[sfac] = secforce2(ex, ey, es)
[sfac] = secforce2(ex, ey, es, plotpar)
- Description:
The input variables
exandeyare defined inbar2eorbeam2e. The input variablees\(= \begin{bmatrix} S_1 \\ S_2 \\ \vdots \\ S_n \end{bmatrix}\)consists of a column matrix that contains section forces. The values in
esare computed in, e.g.,bar2sorbeam2s.The variable
plotparsets plot parameters for the diagram:plotpar\(= [\, \text{linecolor} \;\; \text{elementcolor} \,]\)where
linecolor
color
elementcolor
color
1
black
1
black
2
blue
2
blue
3
magenta
3
magenta
4
red
4
red
The scale factor
sfacis a scalar that the section forces are multiplied with to get a suitable graphical representation. Ifsfacis omitted in the input list, the scale factor is set automatically.The input variable
eci\(= \begin{bmatrix} \bar{x}_1 \\ \bar{x}_2 \\ \vdots \\ \bar{x}_n \end{bmatrix}\)specifies the local \(\bar{x}\)-coordinates of the quantities in
es. Ifeciis not given, uniform distance is assumed.