How to save results every nth load step?

I have multiple load steps, and the result file created is very big. Can I save results at specific intervals if I don't need results at each timestep?


  • cxquancxquan Berkeley, CAForum Coordinator

    One may use following command to save results every nth step: (In Mechanical Insert a command object under Transient, set the Step Selection Mode to All with these commands): 

    save=3            ! save every third solution (n=3 here)

    *get,a1,active,,solu,ncmls  ! gets number of completed load steps

    b1=mod(a1,save)       ! remainder so 0 means it is a multiple of save 

    *if,b1,eq,0,then outres,erase






Sign In or Register to comment.