24小时热门版块排行榜    

查看: 10306  |  回复: 37
【奖励】 本帖被评价13次,作者zxzj05增加金币 10.9
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

[资源] 【分享】借助MS建立abinit结构文件

在MS下建模,得到原胞或超胞的参数(a,b,c大小, 各原子坐标等信息),将这些信息拷贝到abinit输入文件相应的位置。

比如想计算一个2×2×2的AB超胞能带结构:

1.在MS中import   AB,如果没有现成的,就找到AB的晶体学参数,手动建立。如果是import的,将AB转变成primitive cell,如果是手动建立的,估计你找到的晶体学参数就是按primitive cell给的。
2.将primitive cell转变成2×2×2 supercell,菜单上有这个功能。
3.export这个supercell的晶体结构参数,可以输出.car或.cif文件。

下例为一个.cif文件
--------
data_AB
_audit_creation_date              2008-11-21
_audit_creation_method            'Materials Studio'
_symmetry_space_group_name_H-M    'P1'
_symmetry_Int_Tables_number       1
_symmetry_cell_setting            triclinic
loop_
_symmetry_equiv_pos_as_xyz
  x,y,z
_cell_length_a                    6.1490
_cell_length_b                    6.1490
_cell_length_c                    6.1490
_cell_angle_alpha                 60.0000
_cell_angle_beta                  60.0000
_cell_angle_gamma                 60.0000
loop_
_atom_site_label
_atom_site_type_symbol
_atom_site_fract_x
_atom_site_fract_y
_atom_site_fract_z
_atom_site_U_iso_or_equiv
_atom_site_adp_type
_atom_site_occupancy
A1     A     0.12500   0.12500   0.12500   0.00000  Uiso   1.00
B2    B   -0.00000   0.00000  -0.00000   0.00000  Uiso   1.00
A3     A     0.62500   0.12500   0.12500   0.00000  Uiso   1.00
B4    B    0.50000   0.00000  -0.00000   0.00000  Uiso   1.00
A5     A     0.12500   0.62500   0.12500   0.00000  Uiso   1.00
B6    B   -0.00000   0.50000  -0.00000   0.00000  Uiso   1.00
A7     A     0.62500   0.62500   0.12500   0.00000  Uiso   1.00
B8    B    0.50000   0.50000   0.00000   0.00000  Uiso   1.00
A9     A     0.12500   0.12500   0.62500   0.00000  Uiso   1.00
B10   B   -0.00000   0.00000   0.50000   0.00000  Uiso   1.00
A11    A     0.62500   0.12500   0.62500   0.00000  Uiso   1.00
B12   B    0.50000  -0.00000   0.50000   0.00000  Uiso   1.00
A13    A     0.12500   0.62500   0.62500   0.00000  Uiso   1.00
B14   B    0.00000   0.50000   0.50000   0.00000  Uiso   1.00
A15    A     0.62500   0.62500   0.62500   0.00000  Uiso   1.00
B16   B    0.50000   0.50000   0.50000   0.00000  Uiso   1.00
loop_
---------
4.从.cif文件中找出supercell的a,b,c以及各原子坐标

_cell_length_a                    6.1490
_cell_length_b                    6.1490
_cell_length_c                    6.1490

_cell_angle_alpha                 60.0000
_cell_angle_beta                  60.0000
_cell_angle_gamma                 60.0000

A1     A     0.12500   0.12500   0.12500   0.00000  Uiso   1.00
B2    B   -0.00000   0.00000  -0.00000   0.00000  Uiso   1.00
A3     A     0.62500   0.12500   0.12500   0.00000  Uiso   1.00
B4    B    0.50000   0.00000  -0.00000   0.00000  Uiso   1.00
A5     A     0.12500   0.62500   0.12500   0.00000  Uiso   1.00
B6    B   -0.00000   0.50000  -0.00000   0.00000  Uiso   1.00
A7     A     0.62500   0.62500   0.12500   0.00000  Uiso   1.00
B8    B    0.50000   0.50000   0.00000   0.00000  Uiso   1.00
A9     A     0.12500   0.12500   0.62500   0.00000  Uiso   1.00
B10   B   -0.00000   0.00000   0.50000   0.00000  Uiso   1.00
A11    A     0.62500   0.12500   0.62500   0.00000  Uiso   1.00
B12   B    0.50000  -0.00000   0.50000   0.00000  Uiso   1.00
A13    A     0.12500   0.62500   0.62500   0.00000  Uiso   1.00
B14   B    0.00000   0.50000   0.50000   0.00000  Uiso   1.00
A15    A     0.62500   0.62500   0.62500   0.00000  Uiso   1.00
B16   B    0.50000   0.50000   0.50000   0.00000  Uiso   1.00
注意这里的a、b、c单位为埃,原子坐标为fractal 格式(见_atom_site_fract_x)

5 abinit输入文件

# computation of the total energy using a conventional cell(2 2 2)
# Computation of the band structure.
# First, a SCF density computation, then a non-SCF band structure calculation.

ndtset 2

#Dataset 1 : usual self-consistent calculation
kptopt1 1          # Option for the automatic generation of k points,
                   # taking into account the symmetry
nshiftk1 4
shiftk1  0.5 0.5 0.5  # These shifts will be the same for all grids
         0.5 0.0 0.0
         0.0 0.5 0.0
         0.0 0.0 0.5
