Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › How to get time at substep? › Reply To: How to get time at substep?
July 28, 2021 at 10:59 am
Erik Kostson
Ansys Employee
Hi
Yes, we can get the time by setting (set command) the desired substep to look at
SO below we look at substep=2 (out of 3).
/post1
substep=2
*GET, my_lsteps, ACTIVE, 0, SET, LSTP
*GET, my_nsteps, ACTIVE, 0, SET, SBST
set,my_lsteps,substep ! sets the specific load and sub-step
*GET, my_time, ACTIVE, 0, SET, TIME
Hope this helps
Yes, we can get the time by setting (set command) the desired substep to look at
SO below we look at substep=2 (out of 3).
/post1
substep=2
*GET, my_lsteps, ACTIVE, 0, SET, LSTP
*GET, my_nsteps, ACTIVE, 0, SET, SBST
set,my_lsteps,substep ! sets the specific load and sub-step
*GET, my_time, ACTIVE, 0, SET, TIME
Hope this helps