MATLAB Code to solve the convection equation

バージョン 1.0.0 (55.4 KB) 作成者: R Surya Narayan
MATLAB code to implement numerical solutions to the two dimensional convection equation using Finite Volume Method
ダウンロード: 632
更新 2020/4/14

ライセンスの表示

This is a MATLAB code that solves the 2D convection equation using Finite Volume Method. Interpolation scheme used is a combination of Central Differencing and Upwind Interpolation and hence is called "Deferred Correction" scheme that uses a blending factor beta. Setting beta =1 uses the second order accurate central differencing while setting beta=0 uses first order accurate upwind differencing. Boundary conditions involve both Dirchlet and Neumann boundary conditions with the scalar field phi set to 1 along the north and 0 along the west, while the east and south boundaries are characterized by setting d(phi)/dx to zero on the west face and d(phi)/dy to zero on the south face. Different plots for the equations can be obtained by tweaking the blending factor.

引用

R Surya Narayan (2024). MATLAB Code to solve the convection equation (https://www.mathworks.com/matlabcentral/fileexchange/75001-matlab-code-to-solve-the-convection-equation), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2020a
すべてのリリースと互換性あり
プラットフォームの互換性
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