Alternate Direct Iterative Method

ADI Solver script for 2D Poisson's equation of the form del^2(u) = S(x,y).
31 Downloads
Updated 17 May 2023

View License

ADI Solver for 2D Poisson's equation of the form del^2(u) = S(x,y).
The solver uses Successive Over Relaxation (SOR) at each row/column sweep to solve u in that row/column. The descritzation equation used here to perform SOR update is
Column Sweep
[ApUp - w(AwUw + AeUe)]_k+1/2 = [ApUp(1-w) + w(AnUn + AsUs + S)]_k
Row Sweep
[ApUp - w(AnUn + AsUs)]_k+1 = [ApUp(1-w) + w(AeUe + S)]_k+1/2 + w[AwUw]_k+1

Cite As

Rohith Warrier (2026). Alternate Direct Iterative Method (https://in.mathworks.com/matlabcentral/fileexchange/107295-alternate-direct-iterative-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.1

TDMA included

1.0.0