Szczepanik Research Group

Department of Theoretical Chemistry
Faculty of Chemistry, Jagiellonian University
Gronostajowa 2, 30-387 Krakow, Poland
Tel: (+48) 12 686 23 90
E-mail: dariusz.szczepanik@uj.edu.pl

HOME      PROJECTS      PUBLICATIONS      runEDDB      X

About EDDB       Download       Tutorials       Manual



◼ Tutorial 2 — Phenanthrene: Clar’s rule made visible

Phenanthrene has three fused six-membered rings. Are they equally aromatic? Clar’s rule says no — and in this tutorial runEDDB shows you why, in three steps: it finds the rings for you, gives each a CDI, and draws a 3D map that tells delocalized bonds from localized ones.

What you will learn
  • Using -r (or --ring-detect) to detect every ring of a chosen size automatically — no atom indices to type.
  • Running the pathway analysis on each detected ring in one shell loop and collecting the CDIs.
  • Computing the Bond Delocalization Function (BDF) and exporting it as a 3D map.
  • Looking at the Natural Orbitals for Bond Delocalization (NOBD) to check what the automatic π-selection picked.
  • Reading the results in terms of Clar’s rule.

Before you start

Download the geometry. As in Tutorial 1, the input is a plain .xyz file, so runEDDB builds the wavefunction itself with its built-in GFN2-xTB engine; every run takes a second or two.

💾 phenanthrene.xyz


Phenanthrene with the atom numbering of phenanthrene.xyz.

(A phenanthrene model is also built into runEDDB, -i @phenanthrene, but with a different geometry and atom order; use the file above so that your numbers match this page.)

We want the CDI of each ring. To get it we have to tell runEDDB which atoms form each ring — and for a polycyclic molecule, writing pathway strings by hand quickly becomes tedious and error-prone. runEDDB can do it for you.


Part 1 — Finding the rings automatically

 terminal
$ runEDDB -i phenanthrene.xyz -r 6

-r 6 (or --ring-detect 6) searches the bond-order graph for six-membered rings. Several sizes can be requested at once: -r 5:8 covers 5- to 8-membered rings, -r 5,6 just those two.

 output
