Shock in the Inviscid Burgers Equation Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Burgers' Equation Shock SolutionsInviscid Burgers' equation solutionSolve Burgers' equation after shock formsRarefaction and shock waves colliding in Burgers' equationFinding shock curves, Burgers equationAdvection equation with discontinuous initial conditionThe method of Characteristics for Burgers' equationInviscid Burgers equationSolve inviscid Burgers' equation with shockShock of Burgers equation $u_t+uu_x=0$ at $t=0$

What initially awakened the Balrog?

Taylor expansion of ln(1-x)

Morning, Afternoon, Night Kanji

How often does castling occur in grandmaster games?

Can anything be seen from the center of the Boötes void? How dark would it be?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Is CEO the "profession" with the most psychopaths?

What is a fractional matching?

Do I really need to have a message in a novel to appeal to readers?

What is the difference between globalisation and imperialism?

Selecting user stories during sprint planning

Can a new player join a group only when a new campaign starts?

What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?

Illegal assignment from sObject to Id

Time to Settle Down!

Trademark violation for app?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

What is "gratricide"?

What is this clumpy 20-30cm high yellow-flowered plant?

Is a ledger board required if the side of my house is wood?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

What was the first language to use conditional keywords?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Disembodied hand growing fangs



Shock in the Inviscid Burgers Equation



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Burgers' Equation Shock SolutionsInviscid Burgers' equation solutionSolve Burgers' equation after shock formsRarefaction and shock waves colliding in Burgers' equationFinding shock curves, Burgers equationAdvection equation with discontinuous initial conditionThe method of Characteristics for Burgers' equationInviscid Burgers equationSolve inviscid Burgers' equation with shockShock of Burgers equation $u_t+uu_x=0$ at $t=0$










0












$begingroup$


I'm trying to implement the Finite-Volume method using local Lax-Friedrichs flux function. I found an example to the Riemann-problem, here is the solution plot:
enter image description here



So from characteristics $$u=begincases
1, x<frac12t \
0, x>frac12t
endcases$$

How can we see from the plot where the shock is?










share|cite|improve this question









$endgroup$
















    0












    $begingroup$


    I'm trying to implement the Finite-Volume method using local Lax-Friedrichs flux function. I found an example to the Riemann-problem, here is the solution plot:
    enter image description here



    So from characteristics $$u=begincases
    1, x<frac12t \
    0, x>frac12t
    endcases$$

    How can we see from the plot where the shock is?










    share|cite|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      I'm trying to implement the Finite-Volume method using local Lax-Friedrichs flux function. I found an example to the Riemann-problem, here is the solution plot:
      enter image description here



      So from characteristics $$u=begincases
      1, x<frac12t \
      0, x>frac12t
      endcases$$

      How can we see from the plot where the shock is?










      share|cite|improve this question









      $endgroup$




      I'm trying to implement the Finite-Volume method using local Lax-Friedrichs flux function. I found an example to the Riemann-problem, here is the solution plot:
      enter image description here



      So from characteristics $$u=begincases
      1, x<frac12t \
      0, x>frac12t
      endcases$$

      How can we see from the plot where the shock is?







      pde numerical-methods characteristics






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 27 at 17:20









      dxdydzdxdydz

      49110




      49110




















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          If you want a numerical way of finding the shock, you could take your array $u[i,j]$ and consider the partial derivative in the x-direction:
          dudx = diff(u) / dx



          And then if you contour plot dudx, you should get an image where the shock shows up as yellow. This should be along the line $t = 2x$, which you can see in your plot above.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
            $endgroup$
            – dxdydz
            Mar 27 at 22:40







          • 1




            $begingroup$
            That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
            $endgroup$
            – gdepaul
            Mar 27 at 23:10











          Your Answer








          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%2f3164805%2fshock-in-the-inviscid-burgers-equation%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0












          $begingroup$

          If you want a numerical way of finding the shock, you could take your array $u[i,j]$ and consider the partial derivative in the x-direction:
          dudx = diff(u) / dx



          And then if you contour plot dudx, you should get an image where the shock shows up as yellow. This should be along the line $t = 2x$, which you can see in your plot above.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
            $endgroup$
            – dxdydz
            Mar 27 at 22:40







          • 1




            $begingroup$
            That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
            $endgroup$
            – gdepaul
            Mar 27 at 23:10















          0












          $begingroup$

          If you want a numerical way of finding the shock, you could take your array $u[i,j]$ and consider the partial derivative in the x-direction:
          dudx = diff(u) / dx



          And then if you contour plot dudx, you should get an image where the shock shows up as yellow. This should be along the line $t = 2x$, which you can see in your plot above.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
            $endgroup$
            – dxdydz
            Mar 27 at 22:40







          • 1




            $begingroup$
            That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
            $endgroup$
            – gdepaul
            Mar 27 at 23:10













          0












          0








          0





          $begingroup$

          If you want a numerical way of finding the shock, you could take your array $u[i,j]$ and consider the partial derivative in the x-direction:
          dudx = diff(u) / dx



          And then if you contour plot dudx, you should get an image where the shock shows up as yellow. This should be along the line $t = 2x$, which you can see in your plot above.






          share|cite|improve this answer









          $endgroup$



          If you want a numerical way of finding the shock, you could take your array $u[i,j]$ and consider the partial derivative in the x-direction:
          dudx = diff(u) / dx



          And then if you contour plot dudx, you should get an image where the shock shows up as yellow. This should be along the line $t = 2x$, which you can see in your plot above.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Mar 27 at 18:50









          gdepaulgdepaul

          3759




          3759











          • $begingroup$
            I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
            $endgroup$
            – dxdydz
            Mar 27 at 22:40







          • 1




            $begingroup$
            That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
            $endgroup$
            – gdepaul
            Mar 27 at 23:10
















          • $begingroup$
            I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
            $endgroup$
            – dxdydz
            Mar 27 at 22:40







          • 1




            $begingroup$
            That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
            $endgroup$
            – gdepaul
            Mar 27 at 23:10















          $begingroup$
          I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
          $endgroup$
          – dxdydz
          Mar 27 at 22:40





          $begingroup$
          I tried to follow your advice, and I got smth like this: imgur.com/FLzCyMo, seems a little bit awkward, I picked the number of nodes $x$ to be $100$ on $[-3,3], dt = 0.01$ Can you show what I should get?
          $endgroup$
          – dxdydz
          Mar 27 at 22:40





          1




          1




          $begingroup$
          That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
          $endgroup$
          – gdepaul
          Mar 27 at 23:10




          $begingroup$
          That’s more or less what you should get, with the exception of the loop that juts our from the origin to the left.
          $endgroup$
          – gdepaul
          Mar 27 at 23:10

















          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%2f3164805%2fshock-in-the-inviscid-burgers-equation%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

          Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

          random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

          How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer