Skip to content

Nonlinear steppers

The deterministic coefficients below follow the exponax conventions. Noise strengths and spectra are set separately.

Burgers

Scalar conservation law with viscous smoothing.

\[ du=[\nu u_{xx}-b(u^2)_x/2]\,dt+\sigma\,dW_Q \]
import exponax_spde as spde

step = spde.StochasticBurgers(1, 6.28, 32, 0.01)

Validated by automated tests.

exponax_spde.StochasticBurgers

Periodic 1-D Itô Burgers with \(du=(\nu u_{xx}-b u u_x)\,dt+\sigma\,dW_Q\).

sigma is the noise amplitude and noise_alpha gives q_k = (1+|k|²)^(-alpha). The periodic viscous local flux screen admits all alpha ≥ 0. mean_noise=True forces DC. Disable it to preserve the mean. The default drift order is one.

See exponax API for drift arguments. For the related 1-D additive white-noise problem with Dirichlet boundaries, see Da Prato, Debussche & Temam (1994), DOI

Parameters:

Name Type Description Default
num_spatial_dims int

Number of spatial dimensions.

required
domain_extent float

Side length of the domain on every axis.

required
num_points int

Number of grid points per spatial axis.

required
dt float

Time between consecutive states.

required
diffusivity float

Diffusion coefficient.

0.1
convection_scale float

Coefficient of the convection term.

1.0
single_channel bool

Use the scalar-field form of convection.

False
conservative bool

Use the flux form of the nonlinear term.

False
order int

Order of the exponential integrator for the drift.

1
dealiasing_fraction float

Fraction of spatial modes retained for the nonlinear evaluation.

2 / 3
num_circle_points int

Number of quadrature points for the ETDRK contour integral.

16
circle_radius float

Radius of the ETDRK contour integral.

1.0
sigma float

Physical noise intensity.

0.1
noise_alpha float

Matérn exponent when no explicit spectrum is supplied.

1.0
noise_spectrum Spectrum | None

Explicit spectrum. Leave the Matérn exponent at its default when supplied.

None
noise_symmetry Parity | None

None or odd reflection.

None
mean_noise bool

Whether to force the constant mode when it exists.

True

Vector Burgers

Velocity form with gradient forcing in every channel.

\[ du=[\nu\Delta u-b(u\cdot\nabla)u]\,dt+\sigma\,\nabla dW_Q \]
import exponax_spde as spde

step = spde.StochasticVectorBurgers(2, 6.28, 16, 0.01)

Validated by automated tests and the notebook.

exponax_spde.StochasticVectorBurgers

Periodic 2-D or 3-D vector Burgers with additive potential noise.

The drift is νΔu − b(u·∇)u. For a potential with spectrum q, draw a shared scalar normalised Fourier coefficient z_k with E|z_k|²=1 and multiply it by i k and the exact OU amplitude σ sqrt(q V_h(L_k)/dx^d), where L_k=−ν|k|² and V_h(L)=h φ₁(2hL). Thus mode covariance is σ² k kᵀ q V_h(L_k)/dx^d. Raw FFT coefficients multiply this covariance by N^d. DC and even-grid Nyquist planes are unforced.

Corollary 5.1 of Brzeźniak, Goldys & Neklyudov (2014) assumes a potential noise operator that is γ-radonifying into H^{5,2p}, for p>d and positive viscosity. For a spatially homogeneous spectrum this is satisfied if ∑_k (1+|k|²)^5 q_k is finite. For algebraic power decay, the power of the gradient |k|² q_k must decay with exponent greater than d+8. Warn outside this sufficient screen. Default potential Matérn exponent: 7.

DOI

Parameters:

Name Type Description Default
num_spatial_dims int

Number of spatial dimensions.

required
domain_extent float

Side length of the domain on every axis.

required
num_points int

Number of grid points per spatial axis.

required
dt float

Time between consecutive states.

required
diffusivity float

Diffusion coefficient.

0.1
convection_scale float

Coefficient of the convection term.

1.0
order int

Order of the exponential integrator for the drift.

1
dealiasing_fraction float

Fraction of spatial modes retained for the nonlinear evaluation.

2 / 3
num_circle_points int

Number of quadrature points for the ETDRK contour integral.

16
circle_radius float

Radius of the ETDRK contour integral.

1.0
sigma float

Physical noise intensity.

0.1
noise_alpha float

Matérn exponent when no explicit spectrum is supplied.

