Pump and Probe: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
if it is not the case please check these tutorials: [[Tutorials#Non_linear_response]]
if it is not the case please check these tutorials: [[Tutorials#Non_linear_response]]


We start from the bulk hBN with an in place lattice constant a=4.72431525 a.u. and c/a=2.6. Standard DFT input for hBN
We start from the h-BN monolayer with an in place lattice constant a=4.72431525 a.u. and a box large 40 a.u. in the z-direction.
for ABINIT or QuantumEspresso can be found here [[Tutorials]]. We used 200 bands in the Non-self consistent calculation.
Standard DFT input for hBN monolayer for ABINIT or QuantumEspresso can be found here [[Tutorials]]. <br>
We used 100 bands in the non-self consistent calculation.


In our example we choose direction [0,1,0] for the pump and the probe. We generate the ypp.in to remove symmetries with the command <span style="color:blue">ypp -y</span> and we modify it as:
In our example we choose direction [0,1,0] for the pump and the probe. We generate the ypp.in to remove symmetries with the command <span style="color:blue">ypp -y</span> and we modify it as:
Line 27: Line 28:


then we go in the FixSymm directory and run again the setup. Now we calculate collisions,  
then we go in the FixSymm directory and run again the setup. Now we calculate collisions,  
since we want to include excitonic effects in the calculations. Using the command: <span style="color:blue">yambo_nl -v h+sex+cvonly -e -X s</span>:
since we want to include excitonic effects in the calculations. Using the command: <span style="color:blue">yambo_nl -v h+sex+cvonly -e -X s -r</span>:


  collisions                      # [R] Collisions
  collisions                      # [R] Collisions
Line 35: Line 36:
  X_Threads=0                      # [OPENMP/X] Number of threads for response functions
  X_Threads=0                      # [OPENMP/X] Number of threads for response functions
  RT_Threads=0                    # [OPENMP/RT] Number of threads for real-time
  RT_Threads=0                    # [OPENMP/RT] Number of threads for real-time
RandQpts= 30000000              # [RIM] Number of random q-points in the BZ
RandGvec= 1                RL    # [RIM] Coulomb interaction RS components
CUTGeo= "box Z"                  # [CUT] Coulomb Cutoff geometry: box/cylinder/sphere/ws/slab X/Y/Z/XY..
% CUTBox
  0.00000 |  0.00000 | 39.00000 |        # [CUT] [au] Box sides
%
  Chimod= "HARTREE"                # [X] IP/Hartree/ALDA/LRC/PF/BSfxc
  Chimod= "HARTREE"                # [X] IP/Hartree/ALDA/LRC/PF/BSfxc
  % BndsRnXs
  % BndsRnXs
     1 | 200 |                        # [Xs] Polarization function bands
     1 | 100 |                        # [Xs] Polarization function bands
  %
  %
  NGsBlkXs=  <span style="color:red"> 5000 mHa  </span>  # [Xs] Response block size
  NGsBlkXs=  <span style="color:red"> 5000 mHa  </span>  # [Xs] Response block size
Line 51: Line 58:
  EXXRLvcs= <span style="color:red">10000 mHa  </span> # [XX] Exchange    RL components
  EXXRLvcs= <span style="color:red">10000 mHa  </span> # [XX] Exchange    RL components
  CORRLvcs= <span style="color:red">10000 mHa  </span> # [GW] Correlation RL components
  CORRLvcs= <span style="color:red">10000 mHa  </span> # [GW] Correlation RL components
then we generate the Pump&Probe input with the command <span style="color:blue">yambo_nl -u p -V rt</span>:
nloptics                        # [R] Non-linear spectroscopy
DIP_Threads=0                    # [OPENMP/X] Number of threads for dipoles
NL_Threads=0                    # [OPENMP/NL] Number of threads for nl-optics
% NLBands
  <span style="color:red"> 3 |  6 |  </span>                        # [NL] Bands range
%
NLverbosity= "high"              # [NL] Verbosity level (low | high)
NLstep= 0.010000          fs    # [NL] Time step length
<span style="color:red">NLtime= 75.0000        fs  </span>    # [NL] Simulation Time
NLintegrator= "INVINT"          # [NL] Integrator ("EULEREXP/RK2/RK4/RK2EXP/HEUN/INVINT/CRANKNIC")
NLCorrelation= "IPA"            # [NL] Correlation ("IPA/HARTREE/TDDFT/LRC/LRW/JGM/SEX")
NLLrcAlpha= 0.000000            # [NL] Long Range Correction
<span style="color:red">NLDamping= 0.100000        eV  </span>    # [NL] Damping (or dephasing)
<span style="color:red">RADLifeTime= 15.00000      fs  </span>    # [RT] Radiative life-time (if negative Yambo sets it equal to Phase_LifeTime in NL)
#UseDipoles                    # [NL] Use Covariant Dipoles (just for test purpose)
#FrSndOrd                      # [NL] Force second order in Covariant Dipoles
#EvalCurrent                  # [NL] Evaluate the current
HARRLvcs= 10417            RL    # [HA] Hartree    RL components
EXXRLvcs= 10417            RL    # [XX] Exchange    RL components
% ExtF_Dir
  <span style="color:red"> 1.000000 | 1.000000 | 0.000000 |  </span>      # [NL ExtF] Field Versor
%
% ExtF_Freq
<span style="color:red">  1.500000 | 1.500000 |        eV </span>  # [NL ExtF] Field Frequency
%
<span style="color:red">ExtF_Int=  1000.00        kWLm2 </span> # [NL ExtF] Field Intensity
<span style="color:red">ExtF_Width= 5.00000      fs </span>  # [NL ExtF] Field Width
<span style="color:red">ExtF_kind= "QSSIN"      </span>        # [NL ExtF] Kind(SIN|SOFTSIN|RES|ANTIRES|GAUSS|DELTA|QSSIN)
ExtF_Tstart= 0.010000      fs    # [NL ExtF] Initial Time
% ExtF2_Dir
<span style="color:red">  0.000000 | 0.000000 | 1.000000 |  </span>      # [NL ExtF] Field Versor
%
% ExtF2_Freq
  0.100000 | 0.100000 |        eV    # [NL ExtF] Field Frequency
%
<span style="color:red">ExtF2_Int= 10.0000        kWLm2 </span># [NL ExtF] Field Intensity
ExtF2_Width= 0.000000      fs    # [NL ExtF] Field Width
<span style="color:red">ExtF2_kind= "DELTA"            </span> # [NL ExtF] Kind(SIN|SOFTSIN|RES|ANTIRES|GAUSS|DELTA|QSSIN)
<span style="color:red">ExtF2_Tstart= 30.00000    fs </span>  # [NL ExtF] Initial Time
In this simulation we set a dephasing of 0.1 eV and a radiative life-time of 15 fs, The two external field are a sinus with frequency 1.5 eV convoluted with a Guassian of width 5 fs with and intensity of 1000 KW/cm-2, and then a delta function that starts at 30 fs with an intensity of 10 KW/cm-2. Below we plot the external electric field in the x direction and the polarization in x and z directions:
[[File:ExtF and Pol.png|1200px|center| Pump and probe in AlAs]]

Revision as of 15:46, 10 January 2022

This tutorial works only with Yambo version > 5.0, that will be released soon.

In this tutorial we will show you how to setup two external fields in yambo_nl, to perform pump and probe simulation.
The input simulation parameters of these tutorial require large computational power, we advice you to run them in parallel, or to use simplified parameters for example less bands, k-points and so on. This tutorial supposes that you are already familiar with real-time simulation with Yambo, if it is not the case please check these tutorials: Tutorials#Non_linear_response

We start from the h-BN monolayer with an in place lattice constant a=4.72431525 a.u. and a box large 40 a.u. in the z-direction.

Standard DFT input for hBN monolayer for ABINIT or QuantumEspresso can be found here Tutorials. 

We used 100 bands in the non-self consistent calculation.

In our example we choose direction [0,1,0] for the pump and the probe. We generate the ypp.in to remove symmetries with the command ypp -y and we modify it as:

fixsyms                          # [R] Remove symmetries not consistent with an external perturbation
% Efield1
 0.000000 | 1.000000 | 0.000000 |        # First external Electric Field
%
% Efield2
 0.000000 | 1.000000 | 0.000000 |        # Additional external Electric Field
%
BField= 0.000000           T     # [MAG] Magnetic field modulus
Bpsi= 0.000000             deg   # [MAG] Magnetic field psi angle [degree]
Btheta= 0.000000           deg   # [MAG] Magnetic field theta angle [degree]
#RmAllSymm                     # Remove all symmetries 
RmTimeRev                     # Remove Time Reversal
#RmSpaceInv                    # Remove Spatial Inversion

then we go in the FixSymm directory and run again the setup. Now we calculate collisions, since we want to include excitonic effects in the calculations. Using the command: yambo_nl -v h+sex+cvonly -e -X s -r:

collisions                       # [R] Collisions
em1s                             # [R][Xs] Statically Screened Interaction
dipoles                          # [R] Oscillator strenghts (or dipoles)
DIP_Threads=0                    # [OPENMP/X] Number of threads for dipoles
X_Threads=0                      # [OPENMP/X] Number of threads for response functions
RT_Threads=0                     # [OPENMP/RT] Number of threads for real-time
RandQpts= 30000000               # [RIM] Number of random q-points in the BZ
RandGvec= 1                RL    # [RIM] Coulomb interaction RS components
CUTGeo= "box Z"                  # [CUT] Coulomb Cutoff geometry: box/cylinder/sphere/ws/slab X/Y/Z/XY..
% CUTBox
 0.00000 |  0.00000 | 39.00000 |        # [CUT] [au] Box sides
%
Chimod= "HARTREE"                # [X] IP/Hartree/ALDA/LRC/PF/BSfxc
% BndsRnXs
   1 | 100 |                         # [Xs] Polarization function bands
%
NGsBlkXs=   5000 mHa     # [Xs] Response block size
% LongDrXs
 0.000000 | 1.000000 | 0.000000 |        # [Xs] [cc] Electric Field
%
XTermKind= "BG"                # [X] X terminator ("none","BG" Bruneval-Gonze)
% COLLBands
   5 | 12 |                          # [COLL] Bands for the collisions
%
HXC_Potential= "SEX+HARTREE+CVONLY" # [SC] SC HXC Potential
HARRLvcs= 10000 mHa   # [HA] Hartree     RL components
EXXRLvcs= 10000 mHa    # [XX] Exchange    RL components
CORRLvcs= 10000 mHa    # [GW] Correlation RL components