howto:newtonx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howto:newtonx [2023/08/31 12:27] – [Brief theory recap] ahehn | howto:newtonx [2023/08/31 14:09] – [A) Initial conditions and photoabsorption spectra] ahehn | ||
---|---|---|---|
Line 17: | Line 17: | ||
The corresponding excited-state gradient is obtained setting up a variational Lagrangian and taking the derivative with respect to the nuclear coordinates $\mathbf{R}$ (see also https:// | The corresponding excited-state gradient is obtained setting up a variational Lagrangian and taking the derivative with respect to the nuclear coordinates $\mathbf{R}$ (see also https:// | ||
- | By performing a TDDFPT computation, | + | By performing a TDDFPT computation, |
\begin{equation} \label{newtons_eom} | \begin{equation} \label{newtons_eom} | ||
Line 27: | Line 27: | ||
\end{equation} | \end{equation} | ||
- | The coefficients $c^M$ of the total wave function $\Psi$ are obtained implying hopping probabilities $P_{M\rightarrow N}$ of Tully' | + | The coefficients $c^M (t)$ of the total wave function $\Psi (\mathbf{R}(t))$ over all excited states $M$ are obtained implying hopping probabilities $P_{M\rightarrow N}$ of Tully' |
\begin{equation}\label{surface_hopping} | \begin{equation}\label{surface_hopping} | ||
\begin{aligned} | \begin{aligned} | ||
- | %\Psi (\mathbf{R}(t)) &= \sum_{M} c^{M} (t) \Psi^M (\mathbf{R}(t)) \\ | + | \Psi (\mathbf{R}(t)) &= \sum_{M} c^{M} (t) \Psi^M (\mathbf{R}(t)) \\ |
- | %i \frac{{\rm{d}} c^M (t)}{{\rm{d}} c^M (t)}{\rm{d}}t} &= \sum_N c^N (t) ( \delta_{MN} E_N (\mathbf{R}(t)) - i \sigma_{MN} (t)) \, , \\ | + | i \frac{{\rm{d}} c^M (t)}{{\rm{d}}t} &= \sum_N c^N (t) \left ( \delta_{MN} E_N (\mathbf{R}(t)) - i \sigma_{MN} (t) \right |
- | P_{M \rightarrow N} &= {\rm{max}} [ 0, \frac{-2 \Delta t}{| c^M|^2} {\rm{Re}} (c^M c^{N \ast}) \sigma_{MN} ] \, . | + | P_{M \rightarrow N} &= {\rm{max}} |
\end{aligned} | \end{aligned} | ||
\end{equation} | \end{equation} | ||
- | The therefore required non-adiabatic time derivative couplings $\sigma_{MN}$ can be obtained relying on semi-empirical models (Baeck-An; please cite Barbatti et al., //Open Research Europe// 1, 49 (2021).) or as numerical time derivative couplings (orbital time derivative (OD); please cite Ryabinkin et al., //J. Phys. Chem. Lett.// 6, 4200 (2015); Barbatti et al., // | + | The therefore required non-adiabatic time derivative couplings $\sigma_{MN}$ can be obtained relying on semi-empirical models (Baeck-An; please cite Barbatti |
\begin{equation}\label{ot_time_deriverative_couplings} | \begin{equation}\label{ot_time_deriverative_couplings} | ||
Line 59: | Line 59: | ||
===== A) Initial conditions and photoabsorption spectra ===== | ===== A) Initial conditions and photoabsorption spectra ===== | ||
- | The following tutorial to obtain photoabsorption spectra is based on https:// | + | The following tutorial to obtain photoabsorption spectra is based on section 2 of https:// |
- | For the electronic-structure calculation with CP2K, a '' | + | For the electronic-structure calculation with CP2K, a '' |
- | Examplary input files for computing the absorption spectrum | + | Examplary input files for computing the absorption spectrum |
- | <code - h2o_cp2k.inp> | + | <code - cp2k_excitedstates.inp> |
+ | & | ||
+ | PROJECT excited_states_for_h2o | ||
+ | RUN_TYPE ENERGY | ||
+ | PREFERRED_DIAG_LIBRARY SL | ||
+ | PRINT_LEVEL medium | ||
+ | &END GLOBAL | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | &END FORCES | ||
+ | & | ||
+ | | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | DIPOLE_FORM LENGTH | ||
+ | & | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | & | ||
+ | & | ||
+ | | ||
+ | | ||
+ | &END NAMD_PRINT | ||
+ | & | ||
+ | &END TDDFPT | ||
+ | & | ||
+ | &DFT | ||
+ | &QS | ||
+ | METHOD GAPW | ||
+ | | ||
+ | &END QS | ||
+ | &SCF | ||
+ | SCF_GUESS restart | ||
+ | &OT | ||
+ | PRECONDITIONER FULL_ALL | ||
+ | MINIMIZER DIIS | ||
+ | &END OT | ||
+ | & | ||
+ | MAX_SCF 900 | ||
+ | EPS_SCF 1.0E-7 | ||
+ | &END OUTER_SCF | ||
+ | MAX_SCF 10 | ||
+ | EPS_SCF 1.0E-7 | ||
+ | &END SCF | ||
+ | POTENTIAL_FILE_NAME POTENTIAL | ||
+ | BASIS_SET_FILE_NAME EMSL_BASIS_SETS | ||
+ | & | ||
+ | CUTOFF 1000 | ||
+ | REL_CUTOFF 100 | ||
+ | NGRIDS 5 | ||
+ | &END MGRID | ||
+ | & | ||
+ | PERIODIC NONE | ||
+ | PSOLVER MT | ||
+ | &END | ||
+ | &XC | ||
+ | & | ||
+ | & | ||
+ | &END XC | ||
+ | &END DFT | ||
+ | & | ||
+ | &CELL | ||
+ | ABC 8.0 8.0 8.0 | ||
+ | PERIODIC NONE | ||
+ | &END CELL | ||
+ | # Coordinates are provided externally for the interface | ||
+ | & | ||
+ | @include coord.cp2k | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | | ||
+ | | ||
+ | &END TOPOLOGY | ||
+ | &KIND H | ||
+ | BASIS_SET 6-311Gxx | ||
+ | POTENTIAL ALL | ||
+ | &END KIND | ||
+ | &KIND O | ||
+ | BASIS_SET 6-311Gxx | ||
+ | POTENTIAL ALL | ||
+ | &END KIND | ||
+ | &END SUBSYS | ||
+ | &END FORCE_EVAL | ||
+ | </ | ||
+ | <code - cp2k_vib.inp> | ||
+ | & | ||
+ | PROJECT normal_modes_for_h2o | ||
+ | RUN_TYPE VIBRATIONAL_ANALYSIS | ||
+ | PREFERRED_DIAG_LIBRARY SL | ||
+ | PRINT_LEVEL medium | ||
+ | &END GLOBAL | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | &END FORCES | ||
+ | & | ||
+ | METHOD Quickstep | ||
+ | &DFT | ||
+ | &QS | ||
+ | METHOD GAPW # GAPW enables comparison with all-electron molecular program codes like Turbomole | ||
+ | EPS_DEFAULT 1.0E-17 | ||
+ | &END QS | ||
+ | &SCF | ||
+ | SCF_GUESS restart | ||
+ | &OT | ||
+ | PRECONDITIONER FULL_ALL | ||
+ | MINIMIZER DIIS | ||
+ | &END OT | ||
+ | & | ||
+ | MAX_SCF 900 | ||
+ | EPS_SCF 1.0E-7 | ||
+ | &END OUTER_SCF | ||
+ | MAX_SCF 10 | ||
+ | EPS_SCF 1.0E-7 | ||
+ | &END SCF | ||
+ | POTENTIAL_FILE_NAME POTENTIAL | ||
+ | BASIS_SET_FILE_NAME EMSL_BASIS_SETS | ||
+ | & | ||
+ | CUTOFF 1000 | ||
+ | REL_CUTOFF 100 | ||
+ | NGRIDS 5 | ||
+ | &END MGRID | ||
+ | & | ||
+ | PERIODIC NONE | ||
+ | PSOLVER MT | ||
+ | &END | ||
+ | &XC | ||
+ | & | ||
+ | & | ||
+ | &END XC | ||
+ | &END DFT | ||
+ | & | ||
+ | &CELL | ||
+ | ABC 8.0 8.0 8.0 | ||
+ | PERIODIC NONE | ||
+ | &END CELL | ||
+ | # coordinates must be provided as external file for NEWTONX | ||
+ | & | ||
+ | | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | &END | ||
+ | NATOMS 3 | ||
+ | CONNECTIVITY OFF | ||
+ | & | ||
+ | & | ||
+ | BASIS_SET 6-311Gxx | ||
+ | POTENTIAL ALL | ||
+ | & | ||
+ | & | ||
+ | BASIS_SET 6-311Gxx | ||
+ | POTENTIAL ALL | ||
+ | & | ||
+ | &END SUBSYS | ||
+ | &END FORCE_EVAL | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | &END NAMD_PRINT | ||
+ | & | ||
+ | DX 0.001 | ||
+ | &END VIBRATIONAL_ANALYSIS | ||
+ | </ | ||
+ | |||
+ | The input file '' | ||
+ | <code - cp2k.par> | ||
+ | | ||
+ | exec = cp2k.psmp | ||
+ | </ | ||
+ | |||
+ | Furthermore, | ||
+ | * The file comprising the normal modes of the CP2K frequency computation -- for the above input provided as '' | ||
+ | * The electronic structure program has to be specified as CP2K by defining '' | ||
+ | |||
+ | <code - initqp_input> | ||
+ | &dat | ||
+ | nact = 2 | ||
+ | iprog = 10 | ||
+ | numat = 3 | ||
+ | | ||
+ | | ||
+ | | ||
+ | anh_f = 1 | ||
+ | | ||
+ | temp = 0 | ||
+ | | ||
+ | chk_e = 1 | ||
+ | nis = 1 | ||
+ | nfs = 11 | ||
+ | kvert = 1 | ||
+ | de = 100 | ||
+ | prog = 14 | ||
+ | iseed = 0 | ||
+ | lvprt = 1 | ||
+ | / | ||
+ | </code> | ||
- | The resulting output | + | After providing the excited-state CP2K computation based on input file '' |
<code cp2k> | <code cp2k> | ||
Line 122: | Line 326: | ||
</ | </ | ||
- | The thereon based initial conditions are summarized in the output files dubbed "final_output", comprising geometries and velocities, as examplarily given below, | + | The thereon based initial conditions are summarized in external |
<code cp2k> | <code cp2k> | ||
Line 141: | Line 345: | ||
</ | </ | ||
- | Moreover, the output file '' | + | Based on the initial conditions, the broadened photoabsorption spectrum can be computed with the nxinp script. As outlined in section 2.7 of the cited NEWTONX tutorial, the so-obtained |
===== B) Non-adiabatic dynamics using orbital determinant derivatives ===== | ===== B) Non-adiabatic dynamics using orbital determinant derivatives ===== | ||
howto/newtonx.txt · Last modified: 2024/01/03 13:09 by oschuett