7.0
noise_spectrum Spectrum | None

Explicit spectrum. Leave the Matérn exponent at its default when supplied.

None
noise_symmetry Parity | None

Only None is supported.

None

KS height

Height equation with unmixed fourth derivatives and a zero-mean gradient-norm drift.

\[ du=[-\psi_1\Delta u-\psi_2\sum_j\partial_j^4u-b(\|\nabla u\|^2-\overline{\|\nabla u\|^2})/2]\,dt+\sigma\,dW_Q \]
import exponax_spde as spde

step = spde.StochasticKuramotoSivashinsky(1, 22.0, 64, 0.025, order=4)

Validated by automated tests and the notebook.

exponax_spde.StochasticKuramotoSivashinsky

Periodic height-form Itô KS with additive Q-Wiener noise.

du = (−β₂ Δu − β₄ Σⱼ∂ⱼ⁴u − b|∇u|²/2 with zero DC) dt + σ dW_Q. The unmixed fourth-order term is anisotropic for d ≥ 2. Since Σⱼkⱼ⁴ ≥ |k|⁴/d, its regularity screen is unchanged. Nonzero forcing warns at alpha ≤ d/2−1. sigma is the amplitude and noise_alpha gives q_k = (1+|k|²)^(-alpha). mean_noise=False keeps the spatial mean fixed.

See exponax API for drift arguments and Da Prato & Zabczyk (2014), §5.5.3, DOI for the Gaussian screen.

Parameters:

Name Type Description Default
num_spatial_dims int

Number of spatial dimensions.

required
domain_extent float

Side length of the domain on every axis.

required
num_points int

Number of grid points per spatial axis.

required
dt float

Time between consecutive states.

required
gradient_norm_scale float

Coefficient of half the squared gradient in the height drift.

1.0
second_order_scale float

Coefficient of the second-order term on the left-hand side.

1.0
fourth_order_scale float

Coefficient of the fourth-order term on the left-hand side.

1.0
dealiasing_fraction float

Fraction of spatial modes retained for the nonlinear evaluation.

2 / 3
order int

Order of the exponential integrator for the drift.

1
num_circle_points int

Number of quadrature points for the ETDRK contour integral.

16
circle_radius float

Radius of the ETDRK contour integral.

1.0
sigma float

Physical noise intensity.

0.1
noise_alpha float

Matérn exponent when no explicit spectrum is supplied.

1.0
noise_spectrum Spectrum | None

Explicit spectrum. Leave the Matérn exponent at its default when supplied.

None
noise_symmetry Parity | None

None or even reflection.

None
mean_noise bool

Whether to force the constant mode when it exists.

False

KS conservative

Scalar flux form, with the mean unforced by default.

\[ du=[-\psi_1 u_{xx}-\psi_2 u_{xxxx}-b(u^2)_x/2]\,dt+\sigma\,dW_Q \]
import exponax_spde as spde

step = spde.StochasticKuramotoSivashinskyConservative(1, 22.0, 64, 0.025, order=4)

Validated by automated tests.

exponax_spde.StochasticKuramotoSivashinskyConservative

Periodic conservative 1-D Itô KS.

\(du=(-\beta_2 u_{xx}-\beta_4 u_{xxxx}-b u u_x)\,dt+\sigma\,dW_Q\).

sigma is the amplitude and noise_alpha gives q_k = (1+|k|²)^(-alpha). The local viscous flux screen admits alpha ≥ 0 in 1-D. mean_noise=False preserves the mean.

See exponax API for drift arguments and Duan & Ervin (2001), DOI00259-X for a related boundary value problem.

Parameters:

Name Type Description Default
num_spatial_dims int

Number of spatial dimensions.

required
domain_extent float

Side length of the domain on every axis.

required
num_points int

Number of grid points per spatial axis.

required
dt float

Time between consecutive states.

required
convection_scale float

Coefficient of the convection term.

1.0
second_order_scale float

Coefficient of the second-order term on the left-hand side.

1.0
fourth_order_scale float

Coefficient of the fourth-order term on the left-hand side.

1.0
single_channel bool

Use the scalar-field form of convection.

False
conservative bool

Use the flux form of the nonlinear term.

True
dealiasing_fraction float

Fraction of spatial modes retained for the nonlinear evaluation.

2 / 3
order int

Order of the exponential integrator for the drift.

1
num_circle_points int

Number of quadrature points for the ETDRK contour integral.

16
circle_radius float

