May 31, 2021 at 2:58 pmcqtaveeSubscriber
I am trying to simulate this example recently: Edge coupler – Lumerical Support
In the Script file of the no substrate case, (file name: Edge_Coupler_No_Substrate.lms) they are using codes to add taper structures. However, when they are adding the Si substrate override mesh, they used these two lines (line 158 and 159) of codes which cannot run on my computer.
set("set mesh multiplier",true);
set("z mesh multiplier",4);
May I ask what is the meaning of these two lines? Are they important for this program?June 1, 2021 at 12:59 pmGuilin SunAnsys EmployeeHi, This is a special feature for MODE product: it means thatthe override mesh size changes the multiplier times from the original mesh .When the "mesh multiplier" is larger than 1,the mesh is finer; when it is smaller than 1, it is coarser.
set("set mesh multiplier",true); to enable this feature
set("z mesh multiplier",4); to assign value
I tested both R1.3 and R1.4 in FDE and both work. here is the test for the same file you mentioned:
Please check the error message and make some modifications after some diagnoses.
You can enable anther feature (by default) to directly assign the override mesh:
The script is similar. Please try.
Or you may need to update the version. or please tell us what is your computer OS version.
June 1, 2021 at 1:30 pmcqtaveeSubscriberHi!
Thank you so much! I noticed a wired thing:
When I am running the script to add the mesh, the two checkboxes are called "set maximum mesh step" and "set equivalent index". That's where the error comes from. Because there is no checkbox called "set mesh multiplier".
However, when I add the mesh manually, the two checkboxes are changed to "set maximum mesh step" and "set mesh multiplier" magically. And the window looks the same as the screenshot you showed.
(I'm using R2.3 version)
June 1, 2021 at 1:57 pmcqtaveeSubscriberI copied down the scripts and added the same SMF-28 fibre by codes. But I cannot get the same mode profile as the example project. I'm very sure I'm using the same parameters like the example. The first one is my result, and the second is the mode profile from the example file.
My codes are attached. I was thinking the problem is from the mesh setting. But now it looks like meshes are correct.
Very appreciate it if you could give some idea about finding where the problem comes from. I did not do much modification but just add fibre and fde simulation area.
June 1, 2021 at 2:36 pmViewing 4 reply threads
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.