Kinetic model

RandomParticleDiffusion

Diffusion equation discretized with a random particle method, via a Wiener process.

Overview

This model is the stochastic counterpart of the deterministic particle

diffusion model. It is intended for diffusion-method development and comparisons between random-walk and deterministic transport strategies.

Use cases

This model is appropriate for:
  • stochastic particle diffusion benchmarks
  • Monte-Carlo transport verification
  • comparison against deterministic diffusion solvers

Governing equations

PDEs solved by model:

Find such that

where is a positive diffusion coefficient.

Normalization

The natural scaling is set by the diffusion coefficient:

Discretization

Time integration is performed by the following propagators (in sequence):
  1. struphy.propagators.push_random_diffusion.PushRandomDiffusion

Diagnostics

The following scalars are tracked during simulation:

  • No default scalar diagnostics are defined by this model.

Example

Create and initialize a random diffusion model:

from struphy.models import RandomParticleDiffusion

model = RandomParticleDiffusion()
model.hydrogen.var