May 29, 2023 at 5:08 pm
Amrita Pati
Ansys Employee
Hi Vahram,
You can use the following code to edit the slab mode postions:
setnamed("varFDTD","x0",0.0e-6);
setnamed("varFDTD","y0",0.0e-6);
You can save the test points in a 4X2 matrix (4 test points' x and y co-ordinates) and then use this with the setnamed command as shown below:
V = [1e-6,1e-6;
1e-6,-1e-6;
-1e-6,-1e-6;
-1e-6,1e-6];
Â
setnamed("varFDTD","test points",V);
Please let me know if you have any further questions.
Â
Regards,
Amrita