Theory of `batch_duration`
This page explains how batch_duration affects charging-update stability and the observed steady value.
For the procedure used to choose a value, see How to choose batch_duration.
In one sentence, batch_duration is the explicit update width of the mean charging model. The fixed point of a mean model
that converges stably does not depend on the width, but discrete-update stability, finite-time error, and Monte Carlo error do.
Mean charging model
Section titled “Mean charging model”Let be the accumulated charge of insulator element , its area, and the net surface-charge flux for the current charge of all elements, . includes incident and emitted contributions with their signs. Define the mean charging rate as
The continuous-time mean model is then
This equation represents the response obtained by sufficiently averaging particle statistics in the field produced by the same surface charge.
BEACH freezes the field at its batch-start state throughout one batch. One batch can therefore be viewed conceptually as
where is batch_duration and is Monte Carlo error from a finite number of
macro-particles.
When the fixed point is independent of width
Section titled “When the fixed point is independent of width”A fixed point of the mean update satisfies
When every element has positive area, this is the same condition as .
Because does not enter the fixed-point equation, the fixed point itself is independent of batch_duration
as long as the mean model converges stably to the same fixed point.
An actual run still includes finite-sample , a finite physical end time, and nonlinear response. Consequently, an identical theoretical fixed point does not imply that observed final charge is independent of width.
Linear stability near a fixed point
Section titled “Linear stability near a fixed point”Assume that is differentiable near the fixed point and define its Jacobian as
Temporarily neglect Monte Carlo error and set . The linearized update is
The general linear stability condition is therefore
where is the spectral radius.
Only when all dominant eigenvalues are real and negative and the fastest response can be represented by ,
is a non-divergence guide, while
is a monotone-convergence guide. A single-time-scale rule cannot determine stability with complex eigenvalues, non-normal coupling, or strong nonlinearity. These guides are not general BEACH CFL conditions.
Physical time scales
Section titled “Physical time scales”When selecting an initial candidate, the inverse electron plasma frequency and the charging time from effective capacitance and conductance,
are distinct scales. The first characterizes a fast plasma response, while the second estimates the slower change of
surface charge. The actual upper limit also depends on geometry, potential, inflow distribution, and surface response, so
neither scale alone is a general upper bound for batch_duration.
Coupling to Monte Carlo error
Section titled “Coupling to Monte Carlo error”The distribution of depends on macro-particle count and weight. For a source whose particle weight changes with time width, a width comparison includes both time-discretization differences and sampling-variance differences.
Keep the RNG seed and parallel layout fixed in a fixed-width comparison, and record absorbed/escaped counts, macro-particle count, and weight in addition to surface-charge norms. If noise dominates, improve particle statistics before drawing a conclusion about linear stability.
What the adaptive condition controls
Section titled “What the adaptive k≠0k\ne0k=0 condition controls”Adaptive progression accepts a width when the potential produced by the difference between candidate and batch-start charge satisfies, at every panel centroid ,
is max_nonzero_mode_potential_step.
This condition is a trust bound that prevents the frozen field from changing too much in one update. It is not a local-truncation-error estimator and does not establish an order of global accuracy. It also does not control the update or the applicability range of a response table or particle sampling.
Assumptions and applicability limits
Section titled “Assumptions and applicability limits”- The mean model assumes that particle response at the same can be statistically averaged.
- The linear condition applies only where is differentiable near the fixed point of interest.
- Fixed-point analysis alone cannot predict the final state with multiple fixed points, hysteresis, or a time-dependent attractor.
- A stability condition that omits does not guarantee the fluctuation amplitude of a finite-macro-particle run.
- The adaptive condition is not a stability condition for the complete system, including matching-plane inner iteration or implicit zero-mode updates.
- This explanation covers v1.0 insulator accumulation and does not extend to unimplemented resistive or dielectric response.
Select the final value with a step-size sensitivity check at the same physical time, not from theoretical scales alone. Treat execution completion, numerical convergence, and physical validity as separate decisions.
Related documents
Section titled “Related documents”- How to choose
batch_duration— fixed-width comparison and adaptive configuration - BEACH computational cycle — update order with a frozen field within each batch
- Input parameter reference — configuration contract
- Validate Results — numerical convergence and physical validity