FDM solution to flow through a square pipe

版本 1.0.0 (43.3 KB) 作者: R Surya Narayan
A MATLAB code that solves the velocity diffusion equation for the flow of a viscous fluid through a rectangular pipe
232.0 次下载
更新时间 2020/4/14

查看许可证

This is a MATLAB code that uses Finite Difference Method to solve the Poisson's equation for the velocity potential across the cross section of a rectangular pipe. Contours of the velocity are obtained using the contourf function. While earlier a matrix method was adopted to generate a coefficient matrix and solve the system of equations resulting from the discretized Poissions, this code uses a Gauss-Siedel iterative method by initializing the north-south-east-west coefficients for given grid-point.

引用格式

R Surya Narayan (2024). FDM solution to flow through a square pipe (https://www.mathworks.com/matlabcentral/fileexchange/74998-fdm-solution-to-flow-through-a-square-pipe), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
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