Burgers demo.

Module Contents

pymordemos.burgers.main(exp: float = Argument(..., help='Exponent'), grid: int = Option(60, help='Use grid with (2*NI)*NI elements.'), grid_type: Choices('rect tria') = Option('rect', help='Type of grid to use.'), initial_data: Choices('sin bump') = Option('sin', help='Select the initial data.'), lxf_lambda: float = Option(1.0, help='Parameter lambda in Lax-Friedrichs flux.'), periodic: bool = Option(True, help='If not, solve with dirichlet boundary conditions on left and bottom boundary.'), nt: int = Option(100, help='Number of time steps.'), num_flux: Choices('lax_friedrichs engquist_osher simplified_engquist_osher') = Option('engquist_osher', help='Numerical flux to use.'), vx: float = Option(1.0, help='Speed in x-direction.'), vy: float = Option(1.0, help='Speed in y-direction.'))[source]

Solves a two-dimensional Burgers-type equation.

See pymor.analyticalproblems.burgers for more details.