Question: Please provide step - by - step calculations with explanation. The one - dimensional linear wave equation can be written as d e l 2

Please provide step-by-step calculations with explanation.
The one-dimensional linear wave equation can be written as
del2udelt2=c2del2udelx2
We wish to adopt a second-order in time and second-order in space finite difference scheme, and a candidate is given by
uin+1-2uin+uin-1t2-c2ui+1n-2uin+ui-1nx2=0
The stability condition for this scheme is the Courant Friedrichs Lewy (CFL) condition, hence 01, where =ctx is the Courant number. In order to reduce the
computational time, the t is usually kept as large as possible, hence reducing the number of time steps taken.
The problem is furthermore normalised such that an approximation error of =1 for a discretisation size x=1 is obtained. You may assume you are using a computer with a
64 bit processor, for which you can expect a floating point accuracy (i.e. machine precision) of 10-16.
If we choose a x=0.001. What is the expected error when computing del2udelx2 for the above discretisation? [ans1]
Subsequently you perform a mesh convergence study, and hence you refine the grid resolution. What is the smallest value of x you can afford before you encounter errors
when computing del2udelx2 due to the machine precision? [ans2]
Having performed the tests for the one-dimensional problem, you decide to perform the simulations on a three-dimensional problem with x=10-3 for a domain of unit size in
each dimension and periodic boundary conditions, and 5 seconds of physical simulation time are needed for the problem. Considering an 800 mflops (mega flops) capability,
and that each discretisation point requires 8 floating point operations per time step, what is the total run time for the simulation, to the nearest hour. [ans3]
 Please provide step-by-step calculations with explanation. The one-dimensional linear wave equation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!