Finite Volume Poisson Solver

FVM-based numerical solution of Poisson equation for axis-symmetrical cylindrical coordinates
2.6K Downloads
Updated 10 Jun 2010

View License

C-Library & Matlab Toolbox implement a numerical solution of Poisson equation

div(e*grad(u))=f

for Cartesian 1D, Cartesian 2D and axis-symmetrical cylindrical coordinates with respect to steeply varying dielectrical permittivity e.
Library uses regular rectangular grid with mixed boundary conditions, FVM-based equation discretization and iterative methods for solving sparse linear system.

MATLAB VERSION: 6.5 - 7.9

FILES:
C-LIBRARY:
COMMON.C, COMMON.H - data types, memory management
LINALG.C, LINALG.H - solution of tridiagonal system
PSN_1D.C, PSN_1D.H - 1D Poisson solver
PSN_2D.C, PSN_2D.H - 2D and Cylindrical Poisson solver

MATLAB TOOLBOX:
PSN_1D_MEX.C - POISSON1D MATLAB MEX SOURCE
PSN_2D_MEX.C - POISSON2D MATLAB MEX SOURCE
PSN_2D_MEX.M - POISSON2D MATLAB HELP
PSN_2d_MAKE.M - MAKE MEX-DLL SCRIPT

PSN_2D_DEMO.M - POISSON2D DEMO, CARTESIAN COORDINATES
PSN_CYL_DEMO.M - POISSON2D DEMO, CYLINDRICAL COORDINATES

FAST START:
1. Copy all files to appropriate folder
2. Make this folder to be current Matlab folder
3. Type "psn_2d_make" from Matlab command line to recompile MEX for you platform
3. Type "psn_2d_demo" or "psn_cyl_demo" from Matlab command line to start demo

Cite As

Igor Kaufman (2024). Finite Volume Poisson Solver (https://www.mathworks.com/matlabcentral/fileexchange/25318-finite-volume-poisson-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio Processing Algorithm Design in Help Center and MATLAB Answers
Communities

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Executables have been deleted from submission.

1.1.0.0

Minor changes to make toolbox working under new versions of Matlab (R2009b, 32/64)

1.0.0.0