1D Linear Advection Finite Difference

バージョン 1.0.0.0 (5.61 KB) 作成者: James Adams
Solves the 1D Linear Advection equations using a choice of five finite difference schemes.
ダウンロード: 2.8K
更新 2014/5/6

ライセンスの表示

The 1D Linear Advection Equations are solved using a choice of five finite difference schemes (all explicit). First Order Upwind, Lax-Friedrichs, Lax-Wendroff, Adams Average (Lax-Friedrichs) and Adams Average (Lax-Wendroff).
A heuristic time step is used.

Periodic boundary conditions are used (solutions reappears at the opposite end of the figure window.

Dependent variable (pollutant concentration) is plotted at each time step.

Additional info,
The Adams Average scheme was devised by myself (James Adams) in 2014. In this program, it has been used to modify the Lax-Friedrichs and Lax-Wendroff schemes. Numerical experiments have shows that the Adams Average improves the performance of these schemes.

引用

James Adams (2024). 1D Linear Advection Finite Difference (https://www.mathworks.com/matlabcentral/fileexchange/46480-1d-linear-advection-finite-difference), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2011a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0