| 查看: 910 | 回复: 10 | |||
| 当前主题已经存档。 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
dreampursuer金虫 (正式写手)
|
[交流]
【求助】有没有办法求倒格空间的晶体结构?
|
||
|
有没有办法求倒格空间的晶体结构? 正空间的原胞用material studio画出来了,想求倒格空间的原胞,也就是WS原胞。想问material studio可以做得到吗?谢谢 [ Last edited by dreampursuer on 2009-12-10 at 15:28 ] |
» 猜你喜欢
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有7人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有8人回复
申请2026年博士
已经有6人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有5人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有5人回复
2025冷门绝学什么时候出结果
已经有7人回复
请问有评职称,把科研教学业绩算分排序的高校吗
已经有6人回复
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有7人回复
请问下大家为什么这个铃木偶联几乎不反应呢
已经有5人回复
康复大学泰山学者周祺惠团队招收博士研究生
已经有6人回复

wuchenwf
荣誉版主 (职业作家)
- 应助: 0 (幼儿园)
- 贵宾: 3.433
- 金币: 19419.2
- 散金: 10
- 红花: 4
- 帖子: 3560
- 在线: 1035.7小时
- 虫号: 398569
- 注册: 2007-06-10
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和
- 管辖: 第一性原理
11楼2009-12-10 20:49:43
dreampursuer
金虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 1212.2
- 散金: 199
- 红花: 3
- 帖子: 693
- 在线: 110.6小时
- 虫号: 517668
- 注册: 2008-03-04
- 专业: 核技术及其应用

3楼2009-12-10 10:59:41
aylayl08
荣誉版主 (文坛精英)
至尊天蝎
- 1ST强帖: 1
- 应助: 3 (幼儿园)
- 贵宾: 4.825
- 金币: 18823.7
- 散金: 2180
- 红花: 34
- 沙发: 48
- 帖子: 16357
- 在线: 824小时
- 虫号: 533169
- 注册: 2008-03-26
- 专业: 无机非金属基复合材料
- 管辖: 量子化学

4楼2009-12-10 14:02:36
gavinliu7390
木虫 (著名写手)
叶落鹰飞
- 1ST强帖: 3
- 应助: 51 (初中生)
- 贵宾: 0.481
- 金币: 1564.7
- 散金: 2975
- 红花: 34
- 帖子: 1278
- 在线: 241.4小时
- 虫号: 675997
- 注册: 2008-12-17
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和
★ ★ ★ ★ ★ ★ ★ ★ ★
dreampursuer(金币+1):谢谢参与
dreampursuer(金币+3,VIP+0):你都没有说明你这个程序段属于什么语言的呢。。 12-10 14:27
aylayl08(金币+5,VIP+0):very good.thank you 12-10 15:41
dreampursuer(金币+1):谢谢参与
dreampursuer(金币+3,VIP+0):你都没有说明你这个程序段属于什么语言的呢。。 12-10 14:27
aylayl08(金币+5,VIP+0):very good.thank you 12-10 15:41
|
很简单。 我有写了一个小程序。 你只需要编辑一个输入文件,把正空间的晶格矩阵给它就行。 input.ini 的格式如下: 3.5 0.0 0.0 # Ax , Ay, Az 0.0 3.5 0.0 # Bx, By , Bz 0.0 0.0 3.5 # Cx, Cy , Cz 编译我的程序,执行就可以得到倒空间的晶格矩阵了。 有了倒空间的矩阵,你就可以在ms之类的软件里,看倒空间的样子了。 !--------------------------------------------------------------------------------------------- ! program : from dir to reci ! ! subroutine: main ! ! author: H.Y Liu ! ! contact: ouuing@gmail.com ! !--------------------------------------------------------------------------------------------- program main implicit none real(kind=8) d(3,3) integer i logical alive ! read d_lattice write(*,*)"first, you need write direct lattice in input.ini******important****" write(*,*)"--------------------------------------------------------------------" write(*,*)"this is direct lattice:" write(*,*) inquire(file="input.ini",exist=alive) if(alive)then open(101,file="input.ini" ![]() else write(*,*)"no input.ini" write(*,*)"I can give your example of input.ini" write(*,*)"please edit it!" write(*,*)"format of input.ini :" write(*,*)"3.5 0.0 0.0 # Ax Ay Az" write(*,*)"0.0 3.5 0.0 # Bx By Bz" write(*,*)"0.0 0.0 3.5 # Cx Cy Cz" stop end if do i=1,3 read(101,*)d(1,i),d(2,i),d(3,i) write(*,80)d(1,i),d(2,i),d(3,i) end do 80 format(3x,3f15.9) call d_reci(d) ! write reci lattice stop end !------------------------------------------------------------------------------------- !subroutine: reciprocal lattice !------------------------------------------------------------------------------------- subroutine d_reci(d) implicit none real(kind=8) d(3,3),r(3,3),volume,recv integer i,j ! volume=(a*b.c) volume=(d(2,1)*d(3,2)-d(3,1)*d(2,2))*d(1,3)+(d(3,1)*d(1,3)& &-d(1,1)*d(2,2))*d(2,3)+(d(1,1)*d(2,2)-d(2,1)*d(1,2))*d(3,3) write(*,*)"-------------------------------------------------------------" write(*,*)"volume of the cell is :" write(*,84)volume write(*,*) 84 format(3x,f15.9) ! reci from direct and write reci r(1,1)=(d(2,2)*d(3,3)-d(3,2)*d(2,3))/volume r(2,1)=(d(3,2)*d(1,3)-d(1,2)*d(3,3))/volume r(3,1)=(d(1,2)*d(3,3)-d(3,2)*d(1,3))/volume r(1,2)=(d(2,3)*d(3,1)-d(3,3)*d(2,1))/volume r(2,2)=(d(3,3)*d(1,1)-d(1,3)*d(3,1))/volume r(3,2)=(d(1,3)*d(2,1)-d(2,3)*d(1,1))/volume r(1,3)=(d(2,1)*d(3,2)-d(3,1)*d(2,2))/volume r(2,3)=(d(3,1)*d(1,2)-d(1,1)*d(3,2))/volume r(3,3)=(d(1,1)*d(2,2)-d(2,1)*d(1,2))/volume write(*,*)"-------------------------------------------------------------" write(*,*)"this is reciprocal lattice:" write(*,*) do i=1,3 write(*,81)(r(j,i),j=1,3) end do 81 format(3x,3f15.9) ! volume=(a*b.c) recv=(r(2,1)*r(3,2)-r(3,1)*r(2,2))*r(1,3)+(r(3,1)*r(1,3)-& &r(1,1)*r(2,2))*r(2,3)+(r(1,1)*r(2,2)-r(2,1)*r(1,2))*r(3,3) write(*,*)"-------------------------------------------------------------" write(*,*)"volume of the reciprocal-cell is :" write(*,82)recv write(*,*) 82 format(3x,f15.9) return end subroutine |

5楼2009-12-10 14:23:42













回复此楼

