24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1056  |  回复: 1

wtianxing

银虫 (小有名气)

[求助] 帮忙看一下求单个Li原子能量的fdf文件是否正确

在利用siesta计算Li掺杂的过程中,需要计算单个Li的能量。但是在siesta中利用3种方法计算单个Li原子的能量,结果竟然不一样,有经验的帮忙看看,非常感谢。
而且我发现主要差别是由于计算中是否添加晶格常数造成的,不知道LatticeConstant是应该设为1A还是实际的晶格常数。
1.一种方法是建了一个10*10*10的大晶包,然后将Li放在中间位置,利用周期性边界条件进行计算,选择DZP和GGA,具体.fdf文件如下,计算结果为-6.38604ev

SystemLabel     Li
NumberOfAtoms  1
NumberOfSpecies  1
%block ChemicalSpeciesLabel
    1     3  Li
%endblock ChemicalSpeciesLabel

%PAO.BasisType    split
PAO.BasisSize   DZP
PAO.EnergyShift    0.020000 Ry

LatticeConstant 3.436 Ang

#box size, which need scale the latticeconstant
%block LatticeVectors         
10.0000   0.000000  0.000000
0.00000 1 0.00000  0.000000
0.00000   0.000000  10.00000
%endblock LatticeVectors

AtomicCoordinatesFormat Fractional

#Li position in the midle of modle
%block AtomicCoordinatesAndAtomicSpecies
          5.00000 5.000000  5.000000     1
%endblock AtomicCoordinatesAndAtomicSpecies

MeshCutoff        200.0 Ry

%block kgrid_Monkhorst_Pack
1   0   0      0.500
0   1   0      0.500
0   0   1      0.500
%endblock kgrid_Monkhorst_Pack

MaxSCFIterations     300
DM.MixingWeight      0.1
DM.NumberPulay       10
DM.Tolerance         1.d-4
SolutionMethod      diagon
ElectronicTemperature   300 K
XC.functional        GGA
XC.authors           PBE
WriteKpoints        .false.
WriteForces         .true.
WriteCoorXmol       .true.
WriteCoorCerius     .true.
WriteCoorInitial    .true.
WriteCoorStep       .true.
MD.TypeOfRun         CG
MD.NumCGsteps        0
MD.MaxCGDispl         0.15 Ang
MD.MaxForceTol        0.010 eV/Ang
MD.VariableCell       .false.
Diag.DivideAndConquer  .false.

2.第二种方法是将原来模型中的其他原子去掉,只剩锂,相当于建了一个大晶包,把Li放在其中,与第一种方法原理应该一样,但是结果为-7.32465
SystemLabel     work

NumberOfAtoms  1
NumberOfSpecies  1
%block ChemicalSpeciesLabel   
    1     3  Li
%endblock ChemicalSpeciesLabel

PAO.BasisType    split
PAO.BasisSize   DZP
PAO.EnergyShift    0.020000 Ry

LatticeConstant 1.0 Ang
%block LatticeParameters
21.6804  23.578  15.30271078  90.000000  90.000000  90.000000
%endblock LatticeParameters
     
AtomicCoordinatesFormat NotScaledCartesianAng
%block AtomicCoordinatesAndAtomicSpecies
    12.605130 5.880100 8.131973                   1
%endblock AtomicCoordinatesAndAtomicSpecies

%block GeometryConstraints
#routine constr
%endblock GeometryConstraints      
#----------------------------------------
# Energy control parameters for SCF cycles

MeshCutoff        180.0 Ry     # Energy cut-off for the planewave

%block kgrid_Monkhorst_Pack    # k mesh points for integration
1   0   0      0.500
0   1   0      0.500
0   0   4      0.500
%endblock kgrid_Monkhorst_Pack

MaxSCFIterations    300        # Max number of scf cycles
DM.MixingWeight      0.1      # Mixing weight for the Pulay procedure - see page 151 - DFT lecture
DM.NumberPulay       10         # Max number of electronic density kept into memory to build the new guess for the electronic density
DM.Tolerance         1.d-4     # Energy convergence criterion for the SCF cycles. In eV.
DM.UseSaveDM                       # Uses the Density Matrix to restart simulations        

SolutionMethod      diagon     # Uses the diagon approach for the scf approach. Do not touch.
ElectronicTemperature   300 K  # Gives the electronic temperature for the population of the Fermi levels. Fermi Dirac distribution function

XC.functional        GGA
XC.authors           PBE

#---------------------------------------                                    
# Control the files printed

WriteKpoints        .false.      
WriteForces         .true.
WriteCoorXmol       .true.
WriteCoorCerius     .true.
WriteCoorStep       .true.
#---------------------------------------
# Simulation type control

MD.TypeOfRun         CG   
MD.NumCGsteps        300     
MD.MaxCGDispl         0.15 Ang  
MD.MaxForceTol        0.010 eV/Ang

MD.VariableCell       .false.  
Diag.DivideAndConquer  .false.

3。第三种方法是建立了一个含有9个Li原子的模型,计算体系的总能量,然后除以原子个数,得到单个原子能量,结果为-9.235eV。

SystemLabel     work

NumberOfAtoms  9
NumberOfSpecies  1
%block ChemicalSpeciesLabel   
    1     3  Li
%endblock ChemicalSpeciesLabel

PAO.BasisType    split
PAO.BasisSize   DZP
PAO.EnergyShift    0.020000 Ry

LatticeConstant 1.0 Ang
%block LatticeParameters
3.50920  3.50920  3.50920  90.000000  90.000000  90.000000
%endblock LatticeParameters
                                                                     
