Model electrochemical superfill of gold using the CEAC mechanism.
To run this example from the base fipy directory type:
$ python examples/levelSet/electroChem/gold.py
at the command line. The results of the simulation will be displayed and the word
finished in the terminal at the end of the simulation. The simulation will
only run for 10 time steps. To run with a different number of time steps change
numberOfSteps argument as follows,
>>> runGold(numberOfSteps=10, displayViewers=False) 1
displayViewers argument to
True if you wish to see the
results displayed on the screen. This example has a more realistic
default boundary layer depth and thus requires gmsh to construct a
more complex mesh.
There are a few differences between the gold superfill model presented
in this example and in
values have changed to account for a different metal ion (gold)
and catalyst (lead). In this system the catalyst is not present in
the electrolyte but instead has a non-zero initial coverage. Thus
quantities associated with bulk catalyst and catalyst accumulation
are not defined. The current density is given by,
The more common representation of the current density includes an exponential part. Here it is buried in and . The governing equation for catalyst evolution includes a term for catalyst consumption on the interface and is given by
where is the consumption coefficient
consumptionRateConstant). The trench geometry is also given a
slight taper, given by
If the MayaVi plotting software is installed (see Installation) then a plot should appear that is updated every 10 time steps and will eventually resemble the image below.
Enter search terms or a module, class or function name.