Computing Electric field of a double dipole by solving Poisson's Equation
In this code, the boundary condition for the Poisson equation are known potentials 100V and -100 V alternatively, along the 4 end walls. Two identical dipoles with charges 2nC are placed at x=10 and x=-10. Poisson equation is iteratively solved using the Finite difference method (FDM).
The solution of the Poisson equation is plotted as the electric potential contours. Electric field is computed using gradient function, and is also shown as quiver plot.
Cita come
Praveen Ranganath (2024). Computing Electric field of a double dipole by solving Poisson's Equation (https://www.mathworks.com/matlabcentral/fileexchange/42772-computing-electric-field-of-a-double-dipole-by-solving-poisson-s-equation), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |