demo of a explicit FV scheme for advection-diffusion More...
Go to the source code of this file.
Functions | |
function | demo_explicit_FV () |
demo of a explicit FV scheme for advection-diffusion More... | |
demo of a explicit FV scheme for advection-diffusion
Definition in file demo_explicit_FV.m.
function demo_explicit_FV | ( | ) |
demo of a explicit FV scheme for advection-diffusion
Simple transport-diffusion problem: square domain with parabolic velocity profile, flow from left to right (or vice versa, depending on the sign of the specified velocity) upper half of the square is neuman-boundary with noflow conditions, lower half is dirichlet-boundary.
A simulation for a square and a triangular grid is performed. For the triangular grid a more restrictive time-step is required, so 4 times as many time-slices are computed.
Definition at line 17 of file demo_explicit_FV.m.