4.3.6. pde.pdes.kuramoto_sivashinsky module¶
The Kardar–Parisi–Zhang (KPZ) equation describing the evolution of an interface
- class KuramotoSivashinskyPDE(nu: float = 1, *, noise: float = 0, bc: Union[Dict[str, Union[Dict, str, BCBase]], Dict, str, BCBase, Tuple[Union[Dict, str, BCBase], Union[Dict, str, BCBase]], Sequence[Union[Dict[str, Union[Dict, str, BCBase]], Dict, str, BCBase, Tuple[Union[Dict, str, BCBase], Union[Dict, str, BCBase]]]]] = 'auto_periodic_neumann', bc_lap: Union[Dict[str, Union[Dict, str, BCBase]], Dict, str, BCBase, Tuple[Union[Dict, str, BCBase], Union[Dict, str, BCBase]], Sequence[Union[Dict[str, Union[Dict, str, BCBase]], Dict, str, BCBase, Tuple[Union[Dict, str, BCBase], Union[Dict, str, BCBase]]]]] = None)[source]¶
Bases:
PDEBase
The Kuramoto-Sivashinsky equation
The mathematical definition is
\[\partial_t u = -\nu \nabla^4 u - \nabla^2 u - \frac{1}{2} \left(\nabla h\right)^2 + \eta(\boldsymbol r, t)\]where \(u\) is the height of the interface in Monge parameterization. The dynamics are governed by the parameters \(\nu\) , while \(\eta\) is Gaussian white noise, whose strength is controlled by the noise argument.
- Parameters
nu (float) – Parameter \(\nu\) for the strength of the fourth-order term
noise (float) – Strength of the (additive) noise term
bc – The boundary conditions applied to the field. Boundary conditions are generally given as a list with one condition for each axis. For periodic axis, only periodic boundary conditions are allowed (indicated by ‘periodic’ and ‘anti-periodic’). For non-periodic axes, different boundary conditions can be specified for the lower and upper end (using a tuple of two conditions). For instance, Dirichlet conditions enforcing a value NUM (specified by {‘value’: NUM}) and Neumann conditions enforcing the value DERIV for the derivative in the normal direction (specified by {‘derivative’: DERIV}) are supported. Note that the special value ‘natural’ imposes periodic boundary conditions for periodic axis and a vanishing derivative otherwise. More information can be found in the boundaries documentation.
bc_lap – The boundary conditions applied to the second derivative of the scalar field \(c\). If None, the same boundary condition as bc is chosen. Otherwise, this supports the same options as bc.
- evolution_rate(state: ScalarField, t: float = 0) ScalarField [source]¶
evaluate the right hand side of the PDE
- Parameters
state (
ScalarField
) – The scalar field describing the concentration distributiont (float) – The current time point
- Returns
Scalar field describing the evolution rate of the PDE
- Return type
ScalarField