Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Quantum Mechanics

Authors: J.J Sakurai

Revised Edition

9781108499996, 201539292, 978-0201539295

More Books

Students also viewed these Mechanical Engineering questions

Question

Explain product positioning.

Answered: 1 week ago

Question

Explain Industrial market segment.

Answered: 1 week ago

Question

Explain the market segmentation.

Answered: 1 week ago