TAGGED: EME
-
-
December 27, 2022 at 5:04 pm
vahram.voskerchyan3
SubscriberI am trying to calculate how the duty cycle of the grating affects the reflection and transmission profiles. And I am getting wrong results. The attached code is the EME setup, please help me to identify what is wrong with the simulation. I am trying to sweep the duty cycle of the grating for 1000 periods and plot the transmission versus the duty cycle sweep. I have selected the conserve energy method and when doing so I can see that maximum peak is at 0.5 duty cycle. But when turning off the conserve energy I get a plot like this. I want to do make passive because I want to see at which length the transmission becomes 0.
And when the conservation of energy is setup the plot is as follows.
I was expecting to see a similar plot with the "make passive" option on.
I have tried mode convergence sweep to see where the profile gets stable, I tried different meshings, and setting up cells differently. But the results are still confusing. Can you please help me to identify the problem ?
I have also attached the script. In the link below.
https://drive.google.com/file/d/1nw1Xm7zujpmfgltg5U1xedLuITUyBC3T/view?usp=sharing
-
December 27, 2022 at 8:21 pm
Guilin Sun
Ansys EmployeeUnfortunatelt we are not allowed to download any customer files from this forum.
For periodic simulation, please use "conserve energy". This is because, any minor change in S can result in huge difference when many periods are used. as you can see, (S+ds)^N so when N is large the error will be amplified significantly.
On the other hand, the convergence testing can be challenge:
Understanding EME error diagnostics
Convergence Testing - Error Diagnostics - Method for Using Diagnostics
-
- 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
- Finding your Ansys (or Lumerical) account number
- Error on Lumerical device
- Ansys Insight: About override mesh in FDTD: its use and settings
- Lumerical – error message when trying to open from Linux terminal
-
8762
-
4658
-
3151
-
1678
-
1456
© 2023 Copyright ANSYS, Inc. All rights reserved.