Mechanical APDL Basic Analysis Guide

(Axel Boer) #1

nsel,s,loc,x,4
f,all,fx,10e5! First load vector (FX)
nsel,all
solve! First modal solve
save,case1,db
finish
/clear,nostart


/filname,case1
resume,,db
finish


/com,
/com, Adding New elements
/com,


/prep7
et,2,surf153! 2D Structural effect element
keyopt,2,4,1! No midside node
mp,dens,2,0! Density set to zero so it won't affect modal analysis results
type,2
mat,2
lmesh,2
allsel,all
finish


/com,
/com, Modal Restart Analysis
/com,


/solu
antype,modal,restart! Restart previous modal solve to define new load vectors
fdele,all,fx! Delete previously defined load
modcontrol,on! Generate multiple load vectors
mxpand,20,,,yes! Expand modes
esel,s,type,,2
sfe,all,1,pres,0,20000! First load vector (SFE) overwrites the load vector generated
allsel,all! in the first modal solve (FX)
solve! First solve in modal anlayiss restart


sfedele,all,1,pres,0! Delete previously defined load
nsel,s,loc,x,2
nsel,r,loc,y,2
f,all,fy,-10e5! Second load vector (FY)
allsel,all
solve! Second solve in modal anlayiss restart
finish


/com,
/com, MSUP harmonic analysis by scaling the loads generated in modal solve
/com,


/solu
antype,harmonic! Perform Harmonic analysis
hropt,msup,20
fdele,all,fy! Delete loads defined in the modal analysis
fdele,all,fx
sfedele,all,1,pres,0
outres,all,all
hrout,on
harfrq,315,325! Excitation frequency
nsubs,20,20,20! Number of substeps
kbc,1
lvscale,0.5,1! Scale the first load vector (SFE)
lvscale,0.0,2! Do not scale the second load vector (FY)
solve
finish


/com,
/com, Expansion of MSUP harmonic results
/com,


Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

Restarting an Analysis
Free download pdf