We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Installation and Licensing Ansys Products How to get the rotations of each node in a plate modeled through solid elements? Reply To: How to get the rotations of each node in a plate modeled through solid elements?

Mehdi Baghaee
Subscriber

/BATCH  
/input,menust,tmp,''
WPSTYLE,,,,,,,,0
/NOPR   
KEYW,PR_SET,1   
KEYW,PR_STRUC,1 
KEYW,PR_THERM,0 
KEYW,PR_FLUID,0 
KEYW,PR_ELMAG,0 
KEYW,MAGNOD,0   
KEYW,MAGEDG,0   
KEYW,MAGHFE,0   
KEYW,MAGELC,0   
KEYW,PR_MULTI,0 
/GO 
/PREP7  
ET,1,SOLID185   
MPTEMP,,,,,,,,  
MPTEMP,1,0  
MPDATA,EX,1,,1e9
MPDATA,PRXY,1,,.3   
MPTEMP,,,,,,,,  
MPTEMP,1,0  
MPDATA,DENS,1,,6700 
BLOCK,0,10,0,10,0,1,
FLST,5,8,4,ORDE,2   
FITEM,5,1   
FITEM,5,-8  
CM,_Y,LINE  
LSEL, , , ,P51X 
CM,_Y1,LINE 
CMSEL,,_Y   
LESIZE,_Y1, , ,10, , , , ,1 
MSHAPE,0,3D 
MSHKEY,1
CM,_Y,VOLU  
VSEL, , , ,       1 
CM,_Y1,VOLU 
CHKMSH,'VOLU'   
CMSEL,S,_Y  
VMESH,_Y1   
CMDELE,_Y   
CMDELE,_Y1  
CMDELE,_Y2  
*dim,impulse,table,3
*SET,impulse(1,1),1,0       ,  0              ! VALUES OF EXCITATION
*SET,impulse(1,0),0,22*timestup,  1 ! CORRESPONDING VALUES OF TIME  
F, 177, FZ, %impulse%   
WPSTYLE,,,,,,,,0
FLST,2,44,1,ORDE,12 
FITEM,2,1   
FITEM,2,-11 
FITEM,2,122 
FITEM,2,143 
FITEM,2,153 
FITEM,2,-161
FITEM,2,243 
FITEM,2,-244
FITEM,2,267 
FITEM,2,-268
FITEM,2,287 
FITEM,2,-304
/GO 
D,P51X,ALL, , , , , , , , , ,   
ANTYPE,4
TRNOPT,FULL 
LUMPM,0 
FINISH  
/SOL
NSUBST,1000,0.01,0.001  
OUTRES,ERASE
OUTRES,ALL,ALL  
TIME,1  
SOLVE   
/post1
set,last,last
*dim,node11,array,2,3,1
node11(1,1)=nx(11)
node11(2,1)=nx(11)+ux(11)
node11(1,2)=ny(11)
node11(2,2)=ny(11)+uy(11)
node11(1,3)=nz(11)
node11(2,3)=nz(11)+uz(11)
*vfun,local11,local,node11(1,1),12

faced error!