eldisp2ΒΆ
- Purpose:
Draw the deformed mesh for a two dimensional structure.
- Syntax:
[sfac] = eldisp2(Ex, Ey, Ed)
[sfac] = eldisp2(Ex, Ey, Ed, plotpar)
eldisp2(Ex, Ey, Ed, plotpar, sfac)
- Description:
eldisp2displays the deformed mesh for a two dimensional structure.Input variables are the coordinate matrices
ExandEyformed by the functioncoordxtr, and the element displacementsEdformed by the functionextract_ed.The variable
plotparsets plot parameters for linetype, linecolor and node marker:plotpar\(= [\, linetype \quad linecolor \quad nodemark \,]\)where
\(linetype\)
\(linecolor\)
\(nodemark\)
1
solid line
1
black
1
circle
2
dashed line
2
blue
2
asterisk
3
dotted line
3
magenta
0
no mark
4
red
Default is dashed black lines with circles at nodes.
The scale factor
sfacis a scalar that the element displacements are multiplied with to get a suitable geometrical representation. The scale factor is set automatically if it is omitted in the input list.- Limitations:
Supported elements are bar, beam, triangular three node, and quadrilateral four node elements.