Skip to content

Finite difference solution of 2D Poisson equation

License

Notifications You must be signed in to change notification settings

Rutger0000/Poisson-solver-2D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poisson-solver-2D

alt text alt text alt text

Finite difference solution of 2D Poisson equation

Current version can handle Dirichlet boundary conditions:

(left boundary value)

(right boundary value)

(Top boundary value)

(Bottom boundary value)

The boundary values themselves can be functions of (x,y).

Package requirements

  • NumPy
  • SciPy (sparse matrices, sparse linear algebra)

Version notes

  • version 1.1

    • Fixed a bug regarding the right-hand function
    • Figure size and font size adjusted
  • version 1.0 notes

    • Sparse matrix implementation. CSR format (Compressed sparse row matrix) matrix.

Sample Output

Solution of with boundary conditions is shown below:

References

About

Finite difference solution of 2D Poisson equation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%