TAGGED: non-linear-convergence-issue
-
-
August 21, 2023 at 4:31 pm
Saha
SubscriberI am trying to use a long (>/= 10ps) cw pulse in the sim with custom source code. However for specifying pulse time longer than 7ps (particularly at 7097.8fs as shown in zoomed figure) the simulation stops and diverge error appears. The sim works for pulse (or sim time) duration less than 7ps.
For divergence error, I have tried some parts of the checklist suggested in the article- https://optics.ansys.com/hc/en-us/articles/11277217507603. It confirmed the error is not due to PML. Fot dt stablity issue I am not exactly sure how it would affect, as I am only using a nondispersive nonlinear dieletric and field amplitude 1 at the moment. Yet I tried the sim with reduced value of 0.5, which still diverges.
I would really appreciate any suggestion regarding this issue,specially on use of a very long CW pulse like this. -
August 21, 2023 at 9:18 pm
Guilin Sun
Ansys EmployeeMost likely this is due to the co-called "late-time instability" issue. FDTD is a weakly stable algorithm. any numerical errors can trigger this instability, such as single precision of the numerical data. You may search only for more information.
The late-time instabiity usually occurs for long simulation. You may check if you really need that long simulation. and if this nonlinear simulation involves gain, please significantly increase "autoshuoff max".
You may also need to add 3 profile monitors (xy, yz,and xz plane) and record data inside PML, and movie moitors. and then check where the diverge begis. It might be from PML. So you can modify the PML types and number of layers.
I particular, the custom source should turn on gradually to not excite higher frequencies unexpected. You can use a time monitor and check its spectrum to see if there is a resonance.
-
- 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
- Error on Lumerical device
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Ansys Insight: About override mesh in FDTD: its use and settings
- Finding your Ansys (or Lumerical) account number
- Lumerical – error message when trying to open from Linux terminal
-
7636
-
4456
-
2955
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.