Tagged: complex-index, lumopt
-
-
April 14, 2022 at 7:37 am
pengzheng97
SubscriberI need to use the lumopt with complex index, but meet some problems
CONFIGURATION FILE {'root': 'D:\Program Files\Lumerical\api\python', 'lumapi': 'D:\Program Files\Lumerical\api\python'}
Initializing super optimization
Wavelength range of source object will be superseded by the global settings.
Traceback (most recent call last):
File "D:/Program Files/Lumerical/python-3.6.8-embed-amd64/fdtd-python/fdtd/JXP/Au_R.py", line 89, in
beta=1)
File "D:/Program Files/Lumerical/python-3.6.8-embed-amd64/fdtd-python/fdtd/JXP/Au_R.py", line 58, in runSim
opt.run(working_dir=working_dir)
File "D:Program FilesLumericalapipythonlumoptoptimization.py", line 351, in run
self.initialize(working_dir=working_dir)
File "D:Program FilesLumericalapipythonlumoptoptimization.py", line 97, in initialize
list(map(init_suboptimization, self.optimizations))
File "D:Program FilesLumericalapipythonlumoptoptimization.py", line 93, in init_suboptimization
cur_optimization.initialize(local_working_dir)
File "D:Program FilesLumericalapipythonlumoptoptimization.py", line 558, in initialize
self.geometry.add_geo(self.sim, start_params, only_update = False)
File "D:Program FilesLumericalapipythonlumoptgeometries opology_complex.py", line 481, in add_geo
eps = self.eps if params is None else self.get_eps_from_params(sim, params.reshape(-1))
File "D:Program FilesLumericalapipythonlumoptgeometries opology_complex.py", line 189, in get_eps_from_params
'eps_geo = topoparamstoindex(params,topo_rho);').format(self.eps_min,self.eps_max,self.filter_R,self.beta,self.eta,self.dx,self.dy) )
File "D:Program FilesLumericalapipythonlumapi.py", line 1184, in eval
evalScript(self.handle, code)
File "D:Program FilesLumericalapipythonlumapi.py", line 248, in evalScript
raise LumApiError("Failed to evaluate code")
lumapi.LumApiError: 'Failed to evaluate code'
Process finished with exit code 1
and I use the complex like this
eps_wg = (6.5+8j) ** 2 eps_bg = 1 ** 2
there is any solution to solve it?
best wish!😁
April 19, 2022 at 12:23 amTaylor Robertson
Ansys Employee
Unfortunately topology optimization doesn't currently support materials with complex indices. You could submit this as feature request to IX.
https://ix.lumerical.com
Viewing 1 reply thread- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth 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.
Trending discussions- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: Diverging Simulations
- Ansys Insight: Transmission results greater than one
- Ansys Insight: About override mesh in FDTD: its use and settings
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Convergence issues in CHARGE
Top Contributors-
2656
-
2120
-
1347
-
1118
-
461
Top Rated Tags© 2023 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.
-