You are on page 1of 9

fini

/clear
/filnam,cantilever
/prep7
/title,cantilever beam 100lb
c***define two keypoints
k,1,0,0,0
k,2,100,0,0
k,3,77.777
c***create two lines
l,1,3
l,3,2
C*** DEFINE ELEMENT TYPE
ET,1,BEAM3
C***CREATE PARAMETERS
ht=6
Br=4
Ar=ht*Br
MI=Br*ht**3/12

c***create material properties


mp,ex,1,30e6!!! psi
mp,nuxy,1,0.3!!!poisson's ratio
c***create real constant
R,1,Ar,MI,ht
type,1 $mat,1 $real,1
esize,10
lmesh,1,2,1
c***apply boundary cond.
D,1,all,0
c***apply force
F,3,fy,-100
/solu
solve
/post1
prrfor
pldisp,1
prdisp

Create 3 keypoints by using K


command. Use KLIST to list

Create two lines connected


properly.Overlapped lines should not be
created. Use pltctrl/kp/number/on and
line/number on and LPLOT

Input element type, real constant set and


material properties required for analysis.
ET,1,BEAM3
C***CREATE PARAMETERS
ht=6
Br=4
Ar=ht*Br
MI=Br*ht**3/12
c***create material properties
mp,ex,1,30e6!!! psi
mp,nuxy,1,0.3!!!poisson's ratio
c***create real constant
R,1,Ar,MI,ht

Use nplot with node numbers on

Use nlist to list all nodes.


Decide node numbers to apply load and
constraints from this data.

Observe how element size is adjusted because


of rounding off
To higher integer.

You might also like