Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Jupyter notebook DLVO.ipynb

34 views
Kernel: Python 3

Introduction to Derjaguin-Landau-Verwey-Overbeek (DLVO) theory: Lecture 4

This is a brief exploration of the effect of key properties on the form of the DLVO potential between two charged spherical colloids

Utot(h)=Ue(h)+Ud(h)U_{tot}(h) = U_{e}(h) + U_{d}(h)

Here hh is the sphere surface-to-surface separation, Ue(h)U_{e}(h) is the repulsive electrostatic Double-layer energy, and Ud(h)U_{d}(h) is the attractive van der Waals dispersion energy. From the lectures you will remember that (under certain restictions)

Utot(h)kBT=Φs2R2rλBexp(κh)(A21/kBT)R12h\frac{U_{tot}(h)} {k_{B}T} = \Phi_{s}^{2} \frac{ R^{2}}{r \lambda_{B}} \exp (-\kappa h) - \frac{(A_{21}/ k_{B}T)R}{12 h}

In the calculations below all distances are scaled by the Bjerrum length λB\lambda_{B}. Remember in water at 298K the Bjerrum length λB\lambda_{B} is 0.72 nm.

To use

  • select "cell" then "Run All" to make notebook "live"

Variables:

  • PhiS is the (dimensionless) colloid surface potential ΦS=eϕS/kBT\Phi_{S} = e \phi_{S} / k_{B}T

  • Radius is the scaled colloid radius R/λBR / \lambda_{B}

  • Logdebye is log (base 10) of the Debye length (in units of Bjerrum length), log10(κ1/λB)\log_{10} (\kappa^{-1} / \lambda_{B} )

  • Hamaker is the scaled Hamaker constant, A21/kBTA_{21} / k_{B}T

Things to do

  • Adjust the logdebye slider, with all other parameters at default values. Note the change in the distance dependence of the potential Utot(h)U_{tot}(h)

  • Note how the height of the potential maximum U/kBTU^{*} /k_{B}T at small hh drops markedly (with increased screening of the repulsive forces) as the Debye length is reduced

  • The critical coagulation concentration (ccc) where U=0U^{*} = 0. At what Debye length is the ccc? What is the equivalent monovalent (1:1) salt concentration?

  • What is the effect of increasing Φs\Phi_{s} on the ccc?

  • What is the effect of increasing the Hamaker constant A21/kBTA_{21} /k_{B}T?

  • Does changing the radius have any effect on the position of ccc? Explain your result.

  • At what Debye length κ1\kappa^{-1} is a secondary minimum in UtotU_{tot} first visible?

  • How does the depth of the secondary minimum change as κ1\kappa^{-1} is altered?

P. Bartlett, University of Bristol, 2016

import matplotlib.pyplot as plt from numpy import linspace,exp,zeros from ipywidgets import interact %matplotlib inline
def DLVO(PhiS = 2.0,Radius = 100.0,logdebye=1.0,Hamaker=1.0): debye = 10.0**(logdebye) num_points = 200 h = linspace(0.05,5.0,num_points) invh = 1.0/h invr = 1.0/(h+2*Radius) U = zeros(num_points) U = ((PhiS*Radius)*(PhiS*Radius)) * exp(-h/debye) * invr - ((Hamaker * Radius)/12.0) * invh plt.plot(h,U) plt.xlabel('$h/\lambda_{B}$',fontsize=24) plt.ylabel('$U_{tot}/k_{B}T$',fontsize=24) plt.title('$\kappa^{-1} / \lambda_{B} =$' +"{:.3f}".format(debye),fontsize=18)
interact(DLVO,PhiS=[1.0,4.0,0.1],Radius=[10.0,200.0,10.0],logdebye=[-2.0,2.0,0.01],Hamaker=[0,5.0,0.1])
Image in a Jupyter notebook