Open maximilianmetti opened 8 years ago
we can implement a simple test that verifies Ohm's Law that Voltage = Current * Resistance.
This requires computing the current through a cross-sectional surface and comparing it to the boundary conditions for potential
. Then, based on this current, we can compute the resistance and see if it matches that predicted by Ohm's law
Since we do not know the resistance constant of the system in terms of the charge concentrations (at the boundary), we have to compute a Current-Voltage relation and verify that the relationship is nearly linear to indicate that there's a constant (resistance) that describes the relationship. We can do this by solving the system with the BCs for the charges fixed and varying the voltage at the boundary.
This should move up in priority... It should be the first thing we do once we successfully implement the newton
class for the refactor of the code.
We need a benchmark to validate the code can solve a physically relevant system.