TAGGED: DEVIECE-Lumerical-charge, FEEM, python
-
-
April 3, 2025 at 12:21 pm
martinmi
SubscriberHi all,Â
I get an error. As I expected, I need to first use
switchtolayout()
and then useselect("FEEM")
andset("mesh lock", 1)
. The problem is that Mesh Lock cannot be turned on manually when you are in Layout mode. That’s why, when I try toset("mesh lock", 1)
in Layout mode, I do not get any errors, but I am also not setting the Mesh Lock on.Can someone tell me how to activate Mesh Lock not manually, but with Python code, so that after I simulate, I can turn Mesh Lock on in my script?
Thanks a lot for the help.
Best regards,Â
MartinÂ
Â
-
April 3, 2025 at 2:21 pm
martinmi
SubscriberHi all,Â
I just found what I was looking for. If anyone else is struggling with the same problem you need first.
- Set the FEEM Solver and boundary conditionsÂ
- run first meh("FEEM")
- then run the set("mesh lock", 1)
Best regards,Â
MartinÂ
-
April 3, 2025 at 11:11 pm
Kirill
Forum ModeratorDear Martin,
I'm glad you have found the solution. Thank you for sharing!
Please consider marking the question as 'resolved.'Best regards,
Kirill
-
- You must be logged in to reply to this topic.
-
3587
-
1193
-
1086
-
1068
-
952
© 2025 Copyright ANSYS, Inc. All rights reserved.