<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2021.96092</article-id><article-id pub-id-type="publisher-id">JAMP-110205</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Numerical Method for Non-Linear Conservation Laws: Inviscid Burgers Equation
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>R.</surname><given-names>Hemel</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>T. Azam</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>S. Alam</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, Jahangirnagar University, Dhaka, Bangladesh</addr-line></aff><pub-date pub-type="epub"><day>09</day><month>06</month><year>2021</year></pub-date><volume>09</volume><issue>06</issue><fpage>1351</fpage><lpage>1363</lpage><history><date date-type="received"><day>21,</day>	<month>April</month>	<year>2021</year></date><date date-type="rev-recd"><day>26,</day>	<month>June</month>	<year>2021</year>	</date><date date-type="accepted"><day>29,</day>	<month>June</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This paper deals with the Burgers equation which is the most common model used in the nonlinear conservation laws. Here the theoretical aspect of conservation law is discussed by using inviscid Burgers equation. At first, we introduce the general non-linear conservation law as a partial differential equation and its solution procedure by the method of characteristic. Next, we present the weak solution of the problem with entropy condition. Taking into account shock wave and rarefaction wave, the Riemann problem has also been discussed. Finally, the finite volume method is considered to approximate the numerical solution of the inviscid Burgers equation with continuous and discontinuous initial data. An illustration of the problem is provided by some examples. Moreover, the Godunov method provides a good approximation for the problem.
 
