Jljp Code
Calculates the voltage across a liquid junction between two solutions
Status: Alpha
Brought to you by:
dbrogioli
File | Date | Author | Commit |
---|---|---|---|
AppletJljp.java | 2013-12-21 |
![]() |
[6f36b6] Again structure: improved division between Ion ... |
EquationSystem.java | 2013-12-24 |
![]() |
[50bf00] the parsing of symbolic expressions is performe... |
Example.java | 2013-12-21 |
![]() |
[d136ea] Automatic calculation of fluxes phi |
Ion.java | 2013-12-21 |
![]() |
[6f36b6] Again structure: improved division between Ion ... |
IonPanel.java | 2013-12-21 |
![]() |
[d136ea] Automatic calculation of fluxes phi |
IonSet.java | 2014-03-13 |
![]() |
[1ce42d] coordinata x |
IonSetPanel.java | 2013-12-24 |
![]() |
[e08606] Exception is now thrown when all the concentrat... |
Jljp.java | 2013-12-21 |
![]() |
[6f36b6] Again structure: improved division between Ion ... |
LJPPanel.java | 2013-12-27 |
![]() |
[9104f3] Calculate/abort button |
README.txt | 2020-02-09 |
![]() |
[0f37c3] migration |
Solver.java | 2013-12-27 |
![]() |
[adf446] Fast solver |
Important information This project has been moved here: https://github.com/swharden/JLJP The information given in SF site are no more updated. The package can be used both as single classes (see Example.java) and a graphical interface: run Jljp.class. First of all, the ions must be added. In the graphical panel, put the name of the ion in the text field, and press "Add". Please use names like "Na", "Cl". Do not put the charge. For ions that can have various charges, use e.g. FeII and FeIII. If possible, avoid numbers. For each ion, seven parameters must be defined. Name: e.g. Na, Zn, Cl. Charge (relative to e): e.g. 1 for sodium, 2 for zinc, -1 for chlorine. Mobility, in m/s / N (not the electrokinetic mobility!) cdadc: see below. c0 (M): concentration at one end of the interface. cL (M): concentration at the other end of the interface. The parameter phi, the flux of the ion, is one of the outputs of the program. Only the relative value matters. For some common ions, the program automatically fills in the correct values of charge and mobility. The parameter cdadc is cd ln a/dc, i.e. the derivative of the logarithm of the activity with respect to the concentration, multiplied by the concentration. The units of "c" and "a" are M, mole/liter. The quantity c d ln a/dc is dimensionless. In the approximation of small concentrations, the activities are close to the concentrations, and c d ln a/dc is approximately 1. It is possible to put any formula in this field, depending on the concentrations of the ions, e.g. : "3tan(Na/Cl)". It is necessary to define two ions as "x" and "last". The values of c0 and cL for the ion "last", provided by the user, are neglected, and are calculated from the values of the other ions, by imposing the electro-neutrality. The resulting voltage is displayed in the corresponding text field. It is also possible to send a table with the concentrations of the ions, along the liquid junction, to a desired PrintStram.