Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Conservation Laws

The Method of Characteristics

Integral Surface

Consider the general quasilinear first order PDE:

a(x,y,u)ux+b(x,y,u)uy=c(x,y,u)a(x,y,u)u_x + b(x,y,u)u_y = c(x,y,u)

We note that the vector field (−ux,−uy,1)T(-u_x, -u_y, 1)^T would be orthogonal to the solution u(x,y)u(x,y) everywhere. Therefore the vector field (a,b,c)T(a, b, c)^T is perpendicular to (−ux,−uy,1)T(-u_x, -u_y, 1)^T thus must lie in the tangent plane of u(x,y)u(x,y). Surfaces that are tangent to a vector space is called integral surfaces, hence to find the solution we want to find the integral surfaces of u(x,y)u(x,y).

We do this by:

The Finite Volume Method

Hyperbolic Conservation Law

For simplicity, we consider the homogenous case:

ut+a(t,x)ux=0u_t + a(t,x)u_x = 0

If we discretize the spatial domain into an array of contiguous cells called control volumes, we can see that the equation encapsulate a sense of conservation. Suppose [a,b][a,b] is a cell of interest, integrate the equation by parts results in :

ddt∫abudx=a(t,a)u(t,a)⏟flux in−a(t,b)u(t,b)⏟flux out−∫abax(t,x)udx⏟source/disspation\frac{d}{dt}\int_{a}^b u dx = \underbrace{a(t,a)u(t,a)}_{\text{flux in}}-\underbrace{a(t,b)u(t,b)}_{\text{flux out}} - \underbrace{\int_a^b a_x(t,x)udx}_{\text{source/disspation}}

In particular, if we have a(t,x)=a(t)a(t,x)=a(t), then we have no source and disspation. This motivates us to define:

For a simple strict conservation law we have:

ddt∫abu=f(u(a,t))⏟flux in−f(u(b,t))⏟flux out\frac{d}{dt}\int_a^b u = \underbrace{f(u(a,t))}_{\text{flux in}}-\underbrace{f(u(b,t))}_{\text{flux out}}

It is clear that:

The idea behind finite volume

Finite volume method utillise the conservation structure of the equation. Specifically, we enforce that conservation law holds at each cell [xi−1/2,xi+1/2][x_{i-1/2},x_{i+1/2}]

∫tjtj+1{∫xi−1/2xi+1/2[ut+(f(u))x−g]dx}dt=0\int_{t_j}^{t_{j+1}}\left\{ \int_{x_{i-1/2}}^{x_{i+1/2}} \left[ u_t + (f(u))_x -g\right]dx \right\}dt=0