计算化学公社

 找回密码 Forget password
 注册 Register
Views: 14629|回复 Reply: 14
打印 Print 上一主题 Last thread 下一主题 Next thread

[CP2K] CP2K优化后的晶胞怎么在MS中重建

[复制链接 Copy URL]

55

帖子

0

威望

1108

eV
积分
1163

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
优化晶体结构前,在MS里先make P1,然后存为.cor文件,然后调整格式存为.xyz文件,优化时设置对称性并保持对称性,这样所有的原子坐标都有了;
用SCC DFTB(D3校正)方法进行结构优化;原子数78(我在想是不是太小了?)

很快收敛,将优化好结构存成.xyz文件,导入MS中后按优化好的晶格参数按P1空间群重建,总是出现问题,很多原子都挤到一起了。

请问用CP2K优化后的晶胞怎么在MS里重建呢?

58

帖子

0

威望

1589

eV
积分
1647

Level 5 (御坂)

2#
发表于 Post on 2019-1-16 00:40:16 | 只看该作者 Only view this author
If I read correctly, you need to reconstruct a cell after a CP2K run. It is not a simple procedure, first you need to prepare a minimal .cif by hand writing all the lattice parameters and Cartesian coordinates (_atom_site_Cartn_x) obtained from CP2K. Second, convert coordinates of this .cif into fractional via, say, openbabel or Avogadro as its graphical interface (just open .cif and save it). On the next step the cell symmetry needs to be restored. Open .cif containing fractional coordinates in PLATON and add symmetry (if present):

$ platon -o name.cif
> CALC ADDSYM SHELX

Now construct a new .cif:

$ platon -C name_pl.res

.cif is a universal format, so you will be able to alter it with your favorite tools.
If someone knows an easier way, please, post it.

评分 Rate

参与人数
Participants 1
eV +2 收起 理由
Reason
sobereva + 2

查看全部评分 View all ratings

55

帖子

0

威望

1108

eV
积分
1163

Level 4 (黑子)

3#
 楼主 Author| 发表于 Post on 2019-1-17 16:30:10 | 只看该作者 Only view this author
mizuchi 发表于 2019-1-16 00:40
If I read correctly, you need to reconstruct a cell after a CP2K run. It is not a simple procedure,  ...

Thank you for your interpretation. I find another way to construct the cell.
First, for the cell to be optimized, make symmetry P1  and save as .cif file.
Second, to construct the optimized cell, using the software Chemcraft to convert the Cartesian coordinates  into fractional coordinates with the optimized lattice parameters.
Then, edit the .cif file using lattice parameters and fractional coordinates, and import it to MS, rebuild the crystal.

2

帖子

0

威望

136

eV
积分
138

Level 2 能力者

4#
发表于 Post on 2019-7-22 21:40:57 | 只看该作者 Only view this author
莫落 发表于 2019-1-17 16:30
Thank you for your interpretation. I find another way to construct the cell.
First, for the cell  ...

你好,我也在使用CP2K,在经过你的第二步之后,第三步还是在Chemcraft软件中进行吗?

219

帖子

3

威望

4785

eV
积分
5064

Level 6 (一方通行)

5#
发表于 Post on 2019-7-23 10:22:22 | 只看该作者 Only view this author
输出的时候以pdb格式输出,会保留晶胞信息,去最后一帧放到MS里面,直接build一下,晶胞参数都不用自己填
Monte Carlo

2

帖子

0

威望

136

eV
积分
138

Level 2 能力者

6#
发表于 Post on 2019-7-23 18:50:25 | 只看该作者 Only view this author
youyno 发表于 2019-7-23 10:22
输出的时候以pdb格式输出,会保留晶胞信息,去最后一帧放到MS里面,直接build一下,晶胞参数都不用自己填

已经成功导出,谢谢回复

1

帖子

0

威望

131

eV
积分
132

Level 2 能力者

7#
发表于 Post on 2019-12-12 23:24:37 | 只看该作者 Only view this author
youyno 发表于 2019-7-23 10:22
输出的时候以pdb格式输出,会保留晶胞信息,去最后一帧放到MS里面,直接build一下,晶胞参数都不用自己填

非常感谢您提供如此简便的方法,想请教一下,在inp文件添加什么代码能以pdb格式输出?

6

帖子

0

威望

129

eV
积分
135

Level 2 能力者

8#
发表于 Post on 2020-9-1 11:35:38 | 只看该作者 Only view this author
我可以问一下,在cp2k中,你们最后是怎么导入导出的呀,我也遇到这个问题了,还不会解决,导出在ms重构晶胞时,原子团在一起了额

7

帖子

0

威望

205

eV
积分
212

Level 3 能力者

9#
发表于 Post on 2021-11-25 20:30:49 | 只看该作者 Only view this author
hewei5148 发表于 2019-7-23 18:50
已经成功导出,谢谢回复

想请教一下是怎么以pdb格式输出的呀?

65

帖子

0

威望

756

eV
积分
821

Level 4 (黑子)

10#
发表于 Post on 2021-11-25 23:44:58 | 只看该作者 Only view this author
啊这就离谱 发表于 2021-11-25 20:30
想请教一下是怎么以pdb格式输出的呀?

&MOTION
    ......
      &PRINT
          &TRAJECTORY
                 FORMAT PDB
          &END TRAJECTORY
       &END PRINT

7

帖子

0

威望

205

eV
积分
212

Level 3 能力者

11#
发表于 Post on 2021-11-26 15:12:21 | 只看该作者 Only view this author
bblovelp 发表于 2021-11-25 23:44
&MOTION
    ......
      &PRINT

感谢大佬,已经按照这个方式搞定了

30

帖子

0

威望

319

eV
积分
349

Level 3 能力者

12#
发表于 Post on 2021-12-27 18:34:20 | 只看该作者 Only view this author
啊这就离谱 发表于 2021-11-26 15:12
感谢大佬,已经按照这个方式搞定了

问一下,1.这个pdb文件要用什么软件打开?导出的文件还是没有晶格边界
2.如何把最后一帧导出?

240

帖子

1

威望

4091

eV
积分
4351

Level 6 (一方通行)

13#
发表于 Post on 2021-12-27 19:05:06 | 只看该作者 Only view this author

1

帖子

0

威望

53

eV
积分
54

Level 2 能力者

14#
发表于 Post on 2022-6-20 22:03:45 | 只看该作者 Only view this author
youyno 发表于 2019-7-23 10:22
输出的时候以pdb格式输出,会保留晶胞信息,去最后一帧放到MS里面,直接build一下,晶胞参数都不用自己填

我把cp2k的.pdb文件导入到了MS中,但是不能build,请问是什么原因呢?

7

帖子

0

威望

205

eV
积分
212

Level 3 能力者

15#
发表于 Post on 2022-8-5 03:00:30 | 只看该作者 Only view this author
yydy 发表于 2021-12-27 18:34
问一下,1.这个pdb文件要用什么软件打开?导出的文件还是没有晶格边界
2.如何把最后一帧导出?

1.VMD打开, 命令行输入 pbc box
2.VMD切换到最后一帧保存为新文件

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-20 17:36 , Processed in 0.189192 second(s), 27 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list