24小时热门版块排行榜    

查看: 2229  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

xsw841020

铜虫 (初入文坛)


[交流] 【求助】nband和occ 设置

ixc 7
nsppol 2
nbanddsto -1

# Crystalline aluminum : optimization of the lattice parameter
# at fixed number of k points and broadening.

#Definition of occupation numbers
occopt 2
nband 3 3 3 3 3 3 3 3
occ 1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0 0 1 0 0
tsmear 0.05

#Definition of the unit cell
acell 3*7.60           # This is equivalent to   7.60 7.60 7.60
rprim  0.0  0.5  0.5   # FCC primitive vectors (to be scaled by acell)
       0.5  0.0  0.5
       0.5  0.5  0.0

#Optimization of the lattice parameters
#optcell 1
#ionmov  3
ntime  10
dilatmx 1.05
#ecutsm  0.5

#Definition of the atom types
ntype 1           # There is only one type of atom
zatnum 13         # The keyword "zatnum" refers to the atomic number of the
                  # possible type(s) of atom. The pseudopotential(s)
                  # mentioned in the "files" file must correspond
                  # to the type(s) of atom. Here, the only type is Aluminum
                        

#Definition of the atoms
natom 1           # There is only one atom per cell
type 1            # This atom is of type 1, that is, Aluminum
xred              # This keyword indicate that the location of the atoms
                  # will follow, one triplet of number for each atom
   0.0  0.0  0.0     # Triplet giving the REDUCED coordinate of atom 1.

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

#Definition of the k-point grid
kptopt 2          # Option for the automatic generation of k points, taking
                  # into account the symmetry
ngkpt 2 2 2       # This is a 2x2x2 FCC grid, based on the primitive vectors
nshiftk 1         # of the reciprocal space. For a FCC real space lattice,
                  # like the present one, it actually corresponds to the
                  # so-called 4x4x4 Monkhorst-Pack grid, if the following shifts
                  # are used :
shiftk 0.5 0.5 0.5
#       0.5 0.0 0.0
#       0.0 0.5 0.0
#       0.0 0.0 0.5

#Definition of the SCF procedure
nstep 10          # 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)
新手  我就想问下 怎么 得出 nband 和 occ 是这些呐  我看 tutorial 关于这怎么 觉的 不一样呐
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gzqdyouxia(金币+1):谢谢指点 2010-12-24 11:03:18
若occopt=2,需手动设置占据occ,且此时nband(nkpt*nsppol),是nkpt*nsppol维数组,occ(nband),先按k点排列自旋朝上,然后自旋朝下
4楼2010-12-24 09:22:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答
★ ★
youzhizhe(金币+2):谢谢指导。 2010-12-23 23:37:24
nband在自洽计算的时候,如果是不考虑自旋绝缘体一般可指定为总电子数的一半,如果是金属一般要多余电子数目一半的百分之二十;
occ是电子占有数,考虑自旋的系统,你可以分别指定自旋上和自旋下的电子,两者总数和是电子数目;其实是自旋上和自旋下的occ分别是两个数组,应该是nband维的数组
2楼2010-12-23 22:55:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
★ ★
gzqdyouxia(金币+2):谢谢指点 2010-12-24 11:03:07
你这个例子中的nband,ocd的形式是由occopt=2决定的,当occopt=2时,表示可以标定每个k点对应的带数(nband),还可以标定每个能级上电子占据数(occ)。
所以你的nband 3 3 3 3 3 3 3 3,表示的是4个K点,每个K点都有自旋向上和向下电子,且占据三个能级。
occ  1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0 0 1 0 0 表示4个K点上,自旋向上电子排布为1 1 0,自旋向下电子排布为1 0 0.
3楼2010-12-24 09:06:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 面上合作单位盖章 +6 ssyjh 2026-08-27 9/450 2026-09-01 20:01 by huagongfeihu
[基金申请] 面上函评意见出来了,像什么等级? 20+4 Tsingking1 2026-08-27 17/850 2026-09-01 19:51 by 超级无敌华子
[文学芳草园] 梦想 +5 myrtle 2026-08-26 7/350 2026-09-01 15:18 by myrtle
[基金申请] 学科评审组评审是指会评吗? +4 瞬息宇宙 2026-08-31 4/200 2026-09-01 14:58 by jiaoxg
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +13 Kittylucky 2026-08-27 14/700 2026-09-01 11:06 by feng6531
[基金申请] 怎么看青基中了没有啊 +6 叶九微 2026-08-26 6/300 2026-08-31 23:54 by yudaoqian88
[基金申请] 国社科又开始会评了,不知道这次命运如何 +7 雨打竹帘 2026-08-30 11/550 2026-08-31 23:16 by hittle2008
[基金申请] 投票:  有多少人是今天查系统知道结果的? +17 爱看书的可乐 2026-08-26 19/950 2026-08-31 21:30 by xiangy672
[基金申请] 基金未中,这种答复是模板吗? +6 zhaosm1982 2026-08-27 7/350 2026-08-31 21:18 by qdxxmc
[基金申请] 面上意见出来了 +12 黄鸟于飞Chao 2026-08-29 23/1150 2026-08-31 18:57 by 黄鸟于飞Chao
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[考博] 找导师 +6 yuanjiabao 2026-08-29 7/350 2026-08-30 14:40 by 生科新手
[基金申请] 我就是申请一个面上项目而已,这评审意见是按照杰青的条件评的吧? +6 gouxfjh 2026-08-28 11/550 2026-08-30 07:57 by gouxfjh
[基金申请] 国自然面上复盘~欢迎讨论 (金币+15) +15 晴天加油 2026-08-26 16/800 2026-08-29 18:28 by symmetry
[基金申请] 基金系统什么内容也没有 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
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +5 a089 2026-08-26 6/300 2026-08-27 14:05 by jonewore
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
信息提示
请填处理意见