June 17, 2022 at 1:55 pmmohamed.elshorbagySubscriberI have experienced an issue using the file "usr_reflection_angled.fsp" in the Lumerical support article "Tips for accurately measuring reflection in an FDTD simulation".
I have set the source angle to zero and the material of the rectangle to PEC. Running two simulations with mesh accuracy 6 and 7 respectively yields the blue and red graphs shown in the figure.
The reflectivity changes with wavelength, and rises above 1 at some wavelengths. The reflectivity is also mesh-dependent. I would expect the reflectivity to stay at a constant 1 and be mesh independent. I would greatly appreciate your assistance in resolving this issue since I am trying to investigate the effect of surface roughness on reflectivity.
June 17, 2022 at 4:00 pmGuilin SunAnsys EmployeeThis is due to numerical errors, such as limited mesh size, source injection, PML etc. Discrete FDTD computation is mesh dependent, and can approach theoretical result when the mesh size approach zero and PML is sufficiently thick to absorb all energy.
You can use the montor in between the source and the front surface.
The error is already on the order of 10^-4, quite small. Please refer this link for more information about converging test https://optics.ansys.com/hc/en-us/articles/360034915833-Convergence-testing-process-for-FDTD-simulations
February 15, 2023 at 12:19 pmPankaj Kumar SahooSubscriber
I am using s-parameter script from the metalens example (https://optics.ansys.com/hc/en-us/articles/360042097313-Metalens) to simulate the reflection and phase of gratings with varying period and fillfractor. Unfortunately, I am getting reflection values (more than 1) from the R_Gn result of R monitor as 379.3, 5.1, 7.6, 6.7, 1.4, for some values of grating period and fillfactor. I am using the same setup as in the example except the metasurface. I am using the script file provided in the website and modified as per my simulation. Kindly suggest what could be the issue. If needed i can share my script and setup files.
February 15, 2023 at 5:18 pmGuilin SunAnsys Employee
Later please write a new post as the forum is for one question one answer.
Every device is different. So the settings from one simulation do not guarantee the other simulation. It seems the causes R>1 could be:
1: the simulation is going to diverge or already diverged.
2: the simulation time is not long enough: due to large autoshutoff min (default 1e-5), or the set time is shoort. Please increase the simulation time 10 or more times, and autoshutoff min 1e-6 or smaller.
3: the device has higher diffraction ,with diffraction angle larger than 70deg. Please use visualizer to approximately project the farfield with 10by10 period, or use grating example to get accurate result: Diffraction grating
If the diffraction is large, you will need to use Steep Angle PML, more number of layers.
In addition, please first test mesh accuracy 2, not 6 or 7. If mesh accuracy 2 does not diverge, most likely it is due to PML. Please refer Troubleshooting diverging simulations in FDTD
- 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.
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?
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Diverging Simulations
- 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
© 2023 Copyright ANSYS, Inc. All rights reserved.