ngkpt1  4 4 4  
prtden1  1         # Print the density, for use by dataset 2
toldfe1  1.0d-6

#Dataset 2 : the band structure
iscf2    -2
getden2  -1
kptopt2  -3
nband2   8
ndivk2   10 12 17      # 10, 12 and 17 divisions of the 3 segments, delimited
                       # by 4 points.
kptbounds2  0.5  0.0  0.0 # L point
            0.0  0.0  0.0 # Gamma point
            0.0  0.5  0.5 # X point
            1.0  1.0  1.0 # Gamma point in another cell.
tolwfr2  1.0d-12
enunit2  1             # Will output the eigenenergies in eV

#Definition of the unit cell
chkprim 0

acell 3*11.6199 # the primitive AB supercell(2 2 2) a= 11.61992783 Bohr
angdeg 60 60 60

#Definition of the atom types
ntypat 2          # There is two types of atoms
znucl A  B        # The keyword "znucl" refers to the atomic number of the
                  # possible type(s) of atom. The pseudopotential(s)
                  # mentioned in the "files" file must correspond
                 
                        

#Definition of the atoms
natom 16           # There are 16 atoms in the 2*2*2 supercell
typat 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2   #
xred              # This keyword indicate that the location of the atoms
                  # will follow, one triplet of number for each atom
0.12500   0.12500   0.12500
0.00000   0.00000   0.00000
0.62500   0.12500   0.12500  
0.50000   0.00000   0.00000  
0.12500   0.62500   0.12500  
0.00000   0.50000   0.00000  
0.62500   0.62500   0.12500
0.50000   0.50000   0.00000  
0.12500   0.12500   0.62500
0.00000   0.00000   0.50000
0.62500   0.12500   0.62500
0.50000   0.00000   0.50000
0.12500   0.62500   0.62500  
0.00000   0.50000   0.50000  
0.62500   0.62500   0.62500
0.50000   0.50000   0.50000

#Definition of the planewave basis set
ecut  10          # Maximal kinetic energy cut-off, in Hartree


#Definition of the SCF procedure
nstep 100          # Maximal number of SCF cycles
toldfe 1.0d-6     # Will stop when, twice in a row, the difference
                  # between two consecutive evaluations of total energy
                  # differ by less than toldfe (in Hartree)
diemac 12.0       # Although this is not mandatory, it is worth to
                  # precondition the SCF cycle. The model dielectric
                  # function used as the standard preconditioner
                  # is described in the "dielng" input variable section.
                  # Here, we follow the prescription for bulk silicon.
6 计算
7 分析结果
回复此楼

» 收录本帖的淘帖专辑推荐

第一原理资料汇编 MS资料 Abinit 相关资料 有意思的

» 猜你喜欢

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

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

kingsix

新虫 (小有名气)


★ ★
zxzj05(金币+2,VIP+0):3Q! 鼓励讨论! 10-13 13:44
在abint中有个脚本cell2abint可以直接将Ms的结构转换为abinit输入文件的结构
7楼2009-06-18 13:42:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 38 个回答

yjr

铁杆木虫 (正式写手)


★★★ 三星级,支持鼓励

多谢提供参考,谢谢!!
8楼2009-06-18 14:45:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

freshgirl

木虫 (正式写手)


★★★★★ 五星级,优秀推荐

先顶~

然后问个问题,定义unit cell时
acell 3*11.6199 # the primitive AB supercell(2 2 2) a= 11.61992783 Bohr
这个11.6199是怎么得到的?
是你建完supercell以后,发现a=b=c=11.6199?
那要是abc不同怎么办?也就是不是cubic怎么办?
10楼2009-09-28 18:47:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wenyun0876

木虫 (正式写手)


嘿嘿……好方法,早就想这样用了,不过还没装MS。
13楼2009-10-13 11:02:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 国自然评审意见 +10 wangmingqi 2026-08-28 12/600 2026-08-28 22:06 by water_still
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +11 Kittylucky 2026-08-27 12/600 2026-08-28 16:26 by lyxiaomc
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +8 苏东坡二世 2026-08-23 8/400 2026-08-28 14:41 by lkforward
[基金申请] 基金不中,共勉 +11 eulota 2026-08-26 11/550 2026-08-28 14:22 by 火星超人xi
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +4 gdd2018 2026-08-28 9/450 2026-08-28 14:22 by jklily
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 9/450 2026-08-28 11:06 by maolC
[基金申请] 怎么查啊 +6 huang1991js 2026-08-26 6/300 2026-08-28 08:42 by winsaint
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +5 yuleib84 2026-08-26 6/300 2026-08-28 00:02 by yudaoqian88
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 怎么看青基中了没有啊 +5 叶九微 2026-08-26 5/250 2026-08-27 10:35 by l_zh2008
[文学芳草园] 梦想 +3 myrtle 2026-08-26 3/150 2026-08-27 10:01 by angelyueyi
[基金申请] 范进中举一文的中心思想 +9 炎黄贵胄 2026-08-22 10/500 2026-08-26 15:40 by semaglutide
[基金申请] 能否退出参与的面上项目解除限项 +23 koalala 2026-08-24 26/1300 2026-08-26 14:29 by 宝贝虫子
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 系统进不去 +4 yanglien 2026-08-26 5/250 2026-08-26 11:10 by wenfengw83
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
信息提示
请填处理意见