The attachment contains:
1. Related matlab files.
2. Picture files of possible outputs.
3. A read me text file.
4. A report containing detailed explanations about the basics and about coding algorithm used herein.
Finite difference (central) method is applied and solution is obtained for the stream function for Laplace's equation.
I have tried to impart a good level of flexibility w.r.t the grid lenghts, position obstruction and its dimensions, dimensions of the channel, etc. I have been successfully achieveing all these but my idea of including non-circular obstructions is still pending and hope to update the upload as soon I shall be done wih it.
The code is pretty transparent in its construction and I feel it should not be difficult to alter it to your needs. Use it to your needs, but do pay proper acknowledgment please :). - Sunil Anandatheertha
sunil anandatheertha (2021). Finite Difference Laplace Equation Solver using unequal square grid xy grids. (https://www.mathworks.com/matlabcentral/fileexchange/30104-finite-difference-laplace-equation-solver-using-unequal-square-grid-xy-grids), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!