Walker
Time-integrator for stochastic differential equations
Walker is a numerical integrator for stochastic differential equations (SDE). It can be used to analyze and design the evolution of fluctuating variables and their statistics in state space and time. Walker can compute time evolutions of multiple variables governed by coupled SDE systems of different types. It allows the estimation of arbitrary coupled statistics and probability density functions.
In a nutshell, walker solves the Fokker-Planck equation
which is equivalent to the system of SDEs
Here is a vector-valued isotropic Wiener process and is the joint probability distribution of variables of the sample space. The drift, , and diffusion, , functions can be defined in any way as long as the diffusion is positive semi-definite. Walker discretizes and numerically solves the system of SDEs using a large number of particles and can estimate arbitrary statistics and distributions as they evolve in time.
Walker can be used to design statistical moment approximations. If the approximate shape of the probability distribution for a fluctuating variable is known (or can be usefully assumed), its governing SDE can, in some cases, be derived. Numerically integrating this governing equation, Walker allows extracting arbitrary statistics which can be used to test and verify hypotheses of functional forms of statistics as a function of other statistics. This enables, e.g., developing statistical moment approximations for turbulent flows where higher order statistics must be expressed in terms of lower order statistics based on some approximation.
Walker can also be used to design approximations for probability density functions of fluctuating variables. If reasonable assumptions on probability distributions of some key variables of a process can be made, Walker can be used to integrate their governing equations and design parameterizations of those governing equations based on statistics extracted from the computed distributions.
Performance
Walker uses the Charm++ runtime system to run concurrently either on a single machine or a networked set of computers. The software design is asynchronous, yielding 100% CPU utilization at all times, and it exhibits 100% efficiency weak scaling with up to 3 trillion ( ) particles up to 24K CPU cores, see also d5304e78.
Differential equations
The following differential equations are implemented:
- Beta — A system of SDEs, with linear drift and quadratic diagonal diffusion, whose invariant is the joint beta distribution. For more details on the beta SDE, see Bakosi, Ristorcelli, Exploring the beta distribution in variable-density turbulent mixing, J. Turbul, 2010.
- For a short overview of the equation and its implementation, see DiffEq/
Beta/ Beta.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Beta/ BetaCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Diagonal Ornstein-Uhlenbeck — A system of SDEs with linear drift and constant diagonal diffusion, whose invariant is the joint normal distribution.
- For a short overview of the equation and its implementation, see DiffEq/
OrnsteinUhlenbeck/ DiagOrnsteinUhlenbeck.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
OrnsteinUhlenbeck/ DiagOrnsteinUhlenbeckCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Ornstein-Uhlenbeck — A system of SDEs with linear drift and constant diffusion, whose invariant is the joint normal distribution.
- For a short overview of the equation and its implementation, see DiffEq/
OrnsteinUhlenbeck/ OrnsteinUhlenbeck.hpp. - For initialization policies, see DiffEq/InitPolicy.h.
- For coefficients policies, see DiffEq/
OrnsteinUhlenbeck/ OrnsteinUhlenbeckCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Dirichlet — A system of SDEs, whose invariant is the Dirichlet distribution. For more details on the Dirichlet SDE, see Bakosi, Ristorcelli, A Stochastic Diffusion Process for the Dirichlet Distribution, Int. J. Stoch. Anal., 2013.
- For a short overview of the equation and its implementation, see DiffEq/
Dirichlet/ Dirichlet.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Dirichlet/ DirichletCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Generalized Dirichlet — A system of SDEs, whose invariant is Lochner's generalized Dirichlet distribution. For more details on the generalized Dirichlet SDE, see Bakosi, Ristorcelli, A Stochastic Diffusion Process for Lochner's generalized Dirichlet distribution, J. Math. Phys., 2013.
- For a short overview of the equation and its the implementation, see DiffEq/
Dirichlet/ GeneralizedDirichlet.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Dirichlet/ GeneralizedDirichletCoeffPolicy.hpp.
- For a short overview of the equation and its the implementation, see DiffEq/
- Gamma — A system of SDEs, with linear drift and linear diagonal diffusion, whose invariant is the joint gamma distribution.
- For a short overview of the equation and its implementation, see DiffEq/
Gamma/ Gamma.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Gamma/ GammaCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Skew-normal — A system of SDEs, whose invariant is the joint skew-normal distribution. For more details on the skew-normal distribution, see Azzalini, Dalla Valle, The Multivariate Skew-Normal Distribution.
- For a short overview of the equation and its implementation, see see DiffEq/
SkewNormal/ SkewNormal.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
SkewNormal/ SkewNormalCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see see DiffEq/
- Wright-Fisher — A system of SDEs, whose invariant is the Dirichlet distribution. For more details on the Wright-Fisher SDE, see Steinrucken, et al., An explicit transition density expansion for a multi-allelic Wright–Fisher diffusion with general diploid selection, Theor. Popul. Biol., 2013.
- For the implementation, see DiffEq/
WrightFisher/ WrightFisher.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
WrightFisher/ WrightFisherCoeffPolicy.hpp.
- For the implementation, see DiffEq/
- Number-fraction beta — A system of SDEs, with linear drift and quadratic diagonal diffusion, whose invariant is the joint beta distribution. The number-fraction beta SDE is based on the beta SDE, additionally computing two more stochastic variables that are functions of the beta variables integrated, assuming that the beta variables are number, or mole-, fractions. For more details on the beta SDE, see Bakosi, Ristorcelli, Exploring the beta distribution in variable-density turbulent mixing, J. Turbul, 2010.
- For a short overview of the equation and its implementation, see DiffEq/
Beta/ NumberFractionBeta.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Beta/ NumberFractionBetaCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Mass-fraction beta — A system of SDEs, with linear drift and quadratic diagonal diffusion, whose invariant is the joint beta distribution. The mass-fraction beta SDE is based on the beta SDE, additionally computing two more stochastic variables that are functions of the beta variables integrated, assuming that the beta variables are mass-fractions. For more details on the beta SDE, see Bakosi, Ristorcelli, Exploring the beta distribution in variable-density turbulent mixing, J. Turbul, 2010.
- For a short overview of the equation and its implementation, see DiffEq/
Beta/ MassFractionBeta.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Beta/ MassFractionBetaCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Mix number-fraction beta — A system of SDEs, with linear drift and quadratic diagonal diffusion, whose invariant is the joint beta distribution. The mix number-fraction beta SDE is based on the beta SDE, with the following differences: (1) the SDE coefficients are specified consistent with the binary turbulent mixing process, and (2) additionally computing two more stochastic variables that are functions of the beta variables integrated, assuming that the beta variables are number, or mole-, fractions. For more details on the beta SDE, see Bakosi, Ristorcelli, Exploring the beta distribution in variable-density turbulent mixing, J. Turbul, 2010.
- For a short overview of the equation and its implementation, see DiffEq/
Beta/ MixNumberFractionBeta.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Beta/ MixNumberFractionBetaCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
- Mix mass-fraction beta — A system of SDEs, with linear drift and quadratic diagonal diffusion, whose invariant is the joint beta distribution. The mix mass-fraction beta SDE is based on the beta SDE, with the following differences: (1) the SDE coefficients are specified consistent with the binary turbulent mixing process, and (2) additionally computing two more stochastic variables that are functions of the beta variables integrated, assuming that the beta variables are mass-fractions. For more details on the beta SDE, see Bakosi, Ristorcelli, Exploring the beta distribution in variable-density turbulent mixing, J. Turbul, 2010.
- For a short overview of the equation and its implementation, see DiffEq/
Beta/ MixMassFractionBeta.hpp. - For initialization policies, see DiffEq/
InitPolicy.hpp. - For coefficients policies, see DiffEq/
Beta/ MixMassFractionBetaCoeffPolicy.hpp.
- For a short overview of the equation and its implementation, see DiffEq/
Related pages
- Command line arguments
- Control file keywords
- Publications
- Roadmap
- Deterministic and stochastic differential equations in walker
- Concurrency strategies for a particle-in-cell code
- Strategies for inhomogeneous problems in walker
- Input/Output for a PIC-based inhomogeneity strategy in walker
- Random number generators input
- Statistics and PDF output
- Large-data memory layout for equation systems
- Examples