Computing Electric field of a double dipole by solving Poisson's Equation

This code computes the E-fields due to 2-dipoles in a 2-D plane using Finite difference method.
1.5K 次下载
更新时间 2013/7/22

查看许可证

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.

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Physics 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0