Estimate the numerical wave speed

Assignment Help MATLAB Programming
Reference no: EM13317657

Questions:

1. Solve the linear advection equation on [-1, 1] with the periodic boundary conditions using Lax-Friedrichs, Law-Wendroff, and the upwind methods with the initial conditions u(x, 0) = sinΠx and the CFL number about 0.9 on a sequence of meshes with J = 16, 32, 64, 128, 256 elements. Tabulate the errors at T = 2. Plot solutions with all three methods on one of the meshes. Comment on accuracy of the schemes, i.e. which method gives the best/worst results, relate that to the theoretical results, i.e. the orders of truncation errors.

2. Integrate the problem for a longer time to, say, T = 10 on one of the meshes. Plot solutions, visually compare numerical diffusivity of the schemes, relate your observations to the theoretical discussion that was given in class. You do not need to be precise here, simply note which scheme is more diffusive.

3. Compare solutions on the J = 16 and J = 256 meshes at T = 10 and comment how tlx influences numerical diffusion. Relate you observations to the theoretical prediction. Again, you do not need to measure precisely how diffusive your solutions are.

4. Numerical dispersion is visually less pronounced that numerical dissipation. You might need to solve the problem for larger t final to see an accumulation of the phase error. Experiment with the final time and mesh sizes to see for yourself that the numerical wave speed is slightly faster or slower than the exact wave speed. Relate your observations to the theoretical result. Recall that ak ≈ a(1 - 2/3θ2(1 + 2α2 -3β)). You don't need to estimate the numerical wave speed, only to show on a plot a shift in the sine wave.

5. Pick your favorite scheme and try a couple of values for α, one close to 1 and the other not. Convince yourself that a smaller Δt is not necessarily a better choice. Explain why.

6. Include a print out of your code.

Reference no: EM13317657

Questions Cloud

What is speed of efflux : A two mmeter high tank is full of water. A hole appears at its middle. What is speed of efflux
Calculate the increase in vertical stress at a depth 1 m : each wire has a tension of 1kN and is inclined at 45 degree to the vertical. calculate the increase in vertical stress at a depth 1 m below the surface and the amount of elastic settlement below the axis of the pole if E = 40 Mpa and v=0.45
What is the work done by the air in the cylinder : A piston cylinder is initially at a state of 60c, 200kpa. Heat is added to the system from 500c reservoir until the final pressure is 400kpa. the mass of the air is 2kg, the spring constant is 1000kn/m and the cross sectional area of the piston is..
Discuss the advantages and disadvantages of each approach : COMP247 Data Communications. What is the maximum data capacity for traffic between Hornsby and the City store?
Estimate the numerical wave speed : Scheme and try a couple of values for α, one close to 1 and the other not. Convince yourself that a smaller Δt is not necessarily a better choice.
Does this necessarily imply that people are selfish : Self-interest is a powerful motivator. Does this necessarily imply that people are selfish and greedy? Do self-interest and selfishness mean the same thing"?
How will the birthrate be affected by policies that reduce : In recent years, both the personal exemption and child tax credit have been increased in the United States. According to the basic principles of economics, how will the birthrate be affected by policies that reduce the taxes imposed on those with chi..
What must the hydraulic detention time be in aeration pond : A perfectly mixed aeration pond with no recycle (return line) serves as the biological reactor for a small community. The pond receives 30 cubic meters/day of influent with a BOD5 of 350 mg/L that must be reduced to 20 mg/L before discharge.
The government should provide such goods as health care : The government should provide such goods as health care, education, and highways because it can provide them for free.” Is this statement true or false

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Create an animation of a square

create an animation of a square according to the directions below. Create a square with a side length of 3 with the square centered at (5,5). Translate this square along a cosine wave on the interval [0, 6*pi].

  Vb and matlab to calculate the cumulative days

Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inputs, by employing array vector in VB or a vector matrix in Matlab.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Obtain the cross products using matlab cross function

Use MATLAB cross function to obtain the above cross products. Note that the accelerations are known functions of the derivatives of the three coordinates.

  Index of the largest fibonacci number

What is the index of the largest Fibonacci number that can be represented exactly as a MATLAB double-precision quantity without roundoff error

  Give the gradient operator in paraboloidal coordinates

Given that the le data.txt contains only real numbers seperated by white space, write down a sequence of maple commands that will read the data into a maple list and then plot a histogram of the elements in the list.

  Design and synthesis of continuous time controllers

Design and synthesis of continuous time controllers - A graphical user interface (GUI) is a human-computer interface that uses menus, dialogue box, and button which can be manipulated by a mouse

  T prints out, on a clear screen, a table of temperatures

Create a MATLAB program (utilizing a temp-conversion function) that prints out, on a clear screen, a table of temperatures.

  Z-transform in matlab

Z-Transform in MATLAB, Sketch the z-plane pole-zero plot and determine the stability status for the following digital system. Determine the h(n) in MatLab.

  Secant method to tryt to find out the root

create a function that will use the secant method to tryt to find out the root

  Give examples of appropriate values

Give examples of appropriate values for each of the following type expressions. Do not use the empty list as the value for any list component

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd