-
-
July 12, 2023 at 4:35 pm
Jack
SubscriberHi All
I've run into a problem where when I create an FDTD instance in Lumerical I get an error mid-way through build saying
"The program must be terminated due to insufficient memory."
I have 128GB RAM and 4TB storage so this isn't an issue. I've tried increasing the mesh size but to no avail.
What's strange is if I build it manually I can run it fine. Would anyone know what the issue could be? I've tracked it on Task Manager and there doesn't seem to be a spike in specs or anything.
Any help would be appreciated.
-
July 12, 2023 at 8:05 pm
Jack
SubscriberFor reference here is the first first part of the code. Specifically I get the error on line 59. Above there are just variables that define things.
The x span is set to be 1 micron with conformal variable 0 mesh and the background index is set to 1.333.
When I set the x span to be 10nm the program is not shut down due to insufficient memory but the elements are added to the build extremely slowly (140 seconds to add 5 elements). Before it used to start running the simulation in under 10 seconds. Nothing has changed but this has happened all of a sudden.
When I construct this in GUI it works fine and I can use python to load files and save them just not create new ones.
-
July 13, 2023 at 7:35 pm
Guilin Sun
Ansys EmployeeDid you find the solution as this post was closed?
Usually I suggest to test the Lumerical script first to make sure everything works fine when Python script causes some issues.
Currently creating geometris with Python is a little slow which is under improvement. Please use struct for parameter assignments to improve the efficiency.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Error on Lumerical device
- Ansys Insight: About override mesh in FDTD: its use and settings
- Finding your Ansys (or Lumerical) account number
- Lumerical – error message when trying to open from Linux terminal
-
7742
-
4502
-
2961
-
1449
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.