24小时热门版块排行榜    

查看: 1105  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +3 Tide man 2026-08-14 3/150 2026-08-16 17:47 by jurkat.1640
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +9 Ldrop2023 2026-08-13 9/450 2026-08-16 13:24 by wukun_007
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +32 医学老男孩 2026-08-13 72/3600 2026-08-16 13:15 by 医学老男孩
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 26/1300 2026-08-16 12:35 by 启萌科技
[基金申请] filecode=后面第一个是大写字母 +6 wangze12014 2026-08-14 7/350 2026-08-15 20:12 by gltch
[基金申请] filecode +8 cratir 2026-08-14 12/600 2026-08-15 18:08 by zyfgau
[基金申请] 小木虫上这么多卖论文的,真有人买论文么?感觉没必要啊 +12 Tide man 2026-08-10 13/650 2026-08-15 16:34 by 氺木
[基金申请] 关于Filecode分析方法 +10 majunge000 2026-08-10 13/650 2026-08-15 12:26 by hanpeng972
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[硕博家园] 请教兼职经验 +3 是阿文鸭 2026-08-09 3/150 2026-08-14 12:07 by HER12025
[基金申请] FileCode能看出啥? +10 要乐观耀哥 2026-08-10 32/1600 2026-08-14 09:37 by 要乐观耀哥
[基金申请] 静等基金结果 +8 gjjjzhong 2026-08-10 21/1050 2026-08-13 17:56 by 且听虎啸
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 分享一下我之前已中青C的计划书的filecode +4 布布和一二 2026-08-11 5/250 2026-08-13 12:56 by cratir
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +3 Tide man 2026-08-12 4/200 2026-08-13 08:35 by ZJTJZ
[基金申请] 综述论文作为代表作会不会影响评审专家的印象分? +11 yufeiwaner 2026-08-09 13/650 2026-08-12 08:17 by yufeiwaner
[基金申请] 帮忙看看fileCode +7 wwncly 2026-08-10 13/650 2026-08-11 19:36 by 冰心玉壶晴
[基金申请] 确定了,国自然21号放榜 +6 布布和一二 2026-08-10 7/350 2026-08-10 19:15 by 2000zf36392
[基金申请] 据悉今年马上要出结果了 +7 瞬息宇宙 2026-08-10 8/400 2026-08-10 12:42 by Vivilian
信息提示
请填处理意见