Radius of the ETDRK contour integral.

1.0
sigma float

Physical noise intensity.

0.1
noise_alpha float

Matérn exponent when no explicit spectrum is supplied.

1.0
noise_spectrum Spectrum | None

Explicit spectrum. Leave the Matérn exponent at its default when supplied.

None
noise_symmetry Parity | None

None or odd reflection.

None
mean_noise bool

Whether to force the constant mode when it exists.

False

Periodic vorticity with diffusive dissipation, optional drag and no stochastic mean forcing. The velocity \(v\) is recovered from vorticity and the drag argument is \(-\mu\).

\[ d\omega=(\nu\Delta\omega-\mu\omega-bv\cdot\nabla\omega)\,dt+\sigma\,dW_Q \]
import exponax_spde as spde

step = spde.StochasticNavierStokesVorticity(2, 6.28, 32, 0.01, drag=-0.2, order=4)

Validated by automated tests and the notebook.

exponax_spde.StochasticNavierStokesVorticity

Periodic 2-D Navier–Stokes vorticity with additive Q-Wiener forcing.

The deterministic drift follows exponax. The optional spectrum defaults to Matern(noise_alpha). The stochastic increment has zero DC. With nonzero drag, the mean follows the deterministic drag term.

Parameters:

Name Type Description Default
num_spatial_dims int

Number of spatial dimensions.

required
domain_extent float

Side length of the domain on every axis.

required
num_points int

Number of grid points per spatial axis.

required
dt float

Time between consecutive states.

required
diffusivity float

Diffusion coefficient.

0.01
vorticity_convection_scale float

Coefficient of vorticity convection.

1.0
drag float

Linear vorticity coefficient. Negative values give damping.

0.0
order int

Order of the exponential integrator for the drift.

1
dealiasing_fraction float

Fraction of spatial modes retained for the nonlinear evaluation.

2 / 3
num_circle_points int

Number of quadrature points for the ETDRK contour integral.

16
circle_radius float

Radius of the ETDRK contour integral.

1.0
sigma float

Physical noise intensity.

0.1
noise_alpha float

Matérn exponent when no explicit spectrum is supplied.

1.0
noise_spectrum Spectrum | None

Explicit spectrum. Leave the Matérn exponent at its default when supplied.

None
noise_symmetry Parity | None

Only None is supported.

None

Kolmogorov flow vorticity

Vorticity with a deterministic single-mode sinusoidal drive in addition to the noise. The velocity \(v\) is recovered from vorticity and the drag argument is \(-\mu\).

\[ d\omega=(\nu\Delta\omega-\mu\omega-bv\cdot\nabla\omega+f)\,dt+\sigma\,dW_Q \]
import exponax_spde as spde

step = spde.StochasticKolmogorovFlowVorticity(
    2, 6.28, 32, 0.01, injection_mode=4, order=4
)

Validated by automated tests.

exponax_spde.StochasticKolmogorovFlowVorticity

Periodic 2-D Kolmogorov flow with additive Q-Wiener vorticity forcing.

The deterministic sinusoidal drive and drift follow exponax. The optional spectrum defaults to Matern(noise_alpha). The stochastic increment has zero DC. With nonzero drag, the mean follows the deterministic drag term.

Parameters:

Name Type Description Default
num_spatial_dims int

Number of spatial dimensions.

required
domain_extent float

Side length of the domain on every axis.

required
num_points int

Number of grid points per spatial axis.

required
dt float

Time between consecutive states.

required
diffusivity float

Diffusion coefficient.

0.001
convection_scale float

Coefficient of the convection term.

1.0
drag float

Linear vorticity coefficient. Negative values give damping.

-0.1
injection_mode int

Wavenumber of the deterministic sinusoidal drive.

4
injection_scale float

Amplitude coefficient of the deterministic sinusoidal drive.

1.0
order int

Order of the exponential integrator for the drift.

1
dealiasing_fraction float

Fraction of spatial modes retained for the nonlinear evaluation.

2 / 3
num_circle_points int

Number of quadrature points for the ETDRK contour integral.

16
circle_radius float

Radius of the ETDRK contour integral.

1.0
sigma float

Physical noise intensity.

0.1
noise_alpha float

Matérn exponent when no explicit spectrum is supplied.

1.0
noise_spectrum Spectrum | None

Explicit spectrum. Leave the Matérn exponent at its default when supplied.

None
noise_symmetry Parity | None

Only None is supported.

None