</p></abstract><kwd-group><kwd>Conservation Law</kwd><kwd> Inviscid Burgers Equation</kwd><kwd> Shock Wave</kwd><kwd> Rarefaction Wave</kwd><kwd> Finite Volume Method</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The Nonlinear conservation law is used to describe many physical phenomena mathematically, and numerical methods are required to solve these physical problems [<xref ref-type="bibr" rid="scirp.110205-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref4">4</xref>]. The governing one-dimensional conservation law takes the form [<xref ref-type="bibr" rid="scirp.110205-ref5">5</xref>],</p><p>∂ u ∂ t + ∂ ∂ x f ( u ) = 0 ,     t &gt; 0 ,   x ∈ R (1)</p><p>where f(u) is the flux function. The quantity u is the density of some fluid and ∫ u ( x , t ) d x treated as mass of the fluid which is conserved in the conservation laws. In the paper, we will discuss integral form of conservation law, classical solution and weak solution for understanding the theoretical knowledge of the problem. To understand the shock wave and rarefaction wave, The Riemann problem also has been discussed. Finally, finite volume method is considered to approximate the numerical solution of the problem.</p><p>In finite difference method, the derivatives are approximated by finite differences and therefore, the differential equation does not hold near the discontinuities in the solution. The differential form of the conservation law may not be applied when the shock is generated. After shock formulation, shock actually travels with shock speed [<xref ref-type="bibr" rid="scirp.110205-ref6">6</xref>]. In this paper, finite volume method is considered, which is based on the integral form instead of differential equation. In this method, the domain is divided into grid cells and approximates the total integral of density, u over each grid cell average of density, u, which is the integral divided by the volume of the cell. On the other hand, in finite difference method, the pointwise approximation is needed at the grid point. The cell average is changed in each time step by the flux through the edges of the grid cell. Therefore, it is important to choose a good numerical flux function that approximates the correct fluxes reasonably well [<xref ref-type="bibr" rid="scirp.110205-ref5">5</xref>]. Therefore finite volume method is effective to describe the discontinuous solution. The main objective of this paper is to approximate the numerical solution of the non-linear conservation law by using the inviscid Burgers equation. In this paper, Godunov method is considered to approximate the numerical solution of the problem with continuous and discontinuous initial data. The Godunov method is a conservative numerical method, which is used for the solution of hyperbolic conservation laws. This method can be characterized by the solution (exact or approximate) of a Riemann problem within computational cells in order to obtain numerical fluxes. This method is first-order accurate in both space and time.</p>Integral Form of Conservation Laws<p>The integral form of the conservation law is obtained by integrating (1) within the interval [ x 1 , x 2 ] ,</p><p>d d t ∫ x 1 x 2 u ( x , t ) d x + f ( u ( x 2 , t ) ) − f ( u ( x 1 , t ) ) = 0</p><p>Suppose is a conserved quantity in [ x 1 , x 2 ] and defined as, Q ( t ) = ∫ x 1 x 2 u ( x , t ) d x then,</p><p>d d t Q ( t ) = f ( u ( x 1 , t ) ) − f ( u ( x 2 , t ) )</p><p>Again, integrate the above equation over time [ 0 , T ] ,</p><p>Q ( T ) − Q ( 0 ) + ∫ 0 T [ f ( u ( x 1 , t ) ) − f ( u ( x 2 , t ) ) ] d t = 0</p><p>The above equation is the integral form of the conservation law which directly interpreted that the difference in the total amount of the state variable u in [ x 1 , x 2 ] between in a specific time is equal to the difference in the total flux through the boundary integrated over that time duration [<xref ref-type="bibr" rid="scirp.110205-ref6">6</xref>].</p></sec><sec id="s2"><title>2. Classical Solution</title><p>To understand the classical solution, initially we will consider simple linear conservation law, known as linear advection equation [<xref ref-type="bibr" rid="scirp.110205-ref6">6</xref>] where f ( u ) = a u ,</p><p>∂ u ∂ t + a ∂ u ∂ x = 0 ;     u ( x , 0 ) = f ( x 0 )</p><p>The solution of advection equation can be easily derived from the concept of method of characteristic. Here, the characteristic curve d x ( t ) d t = a , describe the straight line with slope a in x = x(t) curve and the solution is</p><p>u ( x , t ) = f ( x − a t )</p><p>Thus, linear conservation law transport the initial data in the x-direction and also it is exactly as smooth as the initial data.</p><p>Now we will consider a simple non-linear conservation laws, in particular, Burgers equation. The study of Burgers equation which is in the class of nonlinear conservation law has been continued to draw the attention of researchers as it represents various physical phenomenon such as theory of shock wave, rarefaction wave, dynamics of fluid or gas etc. [<xref ref-type="bibr" rid="scirp.110205-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref10">10</xref>]. The classical Burgers equation is described by,</p><p>∂ u ∂ t + ∂ ∂ x ( u 2 2 ) = υ ∂ 2 u ∂ x 2</p><p>In this research, Burgers equation with zero viscosity term is considered which is known as inviscid Burgers equation. The inviscid Burgers equation is a basic case study as it has also the properties of nonlinear conservation law [<xref ref-type="bibr" rid="scirp.110205-ref11">11</xref>]. Therefore inviscid Burgers equation takes the form,</p><p>∂ u ∂ t + ∂ ∂ x ( u 2 2 ) = 0 ;     u ( x , 0 ) = f ( x 0 ) = u ( x 0 )</p><p>where flus function is, f ( u ) = 1 2 u 2 . The characteristic curve of the equation is</p><p>d x ( t ) d t = u ( x ( t ) , t )</p><p>The characteristics are straight lines with slope u, and the solution is</p><p>u ( x , t ) = f ( x − u t ) = u 0 ( x − u t )</p><p>Thus, the solution is constant along the characteristic curves. In this case, discontinuity may form smooth initial conditions in finite time. Therefore, the study of solution of Burgers equation allows interesting phenomena such as shock waves and rarefaction waves.</p></sec><sec id="s3"><title>3. Weak Solution</title><p>In classical sense, if u be a piecewise constant solution of the conservation law (1) and also discontinuous along the characteristic curve with any shock speed (s) then u is a weak solution of (1). The shock speed can be derived from the Rankine-Hugoniot jump condition [<xref ref-type="bibr" rid="scirp.110205-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref12">12</xref>]. To get the shock speed, we need to integrate (1) in rectangle [ x 1 , x 1 + Δ x ] &#215; [ t 1 , t 1 + Δ t ] ,</p><p>∫ x 1 x 1 + Δ x u ( x , t 1 + Δ t ) d x − ∫ x 1 x 1 + Δ x u ( x , t 1 ) d x = ∫ t 1 t 1 + Δ t f ( u ( x 1 , t ) ) d t − ∫ t 1 t 1 + Δ t f ( u ( x 1 + Δ x , t ) ) d t</p><p>Suppose shock splits the rectangle into two parts and u L and u R are two states immediately to the left and right side of the shock, then</p><p>Δ x u R − Δ x u L = Δ t f ( u L ) − Δ t f ( u R )</p><p>If Δ x = − s Δ t , for s &lt; 0 and then dividing by ∆t and taking Δ t → 0 gives,</p><p>s ( u R − u L ) = f ( u R ) − f ( u L )</p><p>s = f ( u R ) − f ( u L ) u R − u L</p><p>Which is known as the Rankine-Hugoniot Condition and s is the shock speed.</p><p>The shock speed for Inviscid Burgers equation is</p><p>s = 1 2 ( u L + u R ) , as f ( u ) = 1 2 u 2 .</p><p>Therefore it is easy to calculate the shock speed. In general, weak solutions occur whenever there is no smooth or classical solution and these solutions may not be differential or even continuous. Therefore, in this case, Equation (1) is not valid and the integral form of conservation law does hold. In mathematically, the function u ( x , t ) is a weak solution of conservative law (1) with initial condition if it satisfies the following, for all function of φ ( x , t ) [<xref ref-type="bibr" rid="scirp.110205-ref13">13</xref>],</p><p>∫ 0 ∞ ∫ − ∞ ∞ [ u φ t + f ( u ) φ x ] d x d t = − ∫ 0 ∞ u ( x , 0 ) φ ( x , 0 ) d x</p><p>However, the weak solution concept cannot guarantee the uniqueness of the solution, because of that addition condition need to be imposed, called entropy condition.</p>Entropy Condition<p>The entropy condition described by the following [<xref ref-type="bibr" rid="scirp.110205-ref12">12</xref>],</p><p>If a discontinuity propagate with the characteristic speed s, given by the Rankine-Hugoniot condition, satisfies the entropy condition if,</p><p>f ′ ( u L ) &gt; s &gt; f ′ ( u R )</p><p>In particular, for the inviscid Burgers equation, if u satisfy the entropy condition then,</p><p>u L &gt; u R</p><p>where f ( u ) = 1 2 u 2 .</p></sec><sec id="s4"><title>4. Riemann Problem</title><p>The Riemann problem is a particular initial value problem which contains a conservation law together with piecewise constant data having a single discontinuity. We consider the Riemann problems for the inviscid Burgers equation subject to special initial conditions, described by</p><p>u ( x , 0 ) = { u L           x &lt; 0 u R             x &gt; 0</p><p>The solution of the Riemann problem depends on u L and u R . If u L &gt; u R then the characteristic curve is,</p><p>x 0 = x + u L t if x &lt; 0 and x 0 = x + u R t if x &gt; 0</p><p>Then the solution becomes,</p><p>u ( x , t ) = { u L           x − s t &lt; 0 u R           x − s t &gt; 0</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows the characteristic curve for u L &gt; u R . Therefore, for u L &gt; u R , left wave travel faster than the right wave and as a result, a shock wave is generate. In this case, the solution satisfies the entropy condition also.</p><p>On the other hand, if u L &lt; u R , the problem has two solutions. First one is,</p><p>u ( x , t ) = { u L           x − s t &lt; 0 u R           x − s t &gt; 0</p><p>But this solution does not follow the entropy condition, which is described above [<xref ref-type="bibr" rid="scirp.110205-ref12">12</xref>].</p><p>Another solution is weak solution. To get the weak solution suppose u ( x , t ) = φ ( x / t ) , then the problem becomes,</p><p>− x t 2 φ ′ ( x t ) + 1 t φ ′ ( x t ) f ′ ( φ ( x t ) ) = 0</p><p>f ′ ( φ ( x t ) ) = x t</p><p>φ ( x t ) = ( f ′ ) − 1 ( x t )</p><p>For u ( x , t ) = φ ( x t ) = u L , that is, f ′ ( u L ) = x t</p><p>φ ( x t ) = φ ( f ′ ( u L ) ) = ( f ′ ) − 1 ( f ′ ( u L ) ) = u L       if   x t &lt; f ′ ( u L )</p><p>On the other hand, u ( x , t ) = φ ( x t ) = u R</p><p>φ ( x t ) = φ ( f ′ ( u R ) ) = ( f ′ ) − 1 ( f ′ ( u R ) ) = u R     if     f ′ ( u R ) &lt; x t</p><p>Therefore, weak solution becomes,</p><p>u ( x , t ) = { u L       if   x t &lt; f ′ ( u L ) x t         if   f ′ ( u L ) &lt; x t &lt; f ′ ( u R ) u R       if   f ′ ( u R ) &lt; x t</p><p>Thus, if u L &lt; u R , the characteristic waves are spreading and produced rarefaction wave, head of the wave is faster than tail. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows the rarefaction wave.</p><p>The study of Riemann problem is very useful for understanding shock wave and rarefaction wave which appear as characteristics in the solution. In numerical methods, Riemann problem is also the basic tool for developing finite volume methods for the solution of conservation law equations due to the discreteness of the grid.</p><p>The Riemann problem has a similarity solution, a function of x/t alone; self-similar at different times. The solution u ( x , t ) = u ˜ ( x / t ) is constant along any ray x/t = constant through the origin.</p></sec><sec id="s5"><title>5. Numerical Method</title><p>In this paper, finite volume method is considered for the numerical solution of the one dimensional conservation law. Initially, we have discussed the discretization the computational domain in both space and time of the problem (1).</p><p>For simplicity, we have considered the uniform discretization for the special and time domain. Suppose the special domain is [ x L , x R ] and then, the discretized point is x i = x L + ( i + 1 / 2 ) Δ x for i = 0 , 1 , ⋯ , N where Δ x = ( x R − x L ) / N + 1 . Thus, the i-th grid cell or control volume is C i = ( x i − 1 / 2 , x i + 1 / 2 ) .</p><p>The discretization in time with step size ∆t is t n = n Δ t .</p><p>Now, suppose the value u i n is the cell average over the i-th interval at time t<sup>n</sup>. Then,</p><p>u i n ≈ 1 Δ x ∫ x i − 1 / 2 x i + 1 / 2 u ( x , t n ) d x ≡ 1 Δ x ∫ C i u ( x , t n ) d x</p><p>Similarly, F i + 1 / 2 n is the average value at the interface i + 1 / 2 between t<sup>n</sup> and t<sup>n</sup><sup>+1</sup>,</p><p>F i + 1 / 2 n = 1 Δ t ∫ t n t n + 1 f ( u ( x i + 1 / 2 , t ) ) d t</p><p>Now, integrating the conservation law (1) over [ x i − 1 / 2 , x i + 1 / 2 ] &#215; [ t n , t n + 1 ] , we get</p><p>∫ t n t n + 1 ∫ x i − 1 / 2 x i + 1 / 2 u t d x d t + ∫ t n t n + 1 ∫ x i − 1 / 2 x i + 1 / 2 f ( u ) x d x d t = 0</p><p>Therefore,</p><p>∫ x i − 1 / 2 x i + 1 / 2 u ( x , t n + 1 ) d x − ∫ x i − 1 / 2 x i + 1 / 2 u ( x , t n ) d x = − ∫ t n t n + 1 f ( u ( x i + 1 / 2 , t ) ) d t + ∫ t n t n + 1 f ( u ( x i − 1 / 2 , t ) ) d t</p><p>Dividing both side by ∆x, then</p><p>u i n + 1 = u i n − Δ t Δ x ( F i + 1 / 2 n − F i − 1 / 2 n )</p><p>This equation represents the conservation law directly, that is, the rate of change of the cell average is computed by the flux differences through the boundary of the cell. Therefore, this equation is the exact form of conservation law.</p><p>In finite volume method, different way of approximation of flux function will give the different methods. Next, the Godunov method is presented by approximating flux function.</p><sec id="s5_1"><title>5.1. Godunov Method</title><p>For Godunov method, we need to approximate the numerical flux F i + 1 / 2 n at each interface x i + 1 / 2 . As the cell average u i n is constant in each cell C i at each time level, it may define at each cell interface x i + 1 / 2 a Riemann problem,</p><p>∂ u ∂ t + ∂ ∂ x f ( u ) = 0</p><p>u ( x , t n ) = { u i n         if   x &lt; x i + 1 / 2 u i + 1 n     if   x &gt; x i + 1 / 2</p><p>According to this method, initially, need to reconstruct a piecewise polynomial function u ˜ n ( x , t n ) , ∀ x , from the cell average u i n . In the simplest case, this is a piecewise constant function that takes u i n in the i-th grid cell, i.e. u ˜ n ( x , t n ) = u i n , ∀ x ∈ C i .</p><p>Next, after time ∆t, obtain u ˜ n ( x , t n + 1 ) , with initial data. In this way, need to average this function over every grid cell to calculate new cell averages u i n + 1 = 1 Δ x ∫ C i u ˜ n ( x , t n + 1 ) d x . The full process is then repeated in the next time step.</p><p>Thus, u ˜ n ( x i − 1 / 2 , t ) is constant over the time interval t n &lt; t &lt; t n + 1 . As the Riemann problem has similarity solution. So, Riemann problem centered at x i − 1 / 2 has a similarity solution along ( x − x i − 1 / 2 ) / ( t − t n ) = constant. The value along ( x − x i − 1 / 2 ) / t = 0 gives the value u ˜ n ( x i − 1 / 2 , t ) . Denote this value by u i − 1 / 2 * = u * ( u i − 1 n , u i n ) . Therefore, the numerical flux F i − 1 / 2 n become</p><p>F i − 1 / 2 n = 1 Δ t ∫ t n t n + 1 f ( u i − 1 / 2 * ) d t = 1 Δ t ∫ t n t n + 1 f ( u * ( u i − 1 n , u i n ) ) d t = f ( u * ( u i − 1 n , u i n ) ) = f ( u i − 1 / 2 * ) (say)</p><p>Therefore, Godunov method is obtained by solving the Riemann problem between states u i − 1 n and u i n in order to determine the flux F i − 1 / 2 n = f ( u i − 1 / 2 * ) .</p><p>Thus, the Godunov flux for conservation law is [<xref ref-type="bibr" rid="scirp.110205-ref5">5</xref>],</p><p>F i − 1 / 2 n = { f ( u i − 1 )         if   u i − 1 &gt; q s   and   s &gt; 0 f ( u i )             if   u i &lt; q s   and   s &lt; 0 f ( u s )           if   u i − 1 &lt; q s &lt; u i</p><p>Consequently, there are five possible form of Riemann solution and it contains a single shock or rarefaction wave. The solution u i − 1 / 2 * is either u i if the shock or rarefaction wave moving entirely to the left and on the other hand, u i − 1 / 2 * is u i − 1 if the shock or rarefaction wave moving entirely to the right. Moreover, if the rarefaction wave spreads partly to the left and also partly to the right, at this point, the solution u i − 1 / 2 * is neither u i − 1 nor u i and the solution will be u s , where u s is the unique value for which f ′ ( u s ) = 0 where u i − 1 &lt; u s &lt; u i .</p><p>Where s is the shock speed and s = f ( u R ) − f ( u L ) u R − u L .</p><p>The formula can also be written as [<xref ref-type="bibr" rid="scirp.110205-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.110205-ref14">14</xref>],</p><p>F i − 1 / 2 n = { min u i − 1 &lt; u &lt; u i f ( u )           if   u i − 1 ≤ u i max u i &lt; u &lt; u i − 1 f ( u )       if   u i ≤ u i − 1</p><p>Additionally, it guarantees that the solution satisfies the entropy condition. However, the necessary condition for consistency of the numerical flux function is that the wave speed should be bounded [<xref ref-type="bibr" rid="scirp.110205-ref14">14</xref>], i.e. max i | f ′ ( u i n ) | &lt; L , where L is any constant.</p><p>Moreover, the CFL condition for the given problem is max i | f ′ ( u i n ) | Δ t Δ x ≤ 1 .</p></sec><sec id="s5_2"><title>5.2. Examples by Godunov Method</title><p>Here, the initial value problem for inviscid Burgers equation using Godunov method will be presented by some examples. Both discontinuous and continuous initial value problems are considered.</p><sec id="s5_2_1"><title>5.2.1. Discontinuous Initial Value Problems</title><p>Initially considering inviscid Burgers equation with the following discontinuous initial value problem,</p><p>∂ u ∂ t + ∂ ∂ x ( u 2 2 ) = 0</p><p>u ( x , 0 ) = { 0.6       if   x ≥ 0.5 0.1         if   x &lt; 0.5 (2)</p><p>The initial condition and the numerical solution using Godunov method is presented in <xref ref-type="fig" rid="fig3">Figure 3</xref> and <xref ref-type="fig" rid="fig4">Figure 4</xref>. The numerical solution approximated very well. In this problem, computational time is 0.040 section and also Δ t = 0.0043 and Δ x = 0.01 . <xref ref-type="fig" rid="fig4">Figure 4</xref> also shows the wave at different time, where n is represent the number of iteration. The numerical solution does not show any instability. Here it is clear that shock wave propagates with the initial condition.</p><p>Again, considering the following discontinuous initial value problem,</p><p>∂ u ∂ t + ∂ ∂ x ( u 2 2 ) = 0</p><p>u ( x , 0 ) = { 0.2         if   x ≥ 0.5 0.7         if   x &lt; 0.5 (3)</p><p>The initial condition and the numerical solution shows the rarefaction wave using Godunov method is presented in <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref>, where, Δ t = 0.005 and Δ x = 0.01 . <xref ref-type="fig" rid="fig6">Figure 6</xref> also shows the wave at different time, where n is represent the number of iteration. The computational time is 0.40 second.</p></sec><sec id="s5_2_2"><title>5.2.2. Continuous Initial Value Problems</title><p>Next, considering inviscid Burgers equation with following continuous initial condition is as smooth as possible. Figures 7-10 show the initial conditions and the numerical solutions by Godunov method of (4) and (5) respectively, where, x – axis is only differ from other.</p><p>∂ u ∂ t + ∂ ∂ x ( u 2 2 ) = 0</p><p>u ( x , 0 ) = sin x ,       0 ≤ x ≤ 2 π (4)</p><p>u ( x , 0 ) = sin x ,     0 ≤ x ≤ 4 π (5)</p><p>In <xref ref-type="fig" rid="fig8">Figure 8</xref>, Δ t = 0.0072 and Δ x = 0.011 . In <xref ref-type="fig" rid="fig1">Figure 1</xref>0, Δ t = 0.0088 and Δ x = 0.01 . The computational time is 0.5 second. The speed of propagation of inviscid Burgers equation is u itself. In this case, the initial value moves with variable speed in x. As the sine wave is positive at 0 ≤ x ≤ π , and negative at π ≤ x ≤ 2 π , the solution is therefore moves first forward and the backward direction, and develop a discontinuity at x = π .</p><p>In Godunov method, the solution computed on a very fine mesh. <xref ref-type="fig" rid="fig8">Figure 8</xref> shows initially sine wave compress and develop a shock, and then it expands. In <xref ref-type="fig" rid="fig1">Figure 1</xref>0, the solution is called N-wave also. Therefore, Godunov method shows a good approximation of the solution.</p></sec></sec></sec><sec id="s6"><title>6. Conclusion</title><p>In this research, inviscid Burgers equation is considered as an example of nonlinear conservation law. Here we presented a theoretical feature of nonlinear conservation law by using the common model, inviscid Burgers equation. Some important features such as integral form of conservation law, classical solution, and weak solution with entropy condition also have been presented. The Riemann problem is discussed to understand the shock wave and rarefaction wave. Finite volume method is considered as numerical method to approximate the solution, as it is effective to describe the discontinuous solution. Taking into account a special initial value problem such as continuous and discontinuous initial value problems are solved by Godunov method. In conclusion, Godunov method shows a good approximation of the problem.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Hemel, R., Azam, M.T. and Alam, M.S. (2021) Numerical Method for Non-Linear Conservation Laws: Inviscid Burgers Equation. Journal of Applied Mathematics and Physics, 9, 1351-1363. https://doi.org/10.4236/jamp.2021.96092</p></sec></body><back><ref-list><title>References</title><ref id="scirp.110205-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Musha, T. and Higuchi, H. (1978) Traffic Current Fluctuation and the Burgers Equation. Japanese Journal of Applied Physics, 17, 811-816. https://doi.org/10.1143/JJAP.17.811</mixed-citation></ref><ref id="scirp.110205-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Bonkile, M.P., Awasthi, A., Lakshmi, C., Mukundan, V. and Aswin, V.S. (2018) A Systematic Literature Review of Burgers’ Equation with Recent Advances. Pramana, 90, Article No. 69. https://doi.org/10.1007/s12043-018-1559-4</mixed-citation></ref><ref id="scirp.110205-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Leveque, R.J. (2004) Finite Volume Methods for Hyperbolic Problems. Cambridge University Press, Cambridge, UK.</mixed-citation></ref><ref id="scirp.110205-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Sterck, H.D. and Ullrich, P. (2009) Introduction to Computational PDEs.</mixed-citation></ref><ref id="scirp.110205-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Sea&amp;#239;d, M. (2006) Stable Numerical Methods for Conservation Laws with Discontinuous Flux Function. Applied Mathematics and Computation, 175, 383-400.https://doi.org/10.1016/j.amc.2005.07.052</mixed-citation></ref><ref id="scirp.110205-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ucar, Y., and Yagmurlu, N.M. and Tasbozan, O. (2017) Numerical Solutions of the Modified Burgers’ Equation by Finite Difference Methods. Applied Mathematics and Computation, 13, 19-30. https://doi.org/10.1515/jamsi-2017-0002</mixed-citation></ref><ref id="scirp.110205-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Pandey, K., Verma, L. and Verma, A.K. (2009) On a Finite Difference Scheme for Burgers’ Equation. Applied Mathematics and Computation, 215, 2206-2214. https://doi.org/10.1016/j.amc.2009.08.018</mixed-citation></ref><ref id="scirp.110205-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Karako&amp;#231;, S.B.G., Ba&amp;#351;han, A. and Geyikli, T. (2014) Two Different Methods for Numerical Solution of the Modified Burgers’ Equation. The Scientific World Journal, 2014, Article ID: 780269. https://doi.org/10.1155/2014/780269</mixed-citation></ref><ref id="scirp.110205-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Justin, D. (2019) Numerical Methods for Conservation Laws.https://jdongg.github.io/post/conservation-laws-1/</mixed-citation></ref><ref id="scirp.110205-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Oyar, N. (2017) Inviscid Burgers Equations and Its Numerical Solutions. Thesis, Middle East Technical University, Ankara, Turkey.</mixed-citation></ref><ref id="scirp.110205-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Landajuela, M. (2011) Burgers Equation. Becam Report, Basque Center for Applied Mathematics, Bizkaia, Spain.</mixed-citation></ref><ref id="scirp.110205-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Mishra, S. (2015) Numerical Methods for Conservation Laws and Related Equations.</mixed-citation></ref><ref id="scirp.110205-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Yu, L. and Zhou, B. (2014) The Burgers Equation for a New Continuum Model with Consideration of Driver’s Forecast Effect. Journal of Applied Mathematics, 2014, Article ID: 539459.https://doi.org/10.1155/2014/539459</mixed-citation></ref><ref id="scirp.110205-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Rugina, C., Bratu, P. and Mosnegutu, V. (2018) On the Bergers Equation with Application to Wave Propagation in Soft Tissue. Romanian Journal of Physics, 3, 37-47.</mixed-citation></ref></ref-list></back></article>