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:

eldisp2 displays the deformed mesh for a two dimensional structure.

Input variables are the coordinate matrices Ex and Ey formed by the function coordxtr, and the element displacements Ed formed by the function extract_ed.

The variable plotpar sets 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 sfac is 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.