0% found this document useful (0 votes)
72 views

Numerical Methods For Conservation Laws

This document provides instructions for two numerical assignments solving scalar hyperbolic conservation laws using the Fluctuation-Signal algorithm. The first problem involves solving the equation ut + (u2 /2)x = 0 with discontinuous initial conditions from -2 to 2 and plotting the solution at t=2. The second problem solves ut + (4u2 /[4u2 + (1 − u)2 ])x = 0 from -1 to 1 with piecewise initial conditions and plots the solution at t=0.4, using 100 grid points and a time step based on a CFL number of 0.8.

Uploaded by

eafz111
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Numerical Methods For Conservation Laws

This document provides instructions for two numerical assignments solving scalar hyperbolic conservation laws using the Fluctuation-Signal algorithm. The first problem involves solving the equation ut + (u2 /2)x = 0 with discontinuous initial conditions from -2 to 2 and plotting the solution at t=2. The second problem solves ut + (4u2 /[4u2 + (1 − u)2 ])x = 0 from -1 to 1 with piecewise initial conditions and plots the solution at t=0.4, using 100 grid points and a time step based on a CFL number of 0.8.

Uploaded by

eafz111
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Numerical Methods for Conservation Laws

Assignment 1 (Scalar Laws) Use the Fluctuation-Signal algorithm to solve for the following scalar hyperbolic conservation laws: 1. ut + (u2 /2)x = 0, in the domain [-2,2], with initial conditions: u(x, 0) = 0, u(x, 0) = 1/2, u(x, 0) = 0, x < 1 1 < x < 0 x>0 (1) (2) (3)

Plot u versus x obtained numerically at t = 2 and compare with analytical solution. 2. ut + (4u2 /[4u2 + (1 u)2 ])x = 0, in the domain [-1,1], with initial conditions: u(x, 0) = 1, u(x, 0) = 0., 0.5 x 0. elsewhere (4) (5)

Plot u versus x obtained numerically at t=0.4. Use 100 points in the domain and time step based on a CFL number of 0.8 for solving the above problems..

You might also like