Dear CP2K community,<div><br /></div><div>I am trying to get results similar to those in a paper titled "Koopmans-tuned Heyd-Scuseria-Ernzerhof hybrid functional calculations of acceptors in GaN." They are doing VASP HSE hybrid functional calculations to obtain both deep localized polaronic states and shallow delocalized states of Be in GaN. Be acts as an AX center in GaN. Now, I want to do the same calculations using CP2K. I also want to use the HSE hybrid functional calculation. My immediate goal is to demonstrate the existence of shallow and deep Be states using CP2K HSE hybrid functional simulations.<br /><br />Now, I am trying to converge a neutral Be substitutional acceptor in wurtzite GaN, targeting a metastable C2v-like configuration with an anisotropically delocalized basal plane hole.<br /><br />My immediate goal is state discovery and structural relaxation. I am not yet using this small cell for quantitative formation energies or final transition levels.<br /><br />System and method:<br />- CP2K version: 2024.1<br />- Periodic 3x3x2 wurtzite GaN supercell, 72 atoms<br />- One Ga substituted by Be<br />- Gamma point calculation<br />- Neutral open shell defect:<br />    CHARGE 0<br />    UKS TRUE<br />    MULTIPLICITY 2<br />  Total electrons: N_alpha = 320, N_beta = 319<br /><br />- HSE-type screened hybrid setup:<br />    HF FRACTION 0.31<br />    POTENTIAL_TYPE SHORTRANGE<br />    OMEGA 0.10584 bohr^-1  (= 0.20 Angstrom^-1)<br /><br />- GTH-PBE0 pseudopotentials with q13 Ga, q5 N, q4 Be<br />- DZVP-MOLOPT-PBE0-GTH basis sets with ADMM auxiliary basis sets<br />- Four-center HFX with ADMM; no RI-HFX approximation<br />- MGRID CUTOFF 600 Ry, REL_CUTOFF 60 Ry<br /><br />The C3v-like axial polaron seed converges with the same general setup. It has one long axial Be-N bond and the unpaired spin localizes primarily on the axial N atom, as expected for the deep state. The simulation has converged when I changed ALPHA from 0.20 to 0.05. At first, it was cycling for neutral Be_Ga C3v-like state with ALPHA 0.20.<br /><br />The problem appears specifically for my intended shallow C2v-like seed.<br /><br />C2v-like initial geometry:<br />I perturb Be laterally within the basal plane so that two adjacent basal Be-N bonds are changed symmetrically. For the seed:<br />- selected basal Be-N bonds: 1.9033 and 1.9033 Angstrom<br />- third basal Be-N bond:     2.0433 Angstrom<br />- axial Be-N bond:           1.9573 Angstrom<br /><br />The two selected basal N atoms are assigned a separate N kind only to provide an initial shared spin bias:<br /><br />    &KIND N_PAIR<br />      ELEMENT N<br />      MAGNETIZATION 0.5<br />      BASIS_SET DZVP-MOLOPT-PBE0-GTH-q5<br />      BASIS_SET AUX_FIT admm-dz-q5<br />      POTENTIAL GTH-PBE0-q5<br />    &END KIND<br /><br />There are no geometry, charge, spin, or orbital constraints after the initial atomic guess.<br /><br />SCF issue:<br />I use diagonalization plus Broyden mixing:<br /><br />    &SCF<br />      SCF_GUESS ATOMIC<br />      EPS_SCF 1.0E-6<br />      MAX_SCF 160<br />      &DIAGONALIZATION<br />        ALGORITHM STANDARD<br />      &END DIAGONALIZATION<br />      &MIXING<br />        METHOD BROYDEN_MIXING<br />        ALPHA 0.05<br />        BETA 1.50<br />        NBUFFER 8<br />      &END MIXING<br />    &END SCF<br /><br />The first run reached residuals in the low 10^-4 range repeatedly, but did not converge after ~160 iterations. Its final residual was approximately 1.8E-4.<br /><br />I then restarted from the saved WFN with:<br /><br />    WFN_RESTART_FILE_NAME seed_from_previous-RESTART.wfn<br />    SCF_GUESS RESTART<br />    ALPHA 0.01<br /><br />Here, I changed ALPHA from 0.05 to 0.01. The restart confirms:<br /><br />    SCF PARAMETERS Density guess: RESTART<br /><br />but it continues to oscillate. It occasionally reaches residuals around 1.6E-4 to 1.7E-4, then returns to 10^-3 or occasionally 10^-2. The continuation has not reached EPS_SCF = 1.0E-6.<br /><br />The calculation is otherwise technically stable:<br />- no OOM, MPI, or node errors<br />- peak memory is about 5.7 GiB per MPI task<br />- 8 MPI ranks, 128 GB requested<br />- four-center HFX setup completes normally<br /><br />Questions:<br />1. For this type of near degenerate open shell defect state, would you recommend a different SCF strategy than diagonalization plus Broyden mixing?<br /><br />2. Would orbital transformation, a temporary small electronic smearing, level shifting, a different mixing method, or occupation/orbital following control be the most appropriate next step in CP2K?<br /><br />3. Is there a recommended way in CP2K to stabilize a targeted metastable spin-polarized defect state without artificially constraining the final state?<br /><br />4. Does the paired basal bond geometry and shared initial spin seed seem like a reasonable way to search for a C2v-like basin, or is there a more appropriate initialization strategy?<br /><br />5. CP2K also prints the following type of warning:<br /><br />   "*** Periodic Hartree Fock calculation<br />   *** requested with use of a truncated or shortrange potential. The cutoff<br />   *** radius is larger than half the minimal cell dimension..."<br /><br />   The output reports:<br /><br />       Interaction Potential: SHORTRANGE<br />       Omega: 0.10584<br />       Cutoff Radius [angstrom]: 14.8112<br /><br />I understand this may be less problematic for an HSE-type screened potential than for an explicitly truncated Coulomb calculation, but I would appreciate guidance on whether this warning should affect the reliability or SCF stability of this small cell state discovery test.</div><div><br /></div><div>Please address my approach and the issues I am facing. Any suggestions for improvement regarding my approach or other details would be appreciated. Thank you for your time and help!</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/8ad340df-9ae1-4879-902f-a28ece69d9ccn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/8ad340df-9ae1-4879-902f-a28ece69d9ccn%40googlegroups.com</a>.<br />