────────────────────────────────────────────────────────────────────────────────────────
                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄                    Build date:
                              r █▄ ▄▄ █▄ ▄▄▀█▄ ▄▄▀█▄ ▄ ▀█                    2026-Sep-15
                              u ██ ▄█▀██ ██ ██ ██ ██ ▄ ▀█                               
                              n █▄▄▄▄▄█▄▄▄▄██▄▄▄▄██▄▄▄▄██                               

                     Electron Density of Delocalized Bonds Analysis                     
                        (https://aromaticity.uj.edu.pl/runeddb)                         
────────────────────────────────────────────────────────────────────────────────────────

▶ Loading and parsing input file...                                                   0s
▶ Modelling one-electron density at the GFN2-xTB/vSTO-nG level...                     0s
▶ Building natural atomic orbitals (NAO, frozen-NMB two-cycle)...                     0s
▶ Exporting detected rings (3) to phenanthrene.rings...                               0s
▶ Performing multicenter bond-orbital projections (BOP)...                            0s
▶ Computing natural orbitals for bond delocalization (NOBD)...                        0s
▶ Printing summary of EDDB calculations:

        Total   ED_R population:           56.10556    per atom:     4.00754
        Total EDLB_R population:           46.69254    per atom:     3.33518
        Total EDDB_R population:            9.41302    per atom:     0.67236

▶ Calculation completed on 2026-09-17. Total time: 0s.

The detected rings are written to phenanthrene.rings:

 phenanthrene.rings
# runEDDB --ring-detect: detected rings (one --pathway string per line)
# input file:          phenanthrene.xyz
# ring sizes searched: 6
# ring-bond WBO threshold: 0.30000
# rings found:         3
# per-ring CDI:  grep -v '^#' FILE | while read -r r; do runEDDB -i INPUT -p "$r" -q -c 0; done
1-2-3-4-5-6-1
3-4-8-9-10-7-3
8-9-11-13-14-15-8

The header records the search criteria: the ring sizes requested and the bond-order cutoff used to decide which contacts count as ring bonds (0.30 by default, adjustable with --ring-thresh). Three rings were found; their atom indices are listed at the bottom, one -p pathway string per line, ready to be fed straight back into runEDDB.


Part 2 — The CDI of every ring

The # per-ring CDI line of the .rings file is a ready-made shell loop. Fill in the two placeholders (FILE → phenanthrene.rings, INPUT → phenanthrene.xyz), add a label line so you know which ring is which, and run it:

 terminal
$ grep -v '^#' phenanthrene.rings | while read -r r; do echo "== ring $r"; runEDDB -i phenanthrene.xyz -p "$r" -a -q -c 0; done &> phenanthrene-cdi.log
⚠ Add -a yourself. The loop suggested in the .rings file does not include it. Without -a the analysis covers all valence electrons, so the CDI would mix σ- and π-delocalization and would not be the π-aromaticity index you want to report.

What the rest of the loop does: -p "$r" runs the pathway analysis on one ring per iteration; -q prints only the summary; -c 0 disables cube writing (nothing is exported here anyway, but it keeps the directory clean); &> phenanthrene-cdi.log sends everything to one log file.

 phenanthrene-cdi.log
== ring 1-2-3-4-5-6-1

────────────────────────────────────────────────────────────────────────────────────────
                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄                    Build date:
                              r █▄ ▄▄ █▄ ▄▄▀█▄ ▄▄▀█▄ ▄ ▀█                    2026-Sep-15
                              u ██ ▄█▀██ ██ ██ ██ ██ ▄ ▀█                               
                              n █▄▄▄▄▄█▄▄▄▄██▄▄▄▄██▄▄▄▄██                               

                     Electron Density of Delocalized Bonds Analysis                     
                        (https://aromaticity.uj.edu.pl/runeddb)                         
────────────────────────────────────────────────────────────────────────────────────────

▶ Printing summary of EDDB calculations:

        Total   ED_P population:            5.99556    per atom:     0.99926
        Total EDLB_P population:            2.10869    per atom:     0.35145
        Total EDDB_P population:            3.88687    per atom:     0.64781

    Cyclic Delocal. Index (CDI):            0.51863
    Delocalized fraction (%del):              64.83 %
    Cyclic coherence (%cyc):                  51.90 %

▶ Calculation completed on 2026-09-17. Total time: 0s.

== ring 3-4-8-9-10-7-3

────────────────────────────────────────────────────────────────────────────────────────
                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄                    Build date:
                              r █▄ ▄▄ █▄ ▄▄▀█▄ ▄▄▀█▄ ▄ ▀█                    2026-Sep-15
                              u ██ ▄█▀██ ██ ██ ██ ██ ▄ ▀█                               
                              n █▄▄▄▄▄█▄▄▄▄██▄▄▄▄██▄▄▄▄██                               

                     Electron Density of Delocalized Bonds Analysis                     
                        (https://aromaticity.uj.edu.pl/runeddb)                         
────────────────────────────────────────────────────────────────────────────────────────

▶ Printing summary of EDDB calculations:

        Total   ED_P population:            5.97348    per atom:     0.99558
        Total EDLB_P population:            4.33594    per atom:     0.72266
        Total EDDB_P population:            1.63754    per atom:     0.27292

    Cyclic Delocal. Index (CDI):            0.26855
    Delocalized fraction (%del):              27.41 %
    Cyclic coherence (%cyc):                  26.97 %

▶ Calculation completed on 2026-09-17. Total time: 0s.

== ring 8-9-11-13-14-15-8

────────────────────────────────────────────────────────────────────────────────────────
                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄                    Build date:
                              r █▄ ▄▄ █▄ ▄▄▀█▄ ▄▄▀█▄ ▄ ▀█                    2026-Sep-15
                              u ██ ▄█▀██ ██ ██ ██ ██ ▄ ▀█                               
                              n █▄▄▄▄▄█▄▄▄▄██▄▄▄▄██▄▄▄▄██                               

                     Electron Density of Delocalized Bonds Analysis                     
                        (https://aromaticity.uj.edu.pl/runeddb)                         
────────────────────────────────────────────────────────────────────────────────────────

▶ Printing summary of EDDB calculations:

        Total   ED_P population:            5.99556    per atom:     0.99926
        Total EDLB_P population:            2.10868    per atom:     0.35145
        Total EDDB_P population:            3.88688    per atom:     0.64781

    Cyclic Delocal. Index (CDI):            0.51863
    Delocalized fraction (%del):              64.83 %
    Cyclic coherence (%cyc):                  51.90 %

▶ Calculation completed on 2026-09-17. Total time: 0s.


CDI of each ring, on the atom numbering of phenanthrene.xyz.

The two terminal rings reach CDI = 0.519 e per atom, while the central ring manages only 0.269. Cyclic delocalization is far more efficient in the terminal rings — in line with what other aromaticity indices (HOMA, NICS) say about phenanthrene.


Part 3 — The Bond Delocalization Function (BDF)

The EDDB decomposition splits the electron density into a delocalized part (EDDB) and a localized part (EDLB). Their difference, restricted to the π-electrons,

BDFπ = EDDBπ − EDLBπ

is a signed 3D function: BDF > 0 marks regions where delocalization dominates, BDF < 0 marks localized bonds, and BDF ≈ 0 means the two are comparable. It is the one map that can show a localized bond next to delocalized ones.

 terminal
$ runEDDB -i phenanthrene.xyz --export-cube bdf -a

--export-cube bdf writes the map to phenanthrene.BDF_G.cube; -a restricts it to the π-electrons.

 output
────────────────────────────────────────────────────────────────────────────────────────
                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄                    Build date:
                              r █▄ ▄▄ █▄ ▄▄▀█▄ ▄▄▀█▄ ▄ ▀█                    2026-Sep-15
                              u ██ ▄█▀██ ██ ██ ██ ██ ▄ ▀█                               
                              n █▄▄▄▄▄█▄▄▄▄██▄▄▄▄██▄▄▄▄██                               

                     Electron Density of Delocalized Bonds Analysis                     
                        (https://aromaticity.uj.edu.pl/runeddb)                         
────────────────────────────────────────────────────────────────────────────────────────

▶ Loading and parsing input file...                                                   0s
▶ Modelling one-electron density at the GFN2-xTB/vSTO-nG level...                     0s
▶ Building natural atomic orbitals (NAO, frozen-NMB two-cycle)...                     0s
▶ Performing multicenter bond-orbital projections (BOP)...                            0s
▶ Computing natural orbitals for bond delocalization (NOBD)...                        0s
▶ Exporting BDF_G to phenanthrene.BDF_G.cube...                                       1s
▶ Printing summary of EDDB calculations:

        Total   ED_G population:           14.00000    per atom:     0.58333
        Total EDLB_G population:            3.99165    per atom:     0.16632
        Total EDDB_G population:           10.00835    per atom:     0.41701

▶ Calculation completed on 2026-09-17. Total time: 1s.

Open the cube in Avogadro2: Analyze → Create Surfaces (green), set the isovalue (red), and — because BDFπ is signed — give the positive and negative lobes two contrasting colours in the Surface Settings panel (blue):


BDFπ of phenanthrene at three isovalues. Cyan: delocalized (BDF > 0); yellow: localized (BDF < 0). Bottom: the main Clar resonance structure.

Clar’s rule states that the dominant resonance structure of a polycyclic aromatic hydrocarbon is the one with the largest number of disjoint aromatic π-sextets. The BDFπ map reproduces this directly: two isolated π-sextets sit in the terminal rings, while the central C=C bond (atoms 7–10) shows up as a localized double bond. Placing the sextets in the terminal rings forces that bond to localize — exactly the main Clar structure.


Part 4 — Looking at the NOBDs

The Natural Orbitals for Bond Delocalization are the orbitals that carry the delocalized density. -a chooses the π-type ones automatically — and this is where you check that it chose well.

 terminal
$ runEDDB -i phenanthrene.xyz --export-fchk nobd -a --table nobd

--export-fchk nobd writes the NOBDs to phenanthrene.NOBD_G.fchk, so they can be visualized like ordinary molecular orbitals; --table nobd prints the NOBD table (runEDDB prints tables only when asked).

 output
────────────────────────────────────────────────────────────────────────────────────────
                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄                    Build date:
                              r █▄ ▄▄ █▄ ▄▄▀█▄ ▄▄▀█▄ ▄ ▀█                    2026-Sep-15
                              u ██ ▄█▀██ ██ ██ ██ ██ ▄ ▀█                               
                              n █▄▄▄▄▄█▄▄▄▄██▄▄▄▄██▄▄▄▄██                               

                     Electron Density of Delocalized Bonds Analysis                     
                        (https://aromaticity.uj.edu.pl/runeddb)                         
────────────────────────────────────────────────────────────────────────────────────────

▶ Loading and parsing input file...                                                   0s
▶ Modelling one-electron density at the GFN2-xTB/vSTO-nG level...                     0s
▶ Building natural atomic orbitals (NAO, frozen-NMB two-cycle)...                     0s
▶ Performing multicenter bond-orbital projections (BOP)...                            0s
▶ Computing natural orbitals for bond delocalization (NOBD)...                        0s

▶ Exporting NOBD orbitals to phenanthrene.NOBD_G.fchk...                              0s
▶ Printing analysis details:

  ┌────────────────────────────────────────────────────────────────────────────────────┐
  │            NATURAL ORBITALS FOR BOND DELOCALIZATION (NOBD) IN NVB BASIS            │
  └────────────────────────────────────────────────────────────────────────────────────┘
    Index  Sel   Occupancy    s (l=0)  %s    p (l=1)  %p    d (l=2)  %d    f (l=3)  %f
   ─────── ───   ═════════   ───────── ───  ───────── ───  ───────── ───  ───────── ───
         1  *      1.59793     0.00000  0     1.59793 100    0.00000  0     0.00000  0 
         2  *      1.59065     0.00000  0     1.59065 100    0.00000  0     0.00000  0 
         3  *      1.57470     0.00000  0     1.57470 100    0.00000  0     0.00000  0 
         4  *      1.56611     0.00000  0     1.56611 100    0.00000  0     0.00000  0 
         5  *      1.48961     0.00000  0     1.48961 100    0.00000  0     0.00000  0 
         6  *      1.38862     0.00000  0     1.38862 100    0.00000  0     0.00000  0 
         7  *      0.80073     0.00000  0     0.80073 100    0.00000  0     0.00000  0 
         8         0.08483     0.00705  8     0.07778  92    0.00000  0     0.00000  0 
         9         0.08045     0.01941  24    0.06104  76    0.00000  0     0.00000  0 
        10         0.07575     0.01748  23    0.05827  77    0.00000  0     0.00000  0 
        11         0.06744     0.00978  15    0.05766  85    0.00000  0     0.00000  0 
        12         0.06709     0.01091  16    0.05618  84    0.00000  0     0.00000  0 
        13         0.06264     0.02217  35    0.04047  65    0.00000  0     0.00000  0 
        14         0.05936     0.03268  55    0.02668  45    0.00000  0     0.00000  0 
        15         0.05562     0.02570  46    0.02992  54    0.00000  0     0.00000  0 
        16         0.05454     0.02735  50    0.02719  50    0.00000  0     0.00000  0 
        17         0.05134     0.02943  57    0.02191  43    0.00000  0     0.00000  0 
        18         0.05066     0.02485  49    0.02581  51    0.00000  0     0.00000  0 
        19         0.04925     0.01734  35    0.03191  65    0.00000  0     0.00000  0 
        20         0.04901     0.01883  38    0.03018  62    0.00000  0     0.00000  0 
        21         0.04482     0.02388  53    0.02094  47    0.00000  0     0.00000  0 
        22         0.04480     0.02409  54    0.02071  46    0.00000  0     0.00000  0 
        23         0.04417     0.02280  52    0.02136  48    0.00000  0     0.00000  0 
        24         0.04151     0.03051  74    0.01100  26    0.00000  0     0.00000  0 
        25         0.04047     0.02540  63    0.01507  37    0.00000  0     0.00000  0 
        26         0.04043     0.02573  64    0.01469  36    0.00000  0     0.00000  0 
        27         0.03550     0.01243  35    0.02308  65    0.00000  0     0.00000  0 
        28         0.03538     0.01211  34    0.02327  66    0.00000  0     0.00000  0 
        29         0.03190     0.02296  72    0.00894  28    0.00000  0     0.00000  0 
        30         0.03187     0.02298  72    0.00888  28    0.00000  0     0.00000  0 
        31         0.02971     0.02292  77    0.00679  23    0.00000  0     0.00000  0 
        32         0.02970     0.02288  77    0.00682  23    0.00000  0     0.00000  0 
        33         0.02779     0.01573  57    0.01206  43    0.00000  0     0.00000  0 
   ─────── ───   ═════════   ───────── ───  ───────── ───  ───────── ───  ───────── ───

▶ Printing summary of EDDB calculations:

        Total   ED_G population:           14.00000    per atom:     0.58333
        Total EDLB_G population:            3.99165    per atom:     0.16632
        Total EDDB_G population:           10.00835    per atom:     0.41701

▶ Calculation completed on 2026-09-17. Total time: 0s.

NOBDs are listed by decreasing occupancy, so the largest contributors to delocalization come first. The ones selected by -a carry a star in the Sel column; the s, p, d, f columns give the contribution of each orbital type. Phenanthrene has 14 π-electrons and seven NOBDs are selected as π — each built entirely from carbon 2p orbitals (%p = 100). The occupancy of the 8th NOBD drops to 0.085, about ten times less than the 7th, the last one selected.

Occupancies are delocalization eigenvalues, not orbital populations. The seven starred values add up to 10.008 e — exactly the Total EDDB_G printed in the summary, not the 14 π-electrons of Total ED_G. Roughly 72% of the π-density is delocalized; the remaining 3.99 e is localized.

To see the NOBDs, open phenanthrene.NOBD_G.fchk in any program that renders orbitals from FCHK files — here Avogadro2. The first NOBD sits at the bottom of the orbital list (labelled 1 HOMO-32); reading upwards, occupancy and contribution to delocalization decrease. The Energy (eV) column does not hold energies — it holds each NOBD’s occupancy, the same numbers as in the table.


NOBDs 1–4, all selected as π.


NOBDs 5–8. The eighth is not starred — and indeed it is a σ-orbital.

The shapes confirm that the first seven NOBDs are of π-symmetry and that NOBD 8 is σ: --auto-pi separated them correctly. On more complex molecules, or whenever a result looks suspicious, look at the NOBDs before trusting the dissection.


What to try next

Where to go next. Tutorial 3 takes on a harder case — a metallacycle where the automatic π-selection deserves a second look. The cheat-sheet collects every command in one place, and the Manual is the full reference.

 

HOME      PROJECTS      PUBLICATIONS      runEDDB      X

About EDDB       Download       Tutorials       Manual