Prashanth
Ansys Employee

Hi 

DEFINE_CG_MOTION can be used. You can also check a example case in the UDF manual.