elflux2ΒΆ
- Purpose:
Draw element flow arrows for two dimensional elements.
- Syntax:
[sfac] = elflux2(Ex, Ey, Es)
[sfac] = elflux2(Ex, Ey, Es, plotpar)
elflux2(Ex, Ey, Es, plotpar, sfac)
- Description:
elflux2displays element heat flux vectors (or corresponding quantities) for a number of elements of the same type. The flux vectors are displayed as arrows at the element centroids. Note that only the flux vectors are displayed. To display the element mesh, useeldraw2.Input variables are the coordinate matrices
ExandEy, and the element flux matrixEsdefined inflw2tsorflw2qs.The variable
plotparsets plot parameters for the flux arrows:plotpar\(= [\, arrowtype \;\; arrowcolor \,]\)where
\(arrowtype\)
\(arrowcolor\)
1
solid line
1
black
2
dashed line
2
blue
3
dotted line
3
magenta
4
red
Default, if
plotparis omitted, is solid black arrows.The scale factor
sfacis a scalar that the values are multiplied with to get a suitable arrow size in relation to the element size. The scale factor is set automatically if it is omitted in the input list.- Limitations:
Supported elements are triangular 3 node and quadrilateral 4 node elements.