Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The one - dimensional linear wave equation can be written as We wish to adopt a second - order in time and second - order
The onedimensional linear wave equation can be written as
We wish to adopt a secondorder in time and secondorder in space finite difference scheme, and a candidate is given by
The stability condition for this scheme is the Courant Friedrichs Lewy CFL condition, hence sigma where sigma cDelta t Delta x is the Courant number. In order to reduce the computational time, the Delta t is usually kept as large as possible, hence reducing the number of time steps taken.
The problem is furthermore normalized such that an approximation error of for a discretisation size Delta x is obtained. You may assume you are using a computer with a bit processor, for which you can expect a floating point accuracy ie machine precision of
If we choose a Delta x What is the expected error when computing for the above discretisation? ans
Subsequently you perform a mesh convergence study, and hence you refine the grid resolution. What is the smallest value of Delta x you can afford before you encounter errors when computing due to the machine precision? ans
Having performed the tests for the onedimensional problem, you decide to perform the simulations on a threedimensional problem with Delta x for a domain of unit size in each dimension and periodic boundary conditions, and seconds of physical simulation time are needed for the problem. Considering an mflops mega flops capability, and that each discretisation point requires floating point operations per time step, what is the total run time for the simulation, to the nearest hour. ans
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started