[CP2K-user] [CP2K:21267] TDDFT periodic with Hybrid functional

Jürg Hutter hutter at chem.uzh.ch
Fri Mar 7 09:38:49 UTC 2025


Hi

you don't have to repeat the XC section within TDDFT if you want to
use the same functional as for the ground state.

The XC option in the TDDFT section allows to change the functional
for the kernel only. However, for hybrids/ADMM this is restricted.

regards
JH

________________________________________
From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of oandr... at gmail.com <oandresg15 at gmail.com>
Sent: Friday, March 7, 2025 7:43 AM
To: cp2k
Subject: [CP2K:21266] TDDFT periodic with Hybrid functional

Dear Cp2k devs and users,

I am trying to do a tddft calculation for a periodic system  using a modified hybrid functional where HF is 15%

&AUXILIARY_DENSITY_MATRIX_METHOD
       ADMM_PURIFICATION_METHOD NONE
       METHOD BASIS_PROJECTION
       EXCH_SCALING_MODEL NONE
       EXCH_CORRECTION_FUNC PBEX
     &END AUXILIARY_DENSITY_MATRIX_METHOD
     &QS
       EPS_PGF_ORB  1.0000000000000001E-032
       METHOD GPW
     &END QS
     &MGRID
       NGRIDS 5
       CUTOFF  7.0000000000000000E+002
       REL_CUTOFF  7.0000000000000000E+001
     &END MGRID
     &XC
       DENSITY_CUTOFF  1.0000000000000000E-010
       GRADIENT_CUTOFF  1.0000000000000000E-010
       TAU_CUTOFF  1.0000000000000000E-010
       &XC_FUNCTIONAL NO_SHORTCUT
         &PBE T
           SCALE_X  8.4999999999999998E-001
           SCALE_C  1.0000000000000000E+000
         &END PBE
         !&PBE_HOLE_T_C_LR T
         !  SCALE_X  1.4999999999999999E-001
         !  CUTOFF_RADIUS  8.0000000000000000E+000
         !&END PBE_HOLE_T_C_LR
       &END XC_FUNCTIONAL
       &HF
         FRACTION  1.5000000000000022E-001
         &SCREENING
           EPS_SCHWARZ  9.9999999999999995E-008
           SCREEN_ON_INITIAL_P F
         &END SCREENING
         &INTERACTION_POTENTIAL
           POTENTIAL_TYPE TRUNCATED
           CUTOFF_RADIUS  8.0000000000000000E+000
       T_C_G_DATA "t_c_g.dat"
         &END INTERACTION_POTENTIAL
         &MEMORY
           EPS_STORAGE_SCALING  1.0000000000000001E-001
           MAX_MEMORY 40000
         &END MEMORY
       &END HF
     &END XC


I was wondering If I should define the XC_FUNCTIONAL in the TDDFPT section , or if like this is enough

 &PROPERTIES
      &TDDFPT
       KERNEL FULL
      NSTATES 10
       MAX_ITER   100
       CONVERGENCE [eV] 1.0e-7
      ADMM_KERNEL_XC_CORRECTION T
       &MGRID
         CUTOFF 700
         REL_CUTOFF 70
       &END MGRID
     &PRINT
       &NTO_ANALYSIS
        CUBE_FILES T
        STRIDE  3 3 3
       &END NTO_ANALYSIS
     &END PRINT
     &END TDDFPT
    &END PROPERTIES

or should i include

     &XC
       &XC_FUNCTIONAL NO_SHORTCUT
         &PBE T
           SCALE_X  8.4999999999999998E-001
           SCALE_C  1.0000000000000000E+000
         &END PBE
         !&PBE_HOLE_T_C_LR T
         !  SCALE_X  1.4999999999999999E-001
         !  CUTOFF_RADIUS  8.0000000000000000E+000
         !&END PBE_HOLE_T_C_LR
       &END XC_FUNCTIONAL
       &HF
         FRACTION  1.5000000000000022E-001
         &SCREENING
           EPS_SCHWARZ  9.9999999999999995E-008
           SCREEN_ON_INITIAL_P F
         &END SCREENING
         &INTERACTION_POTENTIAL
           POTENTIAL_TYPE TRUNCATED
           CUTOFF_RADIUS  8.0000000000000000E+000
           T_C_G_DATA "t_c_g.dat"
         &END INTERACTION_POTENTIAL
       &END HF
     &END XC

In the XC definition of TDDFPT ,

Thank you for your suggestions and help

Andres Ortega-Guerrero
nanotech at surfaces | EMPA

--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/2057888c-c55f-46f1-877e-88d130612009n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/2057888c-c55f-46f1-877e-88d130612009n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/ZR0P278MB0759C209FBFF82A460D68F2B9FD52%40ZR0P278MB0759.CHEP278.PROD.OUTLOOK.COM.


More information about the CP2K-user mailing list