Jacobi Solver for the Unsteady Heat Equation
Although this is a trivial exercise, many people find puzzling the correct procedure to quantify the error produced by a finite difference approximation. The following scripts are a simple demonstration on how to measure the norm errors for 1d, 2d and 3d finite difference solvers. Here, by using the classical heat equation with a Jacobi scheme we simply demonstrate the computation of the L1, L2 and Linf norm error, for each case.
Zitieren als
Manuel A. Diaz (2024). Jacobi Solver for the Unsteady Heat Equation (https://www.mathworks.com/matlabcentral/fileexchange/56949-jacobi-solver-for-the-unsteady-heat-equation), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
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.
FDM_heatEquation_Nd/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Explicit formulations of L1 and L2 norm errors. |