Use a smooth exact solution such as u(x,t)=e−Dq2tsin(qx) on a domain with matching boundary conditions, and compare numerical and exact values at a fixed physical time. To measure spatial order, halve h while making temporal error negligible; the error norm should fall by a factor of four. To measure temporal order, halve k on a sufficiently fine fixed spatial grid and again expect a factor of four. Report observed order p=log2(Eh/Eh/2) and use several refinements to identify the asymptotic regime.
Check more than one smooth mode, boundary implementation and expected conservation or decay properties. A manufactured solution with an added known source can test nontrivial boundaries and forcing. Repeat in maximum and root-mean-square norms, stop before finite-precision or solver tolerances dominate, and separate stability failures from errors in convergence order. A single small error or a single visually smooth solution does not establish accuracy.
Ancestors (11)
- 1
- S31
- 2019
- Past exam of the short options paper shared by Parts A and B of the physics course of the University of Oxford
- Short options paper shared by Parts A and B of the physics course of the University of Oxford
- Physics course of the University of Oxford
- Undergraduate course of the University of Oxford
- Course of the University of Oxford
- University of Oxford
- List of universities
- Home
Discussion (0)
New discussionThere are no discussions about this article yet.
Articles by others on the same topic (0)
There are currently no matching articles.