Step 9 - Ion-Ion RDFs

Here we’ll set up calculation of some basic ionic liquid properties in the form of the three unique ion-ion radial distribution functions - the cation-anion, cation-cation, and anion-anion flavours - and the cation-anion coordination number.

So, let’s create and prepare suitable layer:

Layer ⇨ Create ⇨ Analysis ⇨ RDF & Coordination Number

Go to the   Analyse RDF/CN   layer

Double-click the “SiteRDF” module in the list and rename it to RDF-CA

Change the DistanceRange maximum to 14.0 (slightly less than our half-cell length)

Set SiteA to RingNN on the cation

Set SiteB to COM on the anion

The SiteRDF module can also calculate simple coordination numbers over specific distance ranges, however typically we don’t know what this range is until we’ve seen the actual RDF data, so we’ll leave that calculation turned off for now.

Now to add on two more SiteRDF modules for the other correlations of interest:

Drag a SiteRDF module from the palette up to the module list

Double-click the new SiteRDF module and rename it to RDF-CC

Change the DistanceRange maximum to 14.0

Set SiteA and SiteB to RingNN on the cation

Drag another SiteRDF module from the palette up to the module list

Double-click the second new SiteRDF module and rename it to RDF-AA

Change the DistanceRange maximum to 14.0

Set SiteA and SiteB to COM on the anion

Now start up the simulation again:

Ctrl-F

Set the number of iterations to 250 and hit OK

Because our system is quite small (100 ion pairs) the RDFs will take a few thousand iterations to become properly averaged, but 250 steps should be enough to get a feel for the results. If you look at the output from the RDF-CA module you should see that the first minimum occurs at around 7 Å, so we’ll set this value as the upper limit for our coordination number calculation:

Find the Coordination Numbers options in the SiteRDF module

Set RangeA to span 0.0 to 7.0

Click RangeAEnabled to request the calculation

Start the simulation up once more:

Ctrl-R

The coordination number should average out at about 6.2 anions (within 7.0 Å of a central cation), compared to 6.8 (EPSR) or 6.9 (pure molecular dynamics) in the 2010 paper.


Previous Step Exercises

Last modified November 20, 2024: Updating Developer Docs (#1545) (19274c2)