Kinetic model
DeterministicParticleDiffusion
Diffusion equation discretized with a deterministic particle method.
Overview
This is a particle discretization of diffusion where particles follow a
deterministic drift derived from the current estimate of the density. It is intended mainly for diffusion-method development and verification rather than plasma dynamics.
Use cases
This model is appropriate for:
- deterministic particle discretizations of diffusion
- transport benchmarks with positive scalar densities
- numerical comparison against stochastic diffusion methods
Governing equations
PDEs solved by model:
Find such that
where is a positive diffusion matrix. At the moment only matrices of the form are implemented, where is a positive diffusion coefficient.
Normalization
The diffusion coefficient defines the normalization,
No separate plasma velocity scale is used in this model.
Discretization
Time integration is performed by the following propagators (in sequence):
struphy.propagators.push_deterministic_diffusion.PushDeterministicDiffusion
Diagnostics
The following scalars are tracked during simulation:
- No default scalar diagnostics are defined by this model.
Example
Create and initialize a deterministic diffusion model:
from struphy.models import DeterministicParticleDiffusion
model = DeterministicParticleDiffusion() model.hydrogen.var