Difference between revisions of "How to treat low dimensional systems"

From The Yambo Project
Jump to navigation Jump to search
Line 1: Line 1:
In this tutorial you will learn (for a 2D material) how to:
In this tutorial you will learn how to:
* generate a coulomb potential with a box-like cutoff in the non-periodic direction  
* generate a coulomb potential with a box-like cutoff in the non-periodic direction for a 2D system
* visualize this coulomb potential
* visualize this coulomb potential
* use this cutoff in the HF, GW and BSE calculation
* use this cutoff in the HF, GW and BSE calculation
Line 14: Line 14:
==Generate the cutoff databases (yambo -r)==
==Generate the cutoff databases (yambo -r)==
To simulate an isolated nano-material a convergence with cell vacuum size is in principle required, like in the DFT runs.
To simulate an isolated nano-material a convergence with cell vacuum size is in principle required, like in the DFT runs.
The use of a truncated Coulomb potential allows to achieve faster convergence  eliminating the interaction between the repeated  images
The use of a truncated Coulomb potential allows to achieve faster convergence  eliminating the interaction between the repeated  images
along the non-periodic direction  
along the non-periodic direction  
(see i.e. D. Varsano et al Phys. Rev. B and .. )
(see i.e. D. Varsano et al Phys. Rev. B and .. )
In this tutorial we learn how to generate a box-like cutoff for a 2D system with the non-periodic direction along z.


In YAMBO you can use :
In YAMBO you can use :
  spherical  cutoff (for 0D systems)
  spherical  cutoff (for 0D systems)
  cylindrical cutoff (for 1D systems)
  cylindrical cutoff (for 1D systems)  
  box-like    cutoff (for 0D, 1D and also 2D systems)
  box-like    cutoff (for 0D, 1D and 2D systems)
In this tutorial we learn how to use the box-like cutoff for a 2D system with the non-periodic direction along z.


The Coulomb potential with a box-like cutoff is defined as  
The Coulomb potential with a box-like cutoff is defined as  
Line 31: Line 30:
For a 2D-system with non period direction along z-axis we have
For a 2D-system with non period direction along z-axis we have
[[File:Vc4.png|none|500px|]]
[[File:Vc4.png|none|500px|]]
Important remarks:
Important remarks:
== Generate the cutoff database (yambo -r) ==
Important remarks
* the Random Q-points technique is required to perform the Q-space integration
* the Random Q-points technique is required to perform the Q-space integration
* choose L_i sligthly smaller than the cell size in the i-direction
* choose L_i sligthly smaller than the cell size in the i-direction
Line 53: Line 51:
  % CUTBox
  % CUTBox
   0.00    | 0.00    | 32.0    |        # [CUT] [au] Box sides
   0.00    | 0.00    | 32.0    |        # [CUT] [au] Box sides


Close the input file  
Close the input file  

Revision as of 13:52, 26 March 2017

In this tutorial you will learn how to:

  • generate a coulomb potential with a box-like cutoff in the non-periodic direction for a 2D system
  • visualize this coulomb potential
  • use this cutoff in the HF, GW and BSE calculation
  • analyze the difference with similar calculations without cutoff

Prerequisites

Generate the cutoff databases (yambo -r)

To simulate an isolated nano-material a convergence with cell vacuum size is in principle required, like in the DFT runs. The use of a truncated Coulomb potential allows to achieve faster convergence eliminating the interaction between the repeated images along the non-periodic direction (see i.e. D. Varsano et al Phys. Rev. B and .. ) In this tutorial we learn how to generate a box-like cutoff for a 2D system with the non-periodic direction along z.

In YAMBO you can use :

spherical   cutoff (for 0D systems)  
cylindrical cutoff (for 1D systems) 
box-like    cutoff (for 0D, 1D and 2D systems)

The Coulomb potential with a box-like cutoff is defined as

Vc1.png

Then the FT component is

Vc2.png

where

Vc3.png

For a 2D-system with non period direction along z-axis we have

Vc4.png

Important remarks:

  • the Random Q-points technique is required to perform the Q-space integration
  • choose L_i sligthly smaller than the cell size in the i-direction

Create the input

Creation of the input file:

$ yambo -F yambo_cut2D.in  -r

Open the input file yambo_cut2D.in

Change the variables inside as:

RandQpts= 1000000          # [RIM] Number of random q-points in the BZ
RandGvec= 100        RL    # [RIM] Coulomb interaction RS components
CUTGeo= "box z"            # [CUT] Coulomb Cutoff geometry: box/cylinder/sphere X/Y/Z/XY..
% CUTBox
 0.00     | 0.00     | 32.0    |        # [CUT] [au] Box sides

Close the input file

run yambo

$ yambo -F  yambo_cut2D.in  -J 2D