Beam Buckling

FINISH
/CLEAR,NOSTART
/PREP7  

L=100
E=200E5

K,1,0,0,,   
K,2,L,0,,   
LSTR,1,2,10  

ET,1,BEAM188
SECTYPE,1, BEAM, RECT   
SECDATA,10,10,

MP,EX,1,E 
MP,PRXY,1,0.3  

LMESH,ALL

!******************** Static analysis **********************

/SOLU

ANTYPE,STATIC
PSTRES,ON

D,1,ALL,0
F,2,FX,-1

SOLVE

FINISH

!******************** Linear buckling analysis **********************

/SOLU

ANTYPE,BUCKLE
BUCOPT,LANB,3
MXPAND,ALL

SOLVE

/POST1
SET,1,1
/VIEW,1,,-1 
PLNSOL,U,SUM

!******************** Non-linear buckling analysis using UPGEOM **********************
FINISH
/PREP7

UPGEOM,0.1,1,1,file,rst

/SOLU

D,1,ALL,0
F,2,FX,-5E6

ANTYPE,STATIC
NLGEOM,ON
NSUBST,100,10000,100
OUTRES,ALL,ALL

SOLVE

/WINDOW,1,LEFT  
/WINDOW,2,RIGH  

/POST1
PLNSOL,U,SUM

/WINDOW,1,OFF
/WINDOW,2,ON
/NOERASE

/POST26
NSOL,2,2,U,Z,UZ_node2
PLVAR,2