afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
|
Time integration is performed explicitly, using the Afivo time integration module, which is described in the Afivo online documentation.
Several time integrators can be used, which can be set using the time_integrator
variable. The following options are for example supported:
forward_euler
(first order)heuns_method
(second order, SSP)midpoint_method
(second order)ssprk3
(third order, SSP)Here SSP stands for "strong stability preserving".
Due to the explicit time integration, there are a number of time step restrictions:
For more details about these time step restrictions, see e.g. the paper about afivo-streamer. More on the dielectric relaxation time, and ways to avoid it, can be found in this paper.
If dt_chemistry_nmin
is set to a positive value, there is a time step restriction of the form
dt < max(n, dt_chemistry_nmin) / (d/dt n)'
where d/dt n
is the time derivative due to chemical reactions. When a density is (almost) zero, the parameter dt_chemistry_nmin
avoids a very small time step.
In the m_dt module, there are a couple of relevant parameters for the time integration:
When the time step becomes smaller than dt_min
, the simulation will abort, assuming an instability has occurred. This can be prevented by:
dt_min
, see m_dtn0
for the chemistry time step (see above)