<< plot_truss FEMTruss plotmesh >>

FEMTruss >> FEMTruss > plotdeforme

plotdeforme

Plot a deformed truss structure

Calling Sequence

plotdeforme(u,p,t,s)

Parameters

u

the vector of nodal displacement.

p

a matrix containing the coordinate of the points. It's a npoints x 2 matrix for a 2 dimensions structure and a npoints x 3 for a 3 dimensions structure.

t

a matrix containing the list of bars. It's a nbars x 2 matrix. First column corresponds to the point number which starts the bar. Second column corresponds to the point number which ends the bar.

s

a coefficient which allows to amplify the deformations of the structure.

Description

Plot a deformed truss structure.

Examples

[t,p,e,A,E,rho,F] = build_fem_test('bridge2d');

[U,P,R,K,M]= femtruss(build_fem_test, %F, 'bridge2d');

scf();
plotdeforme(U,p,t,1);
title('Deformation');

See Also

Authors


Report an issue
<< plot_truss FEMTruss plotmesh >>