General Mechanical

General Mechanical

How to save results every nth load step?

    • twata
      Subscriber
      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?n
    • Chris Quan
      Ansys Employee
      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): nsave=3 ! save every third solution (n=3 here) n*get,a1,active,,solu,ncmls ! gets number of completed load steps nb1=mod(a1,save) ! remainder so 0 means it is a multiple of save n*if,b1,eq,0,then outres,erase noutres,all,all n*else noutres,erase noutres,all,none n*endifnn
Viewing 1 reply thread
  • You must be logged in to reply to this topic.