Burgers’ Equation#
Module for defining the Burgers equation.
- class BurgersEquation(nu)[source]#
Bases:
EquationImplementation of the N-dimensional Burgers’ equation, defined as follows:
\[\frac{\partial u}{\partial t} + u \cdot \nabla u = \nu \Delta u\]Here, \(\nu\) is the viscosity coefficient.
Initialization of the
BurgersEquationclass.- Parameters:
- Raises:
ValueError – If
nuis not a float or an int.ValueError – If
nuis negative.