Skip to content

Commit f610bf3

Browse files
author
abacus_fixer
committed
add an example to test the old DFT+U method with only scf energy, not force and stress
1 parent cf078bd commit f610bf3

4 files changed

Lines changed: 70 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
INPUT_PARAMETERS
2+
suffix autotest
3+
nbands 28
4+
5+
calculation scf
6+
ecutwfc 6
7+
scf_thr 1.0e-7
8+
scf_nmax 30
9+
out_chg 0
10+
11+
smearing_method gaussian
12+
smearing_sigma 0.07
13+
14+
cal_force 0
15+
cal_stress 0
16+
17+
#force_thr_ev 0.01
18+
#relax_method cg
19+
#relax_bfgs_init 0.5
20+
21+
mixing_type broyden
22+
mixing_beta 0.2
23+
mixing_gg0 1.0
24+
25+
ks_solver scalapack_gvx
26+
basis_type lcao
27+
gamma_only 1
28+
symmetry 0
29+
nspin 2
30+
31+
#Parameter DFT+U
32+
dft_plus_u 2 # 1: new 2: old
33+
orbital_corr 2 2
34+
hubbard_u 5.0 5.0
35+
onsite_radius 5.0
36+
pseudo_dir ../../PP_ORB
37+
orbital_dir ../../PP_ORB
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DFTU + NSPIN2 but use old DFTU method, Fe2O2, gamma-only case
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
ATOMIC_SPECIES
2+
Fe 1.000 Fe_ONCV_PBE-1.0.upf
3+
O 1.000 O_ONCV_PBE-1.0.upf
4+
5+
NUMERICAL_ORBITAL
6+
Fe_gga_6au_100Ry_2s1p1d.orb
7+
O_gga_7au_60Ry_2s2p1d.orb
8+
9+
LATTICE_CONSTANT
10+
8.190
11+
12+
LATTICE_VECTORS
13+
1.00 0.50 0.50
14+
0.50 1.00 0.50
15+
0.50 0.50 1.00
16+
ATOMIC_POSITIONS
17+
Direct
18+
19+
Fe
20+
0.0
21+
2
22+
0.00 0.00 0.00 mag 1.0
23+
0.50 0.50 0.50 mag -1.0
24+
25+
O
26+
0.0
27+
2
28+
0.25 0.25 0.25 1 1 1
29+
0.75 0.75 0.75 1 1 1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
etotref -6304.2287463338798261
2+
etotperatomref -1576.0571865835
3+
totaltimeref 1.17

0 commit comments

Comments
 (0)