This is a MATLAB code that soves the 2D diffusion equation using the Finite Volume Method (FVM). Interpolation Scheme used is the upwinding scheme. Post-Processing in done usig contourf function.
R Surya Narayan (2021). MATALB code to solve the diffusion equation (https://www.mathworks.com/matlabcentral/fileexchange/74999-matalb-code-to-solve-the-diffusion-equation), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.