2. Conservative Form¶
2.1. Conversion from Non-Conservative Form to Conservative Form¶
- Scalar conservation laws have the following Conservative Form in 1D (where \(F\) = Flux):
- Scalar conservation laws have the following Non-Conservative Form in 1D (where \(A\) = Jacobian):
- To find the Conservative Form from the Non-Conservative Form, we find the Flux, by equating the appropriate terms from the Conservative and Non-Conservative Forms:
- LHS given by the definition of a function of a function:
- By comparing the above, we observe that:
- By integration:
2.2. Conversion of the Burgers Equation from Non-Conservative to Conservative Form¶
- Non-Conservative Form:
- Identification of A(u):
- Integration of A(u) to determine the flux F(u)
- Conservative Form:
Conversion from Non-Conservative Form to Conservative Form could result in multiple Conservative Forms e.g.
Converts to
Is this now an alternate solution?
2.3. What is the Difference Between the Conservative and Non-Conservative Forms?¶
Using BD for the Flux term for both Conservative and Non-Conservative Forms (we had to do this as it doesn’t make sense to integrate the Non-Conservative Form):
2.3.1. Conservative Form¶
i.e. Conservative Form gives \(\text{flux}_{out} - \text{flux}_{in}\) which is how it should be
In other words, if:
Then the time derivative of the integral of the conserved quantity equals the difference between the outlet and inlet fluxes.
2.3.2. Non-Conservative Form¶
i.e. Non-Conservative Form gives a growing function that is not conserving the flux! These are internal numerical sources that do not cancel out like in the conservative form.