Home › Forums › FDTD › convergence issue › Reply To: convergence issue
October 4, 2017 at 9:43 am
#45052
Hi Alireza,
Typically a convergence test is looking at the convergence of a value relative to the Mesh size. However, you must keep in mind that when you change the grid size you must also change the time step size in order to ensure stability. The condition for this is the Courant-Friedrichs-Levy condition and is dt <= (v*sqrt(dx^-2+dy^-2+dz^-2))^-1 for 3D and dt <= (v*sqrt(dx^-2+dz^-2))^-1 for 2D.
You can either manually calculate this or simply leave the dt and number of time steps checked to auto and the software will perform the calculation for you.
Scott
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)