Repository navigation
Replies: 2 comments 2 replies
|
I guess you already know this: you can also use the number of timesteps as the end criteria, which is useful for step & pulse excitation when looking at time domain response. |
|
Well there could be had the discussion about how much sense a step excitation actually makes for FDTD which is really not ideal for DC or very low frequencies, but I guess that is a different topic. I am not sure that looking at the diff for the energy will really always work as intended, mostly because the "energy" is only an estimate and if energy is still traveling around through different materials the value will not be steady... Since this is all a very niche problem I am not sure that I am comfortable adding all kind of new and different end criteria for this. I think this would be the most flexible and would solve the issue at hand nicely? |
Uh oh!
There was an error while loading. Please reload this page.
I understand from the documentation that setting end criteria is relevant only for decaying excitations which make sense.
For example, gaussian pulse is taking N timesteps to insert into the system, and then the energy in the line is decaying over time
On step excitation that's not the case ofcourse, step is converging to a constant, which where my suggestion is coming in: for step excitation, I think it would be good practice to consider an end criteria not for the total energy En(t), but for dEn(t)/dt, meaning that if En(t) is converging to a constant, dEn(t)/dt is converging to 0, also logarithmic-wise
ofcourse it is worth also defining when the solver will start checking the end criteria, like in gaussian the end criteria is effectively relevant only after timestep X+1, where the solver is determine that the gaussian pulse insertion is completed after X timesteps
All reactions