Link Search Menu Expand Document

Finite Volume model of 1D convection


Overview

This page has links to MATLAB code and documentation for the finite volume method solution to the one-dimensional convection equation

where is the -direction velocity, is a convective passive scalar, is the diffusion coefficient for , and is the spatial coordinate.

This demonstrates the “wiggle” that occurs at large cell Peclet number, how that wiggle can be suppressed with upwinding, the accuracy cost of upwinding, and how the central-difference scheme can be used (in spite of wiggles) if the mesh is sufficiently refined.

Downloads