<< femmode FEMTruss localise2d >>

FEMTruss >> FEMTruss > femtruss

femtruss

Computes the deformation of a truss structure.

Calling Sequence

[U,P,R,Kref,Mref] = femtruss(ffd,Log,varargin)

Parameters

ffd

a function which returns the parameters of a structure. Must have the following prototype:

[t,p,e,A,E,rho,F] = ffd(varargin(1))

The varargin(1) parameters is optional.

Log

if %T then we print some intermediate messages.

varargin

some optional parameters sent to ffd.

U

the vector of nodal displacement.

P

axial forces in the bars.

R

reaction forces at the fixed nodes.

Kref

the stiffness matrix of the structure.

Mref

the mass matrix of the structure.

Description

Computes the deformation of a truss structure.

Examples

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

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

See Also

Authors


<< femmode FEMTruss localise2d >>