rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
demo_rb_riemann_burgers.m File Reference

demo_rb_riemann_burgers More...

Go to the source code of this file.

Functions

function  demo_rb_riemann_burgers ()
 demo_rb_riemann_burgers More...
 

Detailed Description

demo_rb_riemann_burgers

Definition in file demo_rb_riemann_burgers.m.

Function Documentation

function demo_rb_riemann_burgers ( )

demo_rb_riemann_burgers

Script demonstrating the RB-model for the discontinuous initial data for the nonlinear burgers equation. Both moving shock front and rarefaction waves can be modelled. discretization is with explicit fv scheme and empirical interpolation of the space operator. The model demonstrates the space-dimension reduction: the subgrid that is extracted in the offline phase is exactly the row of cells along the bottom line.

To start: set u_left or u_right to some different value. Then observe either a moving shock or a rarefaction wave depending on the direction of the velocity.

Definition at line 17 of file demo_rb_riemann_burgers.m.

Here is the call graph for this function: