Linear Elliptic PDE with Variable Coefficients
Version 1.0.0 (435 KB) von
James Blanchard
This function uses finite difference methods to solve a single linear elliptic PDE with variable coefficients on a rectangle.
This function uses finite difference methods to solve a fairly general, linear, elliptic partial differential equation on a rectangle. The equations that can be solved by this function are briefly described below, but more information can be found in any of the .mlx files in the download. The elliptic pde is
d/dx[a(x,y) dw/dx] +d/dy[b(x,y) dw/dy] +c(x,y) w = f(x,y)
The function can also handle fairly general boundary conditions, permitting Dirichlet, Neumann, or mixed conditions on any boundary. The boundary conditions are of the form
p(x)+q(x) w+r(x) [dw/dy]=0
for the horizontal boundaries and similar for the vertical.
Sparse matrices are used to maximize the allowable mesh density.
Several examples are provided in live scripts.
Zitieren als
James Blanchard (2025). Linear Elliptic PDE with Variable Coefficients (https://www.mathworks.com/matlabcentral/fileexchange/114535-linear-elliptic-pde-with-variable-coefficients), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2022a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |