July 16, 2021 at 9:17 amzhenjiehanSubscriber
I have a question, what does “fundamental mode” in port stand for?
Does it stand for both TE and TM mode together?
If I want to choose both fundamental TE and fundamental TM mode, what should I write script?
The folloing script doesn't take effect.
# elif GC_settings['polarization']=='TE,TM': # polarization ='2,3'
# set polarization if GC_settings['polarization']=='TE': polarization = '2' elif GC_settings['polarization']=='TM': polarization ='3' # elif GC_settings['polarization']=='TE,TM': # polarization ='2,3' lumapi.evalScript(_globals.FDTD,"select('FDTD::ports::port 1'); set('mode selection',%s);" % polarization) lumapi.evalScript(_globals.FDTD,"select('FDTD::ports::port 2'); set('mode selection',%s);" % polarization)July 16, 2021 at 4:52 pmGuilin SunAnsys EmployeePlease refer the previous post for "fundamental".
As suggested previously, please first test in FDTD before using python.
the fundamental TE and TM can be selected separately. If you want to have 2 or more modes being excited, please use "user select", and choose the mode sequence numbers. Therefore, you will need to first check the sequence numbers before you assign values, in order to make sure they are what you expect. You can then/also check them again in "visualizer" by clicking "
Viewing 1 reply thread
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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.
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
- Ansys Insight: Diverging Simulations
- Ansys Insight: About override mesh in FDTD: its use and settings
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Convergence issues in CHARGE
- Is there a Lumerical script command to output the Simulation and Memory requirements?
Top Rated Tags
© 2022 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.