Imtiaz Gandikota
Ansys Employee

This looks like a script to run ls-opt in batch mode.

lsopt T005_003_xxxxx.lsopt

The above command runs lsopt project file, T005_xxxx.lsopt, in batch mode. When you open this project file in GUI, what do you have for ls-dyna solver command? You probably need a similar script but with last line (ls-dyna solver command) not commented out and you need to have i= DynaOpt.inp (instead of i= T005_parameters.k).