This document provides an update on Benchmark 6, which models the flow of a charged concentration field using a coupled Cahn-Hilliard-Poisson formulation. The previous formulation was unsatisfactory, so changes were made to make the model more physical and different from a block co-polymer problem. The new formulation includes a concentration-dependent mobility, neutralizing background charge, applied external field, and zero particle and charge flow boundary conditions. Some tests were run in MOOSE to check that the solution behaves reasonably by tuning parameters like the dielectric constant and mobility.
1. BENCHMARK 6 UPDATE
drhgfdjhngngfmhgmghmghjmghfmf
OLLE HEINONEN, ANDREA JOKISAARI, JIM WARREN, JON GUYERS, PETER VOORHEES
Sept. 25, 2018
Center for Hierarchical Materials Design http://chimad.northwestern.edu/about/index.html
2. BACKGROUND
ο§ Benchmark 6 is a simple model of flow of a charged concentration field.
ο§ Technically, it is a coupled Cahn-Hilliard-Poisson problem: the concentration field
flows under forcing of an electrochemical potential which contains contributions from
the electrostatic field generated by the charge distribution.
ο§ Previous formulation was unsatisfactory:
β One one type of charge so the system was not charge-neutral.
β Original model was technically identical to a block co-polymer problem β
desirable to make it a little different
ο§ The boundary conditions (zero flow of concentration field across boundaries,
Dirichlet BC for the electrostatic field) where not quite physical: the particle flow and
charge flow are linked (Einstein relation) so a particle flow across boundary has to
have a concomitant charge flow across boundary.
ο§ It is desirable (but not absolutely necessary) to have the total energy of the system
be monotonically non-increasing. This is generally not the case if there is flow
across the the boundaries (external field does work on the system).
2
3. New formulation
ο§ Same geometries: (i) square 100 x 100 units, and square+halfmoon (rectangle
50 x 100 units and half-circle radius 50 nm attached)
ο§ Concentration-dependent mobility π π =
π0
1+π2 to make it a little bit more
interesting (also rather physical for ionic flow).
ο§ Neutralizing uniform background charge density π0 with total magnitude of
charge same as initial total charge of concentration field π
ο§ Applied external field Ξ¦ ππ₯π‘ such that β2
Ξ¦ ππ₯π‘=0.
ο§ Zero particle and charge flow across boundaries.
ο§ Pseudo-random initial concentration field with average concentration close to 0.5
3
4. FREE ENERGY
ο§ Free energy contains contributions from bulk chemical energy, gradient in the
concentration field (standard spinodal decomposition), and electrostatic free
energy:
πππππ=
1
2
πΞ¦πππ‘ + π Ξ¦ ππ₯π‘
where Ξ¦ π‘ππ‘= Ξ¦πππ‘ + Ξ¦ ππ₯π‘ is the total electrostatic potential, and π = π π β π0 with k
a constant
4
5. EQUATIONS
The equations to be solved are then
where Ξ¦ = Ξ¦ π‘ππ‘=Ξ¦πππ‘+ Ξ¦ ππ₯π‘ because it was easy to copy latex images and I hate
writing equations using ppt.
Boundary conditions:
ο§ No particle current across boundaries βπ β π=0
ο§ No charge current across boundary:
ο§ External potential Ξ¦ ππ₯π‘ = π΄π₯π¦ + π΅π₯ + πΆπ¦
5
6. SOME DETAILS
ο§ Here using MOOSE (mooseframework.org) with Phase Field module (parsed
Cahn-Hilliard)with added kernel for Poisson equation (diffusion equation with
driving force), and electrochemical potential parsed mobility function (for
automatic differentiation).
ο§ Triangular mesh, fairly coarse, refined twice; 1.1361x104 DOFs
ο§ Solution to T=20000 takes a minute or so on 4 cores on MacBook Pro 2.5 GHz
Intel Core i7, adaptive time stepper.
6
7. SOME SANITY CHECKS (MOOSE)
ο§ First set Dirichlet BC on total
potential, Ξ¦ π‘ππ‘ = 0 on
boundaries, Ξ¦ ππ₯π‘=0
7
Then use Neumann conditions on
electrostatic potential, Ξ¦ ππ₯π‘=0
Note that Neumann BC are integrated
in MOOSE: the BC is not satisfied at all
points, but only the integral over each
boundary.
8. MORE SANITY CHECKS
8
Tune the relative strength of electrostatic to chemical forces with
the dielectric constant π. For π = 1 electrostatic energy large so
system should go to uniform density for minimal electrostatic
energy
Already at timestep T=20 the concentration field is uniform
9. β¦and more
ο§ For π = 100 the electrostatic energy is insignificant compared to chemical
energy. System should do spinodal decomposition.
9
Increase mobility by factor of 2, extend
time to T=20000
10. With external potential
10
Here at T=1500
Concentration field (Total) Electrostatic potential
Laplacian of potential βπ(π β π0)/π
12. ο§ Re-formulated coupled Cahn-Hilliard-Poisson problem to make it a little bit more
physical
ο§ A few simple tests to see if solution makes sense
ο§ Note: Solutions I use pass smell-test but not sure about calculation of total
energy (which is why I did not show any total energy plots). For that matter, there
could be other bugs, tooβ¦..
ο§ Runs very fast with
12
Summary