Inviscid Burgers' equation with sinusoidal initial data












4












$begingroup$


I have a question about the following Burgers' equation.



$u_t + (frac12u^2)_x = 0 $
with $u(x,0) = sin(x)$ on $[0,2pi]$ and periodic boundary conditions.



When I studied this equation numerically, I notice that once the shock forms, the shock stays still in the same place, yet the magnitude of the function decreases as time passes. That is, the initial function $sin(x)$ ranges from $-1$ to $1$, but as time passes, the magnitude of the maximum and minimum of the function decays.



Is this what is supposed to happen analytically?










share|cite|improve this question











$endgroup$

















    4












    $begingroup$


    I have a question about the following Burgers' equation.



    $u_t + (frac12u^2)_x = 0 $
    with $u(x,0) = sin(x)$ on $[0,2pi]$ and periodic boundary conditions.



    When I studied this equation numerically, I notice that once the shock forms, the shock stays still in the same place, yet the magnitude of the function decreases as time passes. That is, the initial function $sin(x)$ ranges from $-1$ to $1$, but as time passes, the magnitude of the maximum and minimum of the function decays.



    Is this what is supposed to happen analytically?










    share|cite|improve this question











    $endgroup$















      4












      4








      4


      1



      $begingroup$


      I have a question about the following Burgers' equation.



      $u_t + (frac12u^2)_x = 0 $
      with $u(x,0) = sin(x)$ on $[0,2pi]$ and periodic boundary conditions.



      When I studied this equation numerically, I notice that once the shock forms, the shock stays still in the same place, yet the magnitude of the function decreases as time passes. That is, the initial function $sin(x)$ ranges from $-1$ to $1$, but as time passes, the magnitude of the maximum and minimum of the function decays.



      Is this what is supposed to happen analytically?










      share|cite|improve this question











      $endgroup$




      I have a question about the following Burgers' equation.



      $u_t + (frac12u^2)_x = 0 $
      with $u(x,0) = sin(x)$ on $[0,2pi]$ and periodic boundary conditions.



      When I studied this equation numerically, I notice that once the shock forms, the shock stays still in the same place, yet the magnitude of the function decreases as time passes. That is, the initial function $sin(x)$ ranges from $-1$ to $1$, but as time passes, the magnitude of the maximum and minimum of the function decays.



      Is this what is supposed to happen analytically?







      pde hyperbolic-equations






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 10 '18 at 9:10









      Harry49

      6,85631237




      6,85631237










      asked Nov 15 '14 at 5:18









      monononomononono

      883615




      883615






















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          The method of characteristics gives $u=sin(x-ut)$. This implicit equation can be used to approach the solution, until a shock wave is met by the characteristics. Here is a sketch of the characteristics in the $x$-$t$ plane:



          characteristic curves



          The shock is formed when characteristics intersect for the first time, i.e. at the breaking time
          begin{aligned}
          t_B &= frac{-1}{min partial_x u(x,0)} =1 , ,
          end{aligned}
          as shown in the figure.
          The value $u_L$ of $u$ on the left of the shock is deduced from the characteristic curves
          $$
          u_L(x_s(t),t) = sinleft[x_s(t)-u_L(x_s(t),t), tright]
          $$
          passing through the shock located at $x_s(t)$.
          The value $u_R$ on the right is obtained similarly. The position $x_s(t)$ of the shock wave is given by the Rankine-Hugoniot condition $x'_s(t) = frac{1}{2} (u_L+u_R)$, with initial position $x_s(1) = pi$. Therefore, using symmetry, $u_R=-u_L$ and the shock wave stays at the same place. Its magnitude $u_L$ increases and then vanishes in time, as shown in the figure below, where $u_L$ --obtained numerically-- is plotted with respect to $t$:



          shock magnitude






          share|cite|improve this answer











          $endgroup$





















            1












            $begingroup$

            No, analytically that is not what happens. The equation in your question is discussed in Miller's Applied Asymptotic Analysis, and I quote from the middle of p. 78:




            Once shocks form, there is no longer a global unique solution of the nonlinear initial-value problem.




            It turns out that it's possible to modify the equation in such a way that the shocks are stable (though still move as time progresses, if I recall correctly) by adding a diffusion term. I definitely recommend reading section 3.6 of Miller's book.






            share|cite|improve this answer









            $endgroup$









            • 1




              $begingroup$
              @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
              $endgroup$
              – Harry49
              Dec 5 '17 at 13:14











            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1022483%2finviscid-burgers-equation-with-sinusoidal-initial-data%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2












            $begingroup$

            The method of characteristics gives $u=sin(x-ut)$. This implicit equation can be used to approach the solution, until a shock wave is met by the characteristics. Here is a sketch of the characteristics in the $x$-$t$ plane:



            characteristic curves



            The shock is formed when characteristics intersect for the first time, i.e. at the breaking time
            begin{aligned}
            t_B &= frac{-1}{min partial_x u(x,0)} =1 , ,
            end{aligned}
            as shown in the figure.
            The value $u_L$ of $u$ on the left of the shock is deduced from the characteristic curves
            $$
            u_L(x_s(t),t) = sinleft[x_s(t)-u_L(x_s(t),t), tright]
            $$
            passing through the shock located at $x_s(t)$.
            The value $u_R$ on the right is obtained similarly. The position $x_s(t)$ of the shock wave is given by the Rankine-Hugoniot condition $x'_s(t) = frac{1}{2} (u_L+u_R)$, with initial position $x_s(1) = pi$. Therefore, using symmetry, $u_R=-u_L$ and the shock wave stays at the same place. Its magnitude $u_L$ increases and then vanishes in time, as shown in the figure below, where $u_L$ --obtained numerically-- is plotted with respect to $t$:



            shock magnitude






            share|cite|improve this answer











            $endgroup$


















              2












              $begingroup$

              The method of characteristics gives $u=sin(x-ut)$. This implicit equation can be used to approach the solution, until a shock wave is met by the characteristics. Here is a sketch of the characteristics in the $x$-$t$ plane:



              characteristic curves



              The shock is formed when characteristics intersect for the first time, i.e. at the breaking time
              begin{aligned}
              t_B &= frac{-1}{min partial_x u(x,0)} =1 , ,
              end{aligned}
              as shown in the figure.
              The value $u_L$ of $u$ on the left of the shock is deduced from the characteristic curves
              $$
              u_L(x_s(t),t) = sinleft[x_s(t)-u_L(x_s(t),t), tright]
              $$
              passing through the shock located at $x_s(t)$.
              The value $u_R$ on the right is obtained similarly. The position $x_s(t)$ of the shock wave is given by the Rankine-Hugoniot condition $x'_s(t) = frac{1}{2} (u_L+u_R)$, with initial position $x_s(1) = pi$. Therefore, using symmetry, $u_R=-u_L$ and the shock wave stays at the same place. Its magnitude $u_L$ increases and then vanishes in time, as shown in the figure below, where $u_L$ --obtained numerically-- is plotted with respect to $t$:



              shock magnitude






              share|cite|improve this answer











              $endgroup$
















                2












                2








                2





                $begingroup$

                The method of characteristics gives $u=sin(x-ut)$. This implicit equation can be used to approach the solution, until a shock wave is met by the characteristics. Here is a sketch of the characteristics in the $x$-$t$ plane:



                characteristic curves



                The shock is formed when characteristics intersect for the first time, i.e. at the breaking time
                begin{aligned}
                t_B &= frac{-1}{min partial_x u(x,0)} =1 , ,
                end{aligned}
                as shown in the figure.
                The value $u_L$ of $u$ on the left of the shock is deduced from the characteristic curves
                $$
                u_L(x_s(t),t) = sinleft[x_s(t)-u_L(x_s(t),t), tright]
                $$
                passing through the shock located at $x_s(t)$.
                The value $u_R$ on the right is obtained similarly. The position $x_s(t)$ of the shock wave is given by the Rankine-Hugoniot condition $x'_s(t) = frac{1}{2} (u_L+u_R)$, with initial position $x_s(1) = pi$. Therefore, using symmetry, $u_R=-u_L$ and the shock wave stays at the same place. Its magnitude $u_L$ increases and then vanishes in time, as shown in the figure below, where $u_L$ --obtained numerically-- is plotted with respect to $t$:



                shock magnitude






                share|cite|improve this answer











                $endgroup$



                The method of characteristics gives $u=sin(x-ut)$. This implicit equation can be used to approach the solution, until a shock wave is met by the characteristics. Here is a sketch of the characteristics in the $x$-$t$ plane:



                characteristic curves



                The shock is formed when characteristics intersect for the first time, i.e. at the breaking time
                begin{aligned}
                t_B &= frac{-1}{min partial_x u(x,0)} =1 , ,
                end{aligned}
                as shown in the figure.
                The value $u_L$ of $u$ on the left of the shock is deduced from the characteristic curves
                $$
                u_L(x_s(t),t) = sinleft[x_s(t)-u_L(x_s(t),t), tright]
                $$
                passing through the shock located at $x_s(t)$.
                The value $u_R$ on the right is obtained similarly. The position $x_s(t)$ of the shock wave is given by the Rankine-Hugoniot condition $x'_s(t) = frac{1}{2} (u_L+u_R)$, with initial position $x_s(1) = pi$. Therefore, using symmetry, $u_R=-u_L$ and the shock wave stays at the same place. Its magnitude $u_L$ increases and then vanishes in time, as shown in the figure below, where $u_L$ --obtained numerically-- is plotted with respect to $t$:



                shock magnitude







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Dec 8 '17 at 12:55

























                answered Dec 5 '17 at 12:48









                Harry49Harry49

                6,85631237




                6,85631237























                    1












                    $begingroup$

                    No, analytically that is not what happens. The equation in your question is discussed in Miller's Applied Asymptotic Analysis, and I quote from the middle of p. 78:




                    Once shocks form, there is no longer a global unique solution of the nonlinear initial-value problem.




                    It turns out that it's possible to modify the equation in such a way that the shocks are stable (though still move as time progresses, if I recall correctly) by adding a diffusion term. I definitely recommend reading section 3.6 of Miller's book.






                    share|cite|improve this answer









                    $endgroup$









                    • 1




                      $begingroup$
                      @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
                      $endgroup$
                      – Harry49
                      Dec 5 '17 at 13:14
















                    1












                    $begingroup$

                    No, analytically that is not what happens. The equation in your question is discussed in Miller's Applied Asymptotic Analysis, and I quote from the middle of p. 78:




                    Once shocks form, there is no longer a global unique solution of the nonlinear initial-value problem.




                    It turns out that it's possible to modify the equation in such a way that the shocks are stable (though still move as time progresses, if I recall correctly) by adding a diffusion term. I definitely recommend reading section 3.6 of Miller's book.






                    share|cite|improve this answer









                    $endgroup$









                    • 1




                      $begingroup$
                      @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
                      $endgroup$
                      – Harry49
                      Dec 5 '17 at 13:14














                    1












                    1








                    1





                    $begingroup$

                    No, analytically that is not what happens. The equation in your question is discussed in Miller's Applied Asymptotic Analysis, and I quote from the middle of p. 78:




                    Once shocks form, there is no longer a global unique solution of the nonlinear initial-value problem.




                    It turns out that it's possible to modify the equation in such a way that the shocks are stable (though still move as time progresses, if I recall correctly) by adding a diffusion term. I definitely recommend reading section 3.6 of Miller's book.






                    share|cite|improve this answer









                    $endgroup$



                    No, analytically that is not what happens. The equation in your question is discussed in Miller's Applied Asymptotic Analysis, and I quote from the middle of p. 78:




                    Once shocks form, there is no longer a global unique solution of the nonlinear initial-value problem.




                    It turns out that it's possible to modify the equation in such a way that the shocks are stable (though still move as time progresses, if I recall correctly) by adding a diffusion term. I definitely recommend reading section 3.6 of Miller's book.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Nov 15 '14 at 6:57









                    Antonio VargasAntonio Vargas

                    20.7k245111




                    20.7k245111








                    • 1




                      $begingroup$
                      @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
                      $endgroup$
                      – Harry49
                      Dec 5 '17 at 13:14














                    • 1




                      $begingroup$
                      @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
                      $endgroup$
                      – Harry49
                      Dec 5 '17 at 13:14








                    1




                    1




                    $begingroup$
                    @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
                    $endgroup$
                    – Harry49
                    Dec 5 '17 at 13:14




                    $begingroup$
                    @mononono Note that this chapter of Miller is about the method of characteristics (with implicit solution $u=sin(x−ut)$), which is known to work only until a shock wave is encountered (see my answer for details).
                    $endgroup$
                    – Harry49
                    Dec 5 '17 at 13:14


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1022483%2finviscid-burgers-equation-with-sinusoidal-initial-data%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Le Mesnil-Réaume

                    Bundesstraße 106

                    Ida-Boy-Ed-Garten