Order of accuracy & Stability
Version 1.0.0 (11,4 KB) von
Manuel A. Diaz
This snippet shows how I examine the order of accuracy (OOA) and the numerical stability for a given numerical scheme.
In this snippet I examine the OOA and the stability for Lele's 6th-order numerical scheme [1] using a challeging stationary-wave problem proposed by Brady & Livescu (2019) [2] using the one-dimensional system of the wave equation.
Refs:
[1] Lele, Sanjiva K. "Compact finite difference schemes with spectral-like resolution." Journal of computational physics103.1 (1992): 16-42.
[2] Brady, Peter T., and Daniel Livescu. "High-order, stable, and conservative boundary schemes for central and compact finite differences." Computers & Fluids 183 (2019): 84-101.
Zitieren als
Manuel A. Diaz (2024). Order of accuracy & Stability (https://www.mathworks.com/matlabcentral/fileexchange/118140-order-of-accuracy-stability), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2022b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: Easy build compact schemes , Easy build finite-difference operators, compact schemes
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |