Skip to content

zhangzi2/Finite-Volume-Methods

Repository files navigation

Finite-Volume-Methods

Numerical solvers for 1-dimensional advection equations implemented in Matlab and C++. The uwpind, Lax-Wendorff, and MC limiter methods are used to solve the following problem:

where

Finite volume methods compute the "density" ,Q, using the fluxes at the cell edge:

The term density is used to describe the amount of whatever substance we are trying to model. Below are the results:

Upwind:

hw2fig1

Lax Wendroff:

mth654hw3fig1

MC limiter:

mth654hw3fig2

About

Numerical solvers for 1-dimensional advection equations implemented in Matlab and C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published