<< FEMTruss FEMTruss dfemtruss_ana >>

FEMTruss >> FEMTruss > build_fem_test

build_fem_test

create some test structures in 2 or 3 dimensions.

Calling Sequence

[t,p,e,A,E,rho,F] = build_fem_test(test_name)

Parameters

test_name

the name of the structure to be created. Can be:

'2bars' 'pylon2d'
'truss' 'pylon3d'
'dev5' 'building2d'
'bridge2d' 'building3d'
'bridge3d' 'dome'
'bar'
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.

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.

e

a matrix containing the list of fixed degrees of freedom.

A

a vector which contains the value of the sections of the bars. Must be a vector of size nbars.

E

a vector which contains the modulus of elasticity of the bars. Must be a vector of size nbars.

rho

a vector which contains the volumic mass of the bars. Must be a vector of size nbars.

F

list of forces applied to the nodes. Must be a vector of size 2 x npoints for a 2 dimensions structure and a vector of size 3 x npoints for a 3 dimensions structure.

Description

Create some test structures in 2 or 3 dimensions.

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
<< FEMTruss FEMTruss dfemtruss_ana >>