AtomicCoordinatesFormat NotScaledCartesianAng
%block AtomicCoordinatesAndAtomicSpecies
    0.00000   0.00000     0.00000                1
    0.00000   0.00000     3.50920                1
    3.50920   0.00000     3.50920                1
    3.50920   0.00000     0.00000                1
    1.75460   1.75460     1.75460                1
    0.00000   3.50920     0.00000                1
    0.00000   3.50920     3.50920                1
    3.50920   3.50920     3.50920                1
    3.50920   3.50920     0.00000                1
%endblock AtomicCoordinatesAndAtomicSpecies

%block GeometryConstraints
#routine constr
%endblock GeometryConstraints      

#----------------------------------------
# Energy control parameters for SCF cycles

MeshCutoff        180.0 Ry     # Energy cut-off for the planewave

%block kgrid_Monkhorst_Pack    # k mesh points for integration
4   0   0      0.500
0   4   0      0.500
0   0   4      0.500
%endblock kgrid_Monkhorst_Pack

MaxSCFIterations    300        # Max number of scf cycles
DM.MixingWeight      0.1      # Mixing weight for the Pulay procedure - see page 151 - DFT lecture
DM.NumberPulay       10         # Max number of electronic density kept into memory to build the new guess for the electronic density
DM.Tolerance         1.d-4     # Energy convergence criterion for the SCF cycles. In eV.
DM.UseSaveDM                       # Uses the Density Matrix to restart simulations        

SolutionMethod      diagon     # Uses the diagon approach for the scf approach. Do not touch.
ElectronicTemperature   300 K  # Gives the electronic temperature for the population of the Fermi levels. Fermi Dirac distribution function

XC.functional        GGA
XC.authors           PBE

#---------------------------------------                                    
# Control the files printed

WriteKpoints        .false.      
WriteForces         .true.
WriteCoorXmol       .true.
WriteCoorCerius     .true.
WriteCoorStep       .true.
#---------------------------------------
# Simulation type control

MD.TypeOfRun         CG   
MD.NumCGsteps        300   
MD.MaxCGDispl         0.15 Ang  
MD.MaxForceTol        0.010 eV/Ang
MD.VariableCell       .false.   
Diag.DivideAndConquer  .false.

[ Last edited by wtianxing on 2012-8-9 at 11:07 ]
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wtianxing

银虫 (小有名气)

另外发现,如果在方法1中将原子有关性质修改的和方法2中一样,那么计算结果也和2中一样。所以问题的关键是,计算单个原子的能量时,原子的属性例如晶格常数应不应该给?

是这样
LatticeConstant 3.436 Ang
AtomicCoordinatesFormat Fractional
还是下面的
LatticeConstant 1.0 Ang
AtomicCoordinatesFormat NotScaledCartesianAng
2楼2012-08-10 08:55:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wtianxing 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 a2tycdlnq1 2026-05-23 5/250 2026-05-24 16:21 by hhx1yx9evi
[论文投稿] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 a2tycdlnq1 2026-05-23 4/200 2026-05-24 16:16 by hhx1yx9evi
[基金申请] 河北省自然科学基金 +6 Peterchao 2026-05-18 9/450 2026-05-24 16:02 by 130067131
[基金申请] 西安交大新媒学院副院长用撤稿论文结题 +3 bjvtcliu 2026-05-24 5/250 2026-05-24 10:16 by kudofaye
[教师之家] 论文撤稿了 +3 bjvtcliu 2026-05-24 5/250 2026-05-24 10:06 by Equinoxhua
[教师之家] 某211大学教师把个人教师官方主页改成:我跑了我跑了我跑了!官宣跑路! +4 zju2000 2026-05-21 5/250 2026-05-24 09:35 by songwz
[考博] 26/27申博自荐 10+4 ZXW0202 2026-05-22 9/450 2026-05-24 08:47 by bjvtcliu
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 hvkbtfonbv 2026-05-23 3/150 2026-05-24 08:01 by 9ps9vgkqva
[基金申请] 青B发送上会通知了吗 +5 chemBioBro 2026-05-22 7/350 2026-05-23 12:35 by zhuifengzhy
[论文投稿] 投稿求助,期刊 +4 希冀,有书读 2026-05-20 8/400 2026-05-22 10:16 by 希冀,有书读
[文学芳草园] 献血感触 +7 呀呀好傻 2026-05-19 13/650 2026-05-21 20:15 by 呀呀好傻
[基金申请] 面上本子正文33页,违规吗?会被低分嘛? +14 1234567wang 2026-05-17 16/800 2026-05-21 17:58 by 脆脆的饼干
[基金申请] 国自然评分 +4 无名者登山 2026-05-20 5/250 2026-05-21 16:35 by swuq
[基金申请] 国自然上会要求 +7 无名者登山 2026-05-18 11/550 2026-05-21 15:50 by draco1987
[基金申请] 提交了我也来说说感想 +9 fummck 2026-05-20 10/500 2026-05-21 14:17 by draco1987
[基金申请] 评审有感 +15 popular289 2026-05-18 26/1300 2026-05-21 10:35 by 西葫芦炒鸡蛋
[有机交流] 反应很差,大量原料没有反应 5+3 Mr.Zot 2026-05-19 8/400 2026-05-20 22:19 by Equinoxhua
[考博] 如果工作了想读博,可以边工作边读全日制嘛? 30+3 铁达火车 2026-05-18 5/250 2026-05-20 09:33 by tfang
[考博] 博士申请 +5 星…… 2026-05-18 6/300 2026-05-18 23:49 by 糊糊涂涂好
[硕博家园] 我在等一个没有答案的答案 +3 Love_MH 2026-05-17 3/150 2026-05-18 02:22 by 竹林孤影
信息提示
请填处理意见