2D material: h-BN sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
In this tutorial you will learn how to generate the Yambo SAVE folder for a 2D hBN sheet starting from a PWscf calculation. | In this tutorial you will learn how to generate the Yambo SAVE folder for a 2D hBN sheet starting from a PWscf calculation. | ||
== Prerequisites == | == Prerequisites == | ||
'''Previous modules''' | |||
* You must first follow the [[Bulk_material:_h-BN]] tutorial. | |||
'''You will need''': | '''You will need''': | ||
* PWSCF input files and pseudopotentials for 2D hBN sheet ('''Download here''') | * PWSCF input files and pseudopotentials for 2D hBN sheet ('''Download here''') | ||
* <code>pw.x</code> executable, version 5.0 or later | * <code>pw.x</code> executable, version 5.0 or later | ||
* <code>p2y</code> executable | * <code>p2y</code> executable | ||
''' | |||
== System characteristics == | == System characteristics == | ||
[[File:HBN2.png|thumb|Atomic structure of 2D hBN]] | [[File:HBN2.png|thumb|Atomic structure of 2D hBN]] | ||
Line 14: | Line 15: | ||
* 2D HCP lattice | * 2D HCP lattice | ||
* Two atoms per cell, B and N (8 electrons) | * Two atoms per cell, B and N (8 electrons) | ||
* Lattice constants: ''a'' = 4.716 [a.u.], ''c/a'' = | * Lattice constants: ''a'' = 4.716 [a.u.], ''c/a'' = 7 (supercell size) | ||
* Plane wave cutoff 40 Ry ( | * Plane wave cutoff 40 Ry (~5000 RL vectors in wavefunctions) | ||
* SCF run: shifted '' | * SCF run: shifted ''6x6x1'' grid (12 k-points) with 4 bands | ||
* Non-SCF run: | * Non-SCF run: gamma-centred ''6x6x1'' (7 k-points) grid with 60 bands | ||
== DFT calculations == | == DFT calculations == | ||
Unpack the tarfile. It uses the same file structure as other yambo tutorials: | Unpack the tarfile. It uses the same file structure as other yambo tutorials: | ||
$ tar -xcvf hBN- | $ tar -xcvf hBN-2D.tar | ||
$ cd YAMBO_TUTORIALS/hBN/PWSCF | $ cd YAMBO_TUTORIALS/hBN-2D/PWSCF | ||
$ ls | $ ls | ||
Inputs Pseudos PostProcessing References | Inputs Pseudos PostProcessing References | ||
hBN_2D_scf.in hBN_2D_nscf.in hBN_2D_scf_bands.in hBN_2D_nscf_bands.in | |||
The procedure is exactly the same as following in the [[Bulk_material:_h-BN]] tutorial, so no detailed explanations will be given here. | |||
pw.x < hBN_2D_scf.in > hBN_2D_scf.out | |||
pw.x < | pw.x < hBN_2D nscf.in > hBN_2D_nscf.out | ||
After these two runs, you should have a <code> | The valence band maximum is computed at -4.29 eV. After these two runs, you should have a <code>hBN_2D.save</code> directory. | ||
$ ls | $ ls hBN_2D.save | ||
data-file.xml charge-density.dat gvectors.dat B.pz-vbc.UPF N.pz-vbc.UPF | data-file.xml charge-density.dat gvectors.dat B.pz-vbc.UPF N.pz-vbc.UPF | ||
K00001 K00002 .... | K00001 K00002 .... K00011 K00012 | ||
== Conversion to Yambo format == | == Conversion to Yambo format == | ||
$ cd | $ cd hBN_2D.save | ||
$ p2y | $ p2y | ||
... | ... | ||
<---> DBs path set to . | <---> DBs path set to . | ||
<---> Index file set to data-file.xml | <---> Index file set to data-file.xml | ||
... | ... | ||
<---> == P2Y completed == | <---> == P2Y completed == | ||
Check that the databases contain the information you expect: | |||
$ yambo -D | $ yambo -D | ||
[RD./SAVE//ns.db1]------------------------------------------ | [RD./SAVE//ns.db1]------------------------------------------ | ||
Bands : | Bands : 60 | ||
K-points : | K-points : 7 | ||
G-vectors [RL space]: | G-vectors [RL space]: 21817 | ||
Components [wavefunctions]: | Components [wavefunctions]: 2736 | ||
... | ... | ||
[RD./SAVE//ns.wf]------------------------------------------- | [RD./SAVE//ns.wf]------------------------------------------- | ||
Fragmentation :yes | Fragmentation :yes | ||
Bands in each block : 60 | |||
... | ... | ||
[RD./SAVE//ns.kb_pp_pwscf]---------------------------------- | [RD./SAVE//ns.kb_pp_pwscf]---------------------------------- | ||
Fragmentation :yes | Fragmentation :yes | ||
- S/N | - S/N 0000908 -------------------------- v.04.01.02 r.00000 - | ||
Note that the number of wavefunction components (G-vectors) is much higher than in the bulk hBN case (why?) | |||
Continue using a <code>SAVE</code> we prepared previously: | |||
$ cd ../../YAMBO | $ cd ../../YAMBO | ||
$ ls | $ ls |
Revision as of 14:30, 23 March 2017
In this tutorial you will learn how to generate the Yambo SAVE folder for a 2D hBN sheet starting from a PWscf calculation.
Prerequisites
Previous modules
- You must first follow the Bulk_material:_h-BN tutorial.
You will need:
- PWSCF input files and pseudopotentials for 2D hBN sheet (Download here)
pw.x
executable, version 5.0 or laterp2y
executable
System characteristics
Hexagonal boron nitride sheet - 2D hBN:
- 2D HCP lattice
- Two atoms per cell, B and N (8 electrons)
- Lattice constants: a = 4.716 [a.u.], c/a = 7 (supercell size)
- Plane wave cutoff 40 Ry (~5000 RL vectors in wavefunctions)
- SCF run: shifted 6x6x1 grid (12 k-points) with 4 bands
- Non-SCF run: gamma-centred 6x6x1 (7 k-points) grid with 60 bands
DFT calculations
Unpack the tarfile. It uses the same file structure as other yambo tutorials:
$ tar -xcvf hBN-2D.tar $ cd YAMBO_TUTORIALS/hBN-2D/PWSCF $ ls Inputs Pseudos PostProcessing References hBN_2D_scf.in hBN_2D_nscf.in hBN_2D_scf_bands.in hBN_2D_nscf_bands.in
The procedure is exactly the same as following in the Bulk_material:_h-BN tutorial, so no detailed explanations will be given here.
pw.x < hBN_2D_scf.in > hBN_2D_scf.out pw.x < hBN_2D nscf.in > hBN_2D_nscf.out
The valence band maximum is computed at -4.29 eV. After these two runs, you should have a hBN_2D.save
directory.
$ ls hBN_2D.save data-file.xml charge-density.dat gvectors.dat B.pz-vbc.UPF N.pz-vbc.UPF K00001 K00002 .... K00011 K00012
Conversion to Yambo format
$ cd hBN_2D.save $ p2y ... <---> DBs path set to . <---> Index file set to data-file.xml ... <---> == P2Y completed ==
Check that the databases contain the information you expect:
$ yambo -D [RD./SAVE//ns.db1]------------------------------------------ Bands : 60 K-points : 7 G-vectors [RL space]: 21817 Components [wavefunctions]: 2736 ... [RD./SAVE//ns.wf]------------------------------------------- Fragmentation :yes Bands in each block : 60 ... [RD./SAVE//ns.kb_pp_pwscf]---------------------------------- Fragmentation :yes - S/N 0000908 -------------------------- v.04.01.02 r.00000 -
Note that the number of wavefunction components (G-vectors) is much higher than in the bulk hBN case (why?)
Continue using a SAVE
we prepared previously:
$ cd ../../YAMBO $ ls SAVE