In a finite volume method, orient every face numerical flux to the right. For cells , write the discrete total as . If is a mass per unit length, this total approximates mass; for a different conserved field, it measures that field's integral. Multiplying the update by the cell width gives an amount balance, so adjacent cells contribute
The interior face contributes . Summing all cells gives
With periodic boundary conditions, the two boundary labels denote the same physical face and must use the same numerical flux; then . On an open interval the total changes by the boundary transfers. Unequal widths require the weighted total , not the unweighted sum of cell averages.
Figure 1.
One oriented face transfer leaves the left cell and enters the right cell with opposite signs
. Details.
The diagram uses two unit-width cells, , cell averages and right-oriented numerical fluxes at their three faces. The updated cell averages are : the total changes from to , exactly . The shared interior transfer cancels. If the receiving cell instead used for that same face, the total would acquire the spurious term . Conservation is therefore an algebraic property of sharing the transfer, even when the numerical flux is a poor approximation. In floating-point arithmetic, independently rounded cell updates may still leave small roundoff errors in the computed total.

Articles by others on the same topic (0)

There are currently no matching articles.