Curvilinear 2D Grid Poisson

Produces the laplacian operator in 2D Curvilinear grid with Robin boundary condition
687 Downloads
Updated 5 Jan 2015

View License

This package takes in a 2D nodal grid and produces the laplacian with Dirichlet's, Neumann's, or Robin boundary condition (BC). You can mix these BCs per cells on the border. This means you can have one type of BC on one edge and another type on another edge, or even on a single edge one cell can have one type and other cells can have other types of BC. The grid must be a structural grid but it can be general curvilinear.
You can generate the operator using 2nd, 4th, or 6th order Castillo-Grone's Mimetic Difference Operators. For interpolation you can use any order of polynomial that you want.
Once the operator is generated, you can use any solver of your choice to solve the equations. As long as your grid is not changed the operator stays the same and you can solve multiple problems.
Start with the one of the Test*.m functions to familiarize yourself with the code.

If you use this package or a modified version of it, please cite the followings:
- M. Abouali, "Investigating Castillo-Grone's Mimetic Difference Operators in Development of Geophysical Fluid Dynamics Models Implemented on GPGPUs", Ph.D. Thesis, San Diego State University, May 2014.
- Abouali M., Castillo J.E., Solving Poisson equation with Robin boundary condition on a curvilinear mesh using high order mimetic discretization methods, Mathematics and Computers in Simulation, (2014), http://dx.doi.org/10.1016/j.matcom.2014.10.004

NOTE: To run this package you need to have "Interpolant/Extrapolant 2D/3D" downloaded and within your MATLAB path. This package can be found on http://www.mathworks.com/matlabcentral/fileexchange/41669-interpolantextrapolant-2d3d-data

Cite As

Mohammad Abouali (2024). Curvilinear 2D Grid Poisson (https://www.mathworks.com/matlabcentral/fileexchange/44354-curvilinear-2d-grid-poisson), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: 2D and 3D Remapping

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

- Adding proper citations.

1.2.0.0

- Making small changes to reflect new Interpolation API.

1.1.0.0

- providing thesis citation. Please cite the thesis if you use this package or a modified version.

1.0.0.0