Hello,

I'm attempting to run a static analysis of a loading & unloading cycle to model an indentation process using Mechanical APDL. Currently, I've been able to successfully complete the loading portion, but I am having trouble adding the second load-step for the unloading. Below is a sample of the solution part of my code:

\SOLU

! LOAD STEP 1- LOADING PROCESS 
D, BC_S1_2, -UY, INDIS (Here, BC_S1_2 is a node set and INDIS is my applied displacement)
ANTYPE,0 
NLGEOM,1 
NSUBST,STP,50,STP
OUTRES,ERASE
OUTRES,ALL,ALL
SOLVE
FINISH

I'm attempting to start the "unloading" load-step from the final deformed configuration of the "loading" load-step. I tried to simply copy the commands for the "loading" step and replace "INDIS" with 0 in the applied displacement line, but was unsuccessful with this attempt. Does anyone know how I can amend my input file to incorporate this unloading step within the APDL editor? I would really appreciate any suggestions! 

Best regards,

Eoghan