TAGGED: Lumerical-FDTD
-
-
October 30, 2021 at 9:36 amamoraSubscriber
Hello,
I am trying to simulate a cylinder that is covered by another hollow cylinder. I mean that the inner cylinder will be covered from sides and top by another hollow cylinder. How can I script that please? I was thinking to simulate two overlapping cylinders. Then, try to decrease the mesh order of the inner cylinder to have priority in the simulation but I couldn't because the material of the inner cylinder is protected so I couldn't change its properties. If I have two overlapping cylinders, they will be having the same mesh order. Also the inner cylinder will pass through a rectangular film. I need to create a hole in this film to avoid the overlapping between the film and the inner cylinder. How to solve that please?
Thanks
November 1, 2021 at 6:22 pmNovember 1, 2021 at 6:36 pmamoraSubscriberI tried to change the mesh order of the inner cylinder to be 1, so it will take priority in the running. I used this script to change the mesh order:
setmaterial( "Au (Gold) - Palik", "mesh order", 1);
However, I got this error:
Error: prompt line 104: The material, Au (Gold) - Palik, is write protected.
It means that I won't be able to change the mesh order because the material is protected.
What's the solution please?
November 1, 2021 at 7:55 pmNovember 1, 2021 at 8:12 pmamoraSubscriberOh, I see, how can I do that using script? I am using script.
I tried to use :set("set override mesh order",1); to enable override mesh but it didn't work
Is there any command to solve that please?
November 1, 2021 at 8:18 pmGuilin SunAnsys Employeethere is no such "set override mesh order"!
Please use
?setnamed("rectangle") if the object name is "rectangle"
to get all the variables that can be set through script.
Please try the following
setnamed("rectangle","override mesh order from material database",1);
setnamed("rectangle","mesh order", 1);
November 1, 2021 at 8:26 pmamoraSubscriberOk, thanks.
I just need to know, is reducing or increasing the mesh order affect the accuracy of the result? I know that decreasing the mesh order gives the priority in the simulation but does it affect the accuracy?
November 1, 2021 at 8:34 pmGuilin SunAnsys EmployeeNo, the mesh order only affects the geometry to make sure the shape is correct.
November 1, 2021 at 8:35 pmamoraSubscriberthanks
Viewing 8 reply threads- The topic ‘An inquiry regarding simulating hollow cylinder’ is closed to new replies.
Ansys Innovation SpaceTrending 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
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
Top Contributors-
1216
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 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.
-