/prep7
/title,Random Vibration of a Cantilever Beam with a Point Mass
et,1,beam4
et,2,mass21,,,2
mp,ex,1,200e9
mp,nuxy,1,0.3
mp,alpx,1,0.1e-5
mp,dens,1,8000
r,1,4,1.333,1.333,2,2,0
rmore,0,2.2496,1.177,1.177
r,2,100000
n,1,0
n,101,20
fill
e,1,2
egen,100,1,1
d,1,all
type,2
real,2
e,101
finish
/solu
antype,modal
modopt,reduc,5
m,all,uy
mxpand,5
solve
*get,freq1,mode,1,freq
*get,freq2,mode,2,freq
*get,freq3,mode,3,freq
*get,freq4,mode,4,freq
*get,freq5,mode,5,freq
finish
*go,:skip2
/solu
antype,modal
modopt,reduc,5
m,all,uy
mxpand,5
solve
*get,freq1,mode,1,freq
*get,freq2,mode,2,freq
*get,freq3,mode,3,freq
*get,freq4,mode,4,freq
*get,freq5,mode,5,freq
finish
:skip2