Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 709 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 709 Bytes

charges

Simulates electric potential and field around charges of arbitrary shape using finite number of point charges.

Usage

pip install -r requirements.txt
python charges/<charges_example>

where <charges_example> is the file name of the program you want to run.

Simulation

Uses electric field of point charge equation.

All structures have linearly distributed charge.

Simple charge structures such as finite line segments and circles of charges are simulated with numerical integration.

Gallery

Electron

Proton and Electron

Finite Line Charge

Square Charge