-
-
May 29, 2023 at 1:33 pm
-
May 29, 2023 at 5:08 pmAmrita PatiAnsys 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
-
Viewing 1 reply thread
- The topic ‘How to access variables in varfdtd from the script.’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- How to measure transmission coefficients on a given plane .
Top Contributors
-
1592
-
602
-
599
-
591
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.