Amrita Pati
Ansys Employee

Hi Peng,

If you wish to do it by script, in your file adding sweep.lsf, I would suggest you to replace Line 36 to 41 by the following code and then run the script:

sweep_result = struct;
sweep_result.Name = “fom”;
sweep_result.Result = “::model::fom_exp::expansion for fom”;
addsweepresult(“sweep source position”,sweep_result);
runsweep(“sweep source position”);
result = getsweepresult(“sweep source position”,”fom”);
T = result.T_backward;

Please let me know what happens when you do this. Thank you!


Regards,
Amrita