0% found this document useful (0 votes)
28 views

Example 1

This document contains instructions for assembling element stiffness matrices, applying loads, solving for displacements, and outputting results for a finite element analysis problem. Element properties and applied loads are input and the system of equations is solved to calculate displacements which are then used to find reactions.

Uploaded by

Muhammad Safdar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Example 1

This document contains instructions for assembling element stiffness matrices, applying loads, solving for displacements, and outputting results for a finite element analysis problem. Element properties and applied loads are input and the system of equations is solved to calculate displacements which are then used to find reactions.

Uploaded by

Muhammad Safdar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

start

no
zero,K,2,2
c,1
assemble element stiffness matrices k=k1+k2
for,2
gbeam,k
asmb,K,k
next
0,4,1,2
0,0,1,2
4,8,1,1
1,2,0,0
read,Qk,2,1,1
-20,40
read,Qf,2,1,1
0,0
for,2
read,fea,4,1,1
asmb,Qf,fea
next
18,12,18,-12
0,0,1,2
0,0,0,0
1,2,0,0
write,Qf
sub,Qk,Qf,Qkk
solve,K,Qkk
ren,Qkk,Du
write,Du
for,2
gbeam,k
dsmb,Du,d,4
mul,k,d,p
read,qf,4,1,1
add,p,qf,q
write,q
next
0,4,1,2
0,0,1,2
0,0,0,0
18,12,18,-12
4,8,1,1
1,2,0,0
0,0,0,0
0,0,0,0
stop

You might also like