Home | | | Software | | | Contact |
Numerical Simulation of Equipotentials in an Electrolytic tank using the Relaxation Algorithm - Finite Difference Method
My College physic project which I wrote a program to simulate the experimental observations had the catchy name above. The experiment and the orignal simulation program(BASIC and Pascal) was devised and written by Dr. Mulligan.
I wrote my program initally in Modula-2 then converted it into Pascal which was the language of choice in the Physic Department and produced a number of iterations of this program to simulate points of equipotential in an electrolytic substance. The crude output which was stored in a txt file I read in to a program called "mongo" using Fortran and produced a snazzy graph.
Coming soon - results and TEX file of my formal report including code, which is on some 3.5inch floppy disk!!.
(I have tended to re-write this project, to learn a new language, e.g. C, Perl, or Java or Java with Swing.)
- Output Graph generated from table by mongo (1993)
- Java Swing 100*100 Jar File with PlotGraph (circa 2003 Java/Swing incarnation)
- Screenshot Output Generated by Swing App 100*100 array
- Output100x100.csv Output from a Run of the Program in csv format
- Output Generated by Swing App Middle array
- OutputMiddle.csv Output of Middle from a Run of the Program in csv format
- Java Swing Jar File with PlotGraph (circa 2003 Java/Swing incarnation)
- Output.csv Output from a Run of the Program in csv format
- Screenshot Output Generated by Swing App array
- Java Applet 100*100 File with PlotGraph (circa 2000/2003)
- Java Applet with PlotGraph (circa 2000/2003)
- Equipotentials Simulation in Perl Perl Code with file write. (circa 1999)
- Equipotentials Simulation in Perl run online (takes some time to run)
- equipotentials.mod
- equipotentials.tex
- equi.c (circa 1995 incarnation)
- equi.java (circa 2000 incarnation)
Recent Updates:
- Added Jar files.
- Added Screenshots.
- Java Swing Jar with Plotgraph can export a csv files.
- Added Perl version from old windows machine.
To Do: So much of this I must give it its own page, the iterations should flip between (1,1) to (100,100) and (100,100) to (1,1) to give it more balance? Add the re-run item to the 100*100, and radio buttons to the applet, and graph to WEST in Grid Layout. Python version - equisim.py using graphics libraries to visualise.