welcome: please sign in

Revision 65 as of 2017-11-26 06:21:29

Clear message
location: scf

SCF

HF/DFT.

General keywords

RHF/UHF/ROHF

Example:

$Scf
RHF
$end

RKS/UKS/ROKS

Occupy

Alpha

Beta

Charge

Spin

keyword

DFT functional keywords

DFT

RS

D3

DFT grid keywords

NPTRAD

NPTANG

Grid

Gridtype

Partitiontype

Numinttype

NoSymGrid

DirectGrid

NoDirectGrid

NoGridSwitch

ThreshRho

ThreshBSS

Coulpot

Coulpotlmax

Coulpottol

SCF convergence

MAXITER

The maximum Number of SCF iteration

NODIIS

Logical control parameter. Disable DIIS.

MaxDiis

THRENE

THRDEN

ThreshConverg

$SCF
threshconverg                                                               
1.d-6 1.d-4
$END

THRDIIS

DIISmode

DIISmode: 
0: diisdim goes from 0 to maxdiis, then cycles to 0. And reset to 0 when diis fails. 
1: diisdim goes from 0 to maxdiis, keeps maxdiis. And throw the oldest vector (reduce diisdim) when diis fails.
Default: 0.

Vshift

Damp

Icheck

IAUFBAU

Control parameter of electron occupation protocol in each SCF iteration. IAUFBAU = 1, electron occupation obeys Aufbau principle(default); IAUFBAU = 2, electrons complies with specific occupation pattern based on maximum occupation method(mom); IAUFBAU = 3, electrons complies with specific occupation pattern based on maximum occupation method(mom).Update MO coefficients and reorder occupied orbitals in each iteration. WARNING if IAUFBAU=2 or 3 without initial guess=read (this means initial guess is bad), the result is unpredictable.

Diagonalization

Blkiop

7 and 8 for iVI diagonalization otherwise specific pFLMO diagonalization: 1: SAI, 2: DDS, 3: DNR, 4: DGN, 5: FNR, 6: FGN 8: CHC rotation with Fock screen, full diagonalization 7: iVI diagonalization, specific by iviop

iviop

1:CHC rotation with Fock screen, automatic switch betwwen iVI and Dsyev. 2:iVI for GEP (generalized eigenvalue problem) diagonalization. 3:iVI for EP (eigenvalue problem) with Cholesky decomposition of S.

print

iprtmo

Noscforb

Pyscforb

Molden

Expert keywords

IfNoDeltaP

IfDeltaP

Optscreen

Nok2Prim

FixDif

Jengin

Guess

Cutlmotail

CHECKLIN

Check if the basis sets is linear dependent. If diffuse basis set is used, SCF do not converge or ridiculous energy observed, it is better to check linear dependent of the basis set.

$SCF
checklin
$END

TOLLIN

Tolerance of basis set linear dependent. Default value 1.d-7.

$SCF
tollin
1.d-5
$END

ifPair

used to excite electrons (MOM)with following keywords:
hpalpha,hpbeta
then with number of partical-hole pairs N
then with 2N lines specificate partical-hole pairs. (0 is do nothing, indexes start from 1)
eg. the molecular is has 4 irreducible representation, we want to excite electrons from orb 5,6 to 8,9 in rep 1 and 3 to 4 in rep 3 (alpha) & 7 to 8 in rep 1(beta):

ifpair
hpalpha
2
5 0 3 0
8 0 4 0
6 0 0 0
9 0 0 0
hpbeta
1
7 0 0 0
8 0 0 0

this should be combined with iaufbau=2 or 3.
WARNING: this function will not check whether partical orbital is filled or whether hole orbiltal is not filled.

pinalpha , pinbeta

specificate fix orbitals
first line specificates the number of fix orbitals
then with N lines specificate fix orbitals. (0 is do nothing, indexes start from 1)
(somewhat likes hpalpha/hpbeta input)
these keywords leads to SCF_solver from solve FC=SCE to $\tilde{F}U=UE,\tilde{F}=C^\dagger FC$

Depend Files

Filename

Description

Format

Examples

How to perform a direct DFT calculation with B3LYP functional?

$COMPASS 
Title
 Cocaine Molecule test run, CC-PVDZ
Basis
  CC-PVDZ
Geometry
  XYZ               # The molecule geometry will be read from file $BDFTASK.xyz 
End Geometry
Skeleton          # This keyword must be used.
$End

$xuanyuan
Direct              # Direct SCF.
Schwarz          # Schwarz prescreening.
$end

$scf
RKS
DFT functional
 B3LYP
Molden     # This keyword is used to output SCF orbital to molden format file.
$end

How to read molecular orbital as initial guess orbital or restart SCF calculation?

Suppose you have performed a calculation and generated aSCF orbital file in your work directory as test.scforb. Usually, this file atomically generated by SCF module. This file also can be used to restart SCF calculation via read it as initial guess orbital.

$COMPASS 
Title
 Cocaine Molecule test run, CC-PVDZ
Basis
  CC-PVDZ
Geometry
  XYZ    # The molecule geometry will be read from file $BDFTASK.xyz. 
End Geometry
Skeleton          # This keyword must be used.
$End

$xuanyuan
Direct              # Direct SCF.
Schwarz          # Schwarz prescreening.
$end

# Copy orbital file test.scforb as inporb in BDF_TMPDIR
% cp $BDF_WORKDIR/test.scforb $BDF_TMPDIR/inporb

$scf
RKS
DFT functional
 B3LYP
Guess       # Read orbital as  initial guess orbital
 Read
Molden     # This keyword is used to output SCF orbital to molden format file.
$end