24小时热门版块排行榜    

查看: 3979  |  回复: 11

ldf831206

新虫 (小有名气)

[交流] 【求助】MUSIC的MD模块计算甲烷在IRMOF-1上的扩散系数 已有6人参与

前段时间在版主和gjh123的帮助下终于掌握了music运行gmc的方法。现在想把MD模块也学习一下,但是遇到了很多问题,想把我的过程贴出来,希望大家能通过讨论把它解决掉。第一次写贴,如有不足请海涵,废话少说,过程开始:
   计算MD的主要目的:计算MSD均方位移,通过对均方位移斜率的1/6来求解扩散行为的扩散系数。
   计算MD的对象:甲烷在IRMOF-1上的扩散行为。
   首先照葫芦画瓢,把需要的文件贴上来,其中把我觉得有问题的地方用红色标出来,希望大家帮忙检查。
   music中md需要的文件:
  atom-atom文件   mol-mol文件   atm文件   mol文件  star_config文件  intramolecular文件  md.ctr文件   post.ctr文件
###########################
atm文件与mol文件

与GCMC需要的相同
##################################################
atom-atom
Methane  Methane  LJ SIG@3.730   EPS@148.0    HICUT@12.8  

Carbon   Carbon   LJ SIG@3.430   EPS@52.84    HICUT@12.8  
Hydrogen Hydrogen LJ SIG@2.570   EPS@22.14    HICUT@12.8  
Oxygen   Oxygen   LJ SIG@3.120   EPS@30.19    HICUT@12.8
Zinc     Zinc     LJ SIG@2.460   EPS@62.40    HICUT@12.8

Methane  Carbon   LJ SIG@LBMIX   EPS@LBMIX    HICUT@12.8  
Methane  Hydrogen LJ SIG@LBMIX   EPS@LBMIX    HICUT@12.8  
Methane  Oxygen   LJ SIG@LBMIX   EPS@LBMIX    HICUT@12.8
Methane  Zinc     LJ SIG@LBMIX   EPS@LBMIX    HICUT@12.8

#############################################

intramolecular

Intra: Methane
Intra: IRMOF1

#############################################

mol-mol

Methane Methane   NCOUL  BASIC  LJ  FAST
Methane Methane   COUL   OFF

Methane IRMOF1  NCOUL MAP@IRMOF1 FAST Methane@PMAP@IRMOF1.Methane.LJ.map
Methane IRMOF1    COUL   OFF

IRMOF1 IRMOF1 NCOUL OFF
IRMOF1 IRMOF1 COUL OFF
注:这里我使用了map加速,map的制作方法与gcmc的相同
#################################
star_config

注:这个是开始的初始结构,我问过版主,他说是用res文件就可以了,于是我选择了我gcmc过程中产生的IRMOF1.CH4.res.1来代替。
#################################
md.ctr    控制文件

这里是我最想弄明白的地方

------ General Information ------------------------------------------
Metahne in IRMOF1
500000                  # No. of iterations
50000                  # No. of steps between writes to output/log file
5000                   # No. of steps between writes to crash file
5000                  # No. of steps between writes to config. file
2                    # Start numbering simulations from .
1                    # Iseed
4                    # specifies contents of config file
temp.res           # Restart File to write to
temp.con           # Configuration File
------ Atomic Types --------------------------------------------------
5                    # number of atomic types            

Methane               # atom type
Methane.atm           # basic atom info file

Carbon               # atom type
Carbon.atm           # basic atom info file

Hydrogen             # atom type
Hydrogen.atm         # basic atom info file

Zinc                 # atom type
Zinc.atm             # basic atom info file

Oxygen             # atom type
Oxygen.atm         # basic atom info file
----- Molecule Types -------------------------------------------------
2                     # Same again with the molecules     
   
Methane             # This is the molecule file you created earlier  
Methane.mol         # This is the molecule file you created earlier  

IRMOF1              # This is the molecule file you created earlier  
IRMOF1.mol    # This is the molecule file you created earlier  
----- Simulation Cell Information --------------------------------------
IRMOF1           # Name of your sorbent         

2, 2, 2            # how to replicate the unit cell in x,y,z directions
1, 1, 1                 

----- Forcefield Information -------------------------------------------
BASIC             # BASIC will use bruteforce calculations
MOL     
atom_atom_file_UFF       # atom-atom interaction file
sorb_sorb_file_UFF        # sorbate-sorbate interaction file
intramolecular_file         # intramolecular interaction file/specification
------ MD Information -------------------------------------------------
1                    # Number of MD Move types listed
IRMOF1.CH4.res.1         # Initial velocities (Generate, filename)

INTEGRATE            # Type of move
1                    # No. of moves
0.001                # Time step, ps
300.0                # Simulation temperature
5000                 # Steps between writes to std IO
5000                 # Steps between writes to .res file
NVT                  # Ensemble to simulate in (NVT, NVE)
GEAR6                # Integretor
10                   # steps between penalty function calls
NOSEHOOVER           # thermostat
100                  # Q parameter (I don't know if this is reasonable)
------ Configuration Initialization ------------------------------------
Methane                        # Sorbate_Type  
RESTARTFILE temp.res.1          # Source Filename
IRMOF1                              # Sorbate_Type
FIXED NULL                        # Source Filename
--------  Main Datafile Information ------------------------------------
Energy, position, Velocity, pair_energy, time # contents of datafile
------Movie Information ------------------------------------------------
movie.xyz          # Movie filename
0, 1000            # Starting step, ending step
10                 # Steps between frames
No                 # Include zeolite in movie
1, 1, 1            # Number of unit cells to dump in x, y, z directions

注:其中标红的MD information 我想把我的理解讲一下,让会的人看看有没有错误
第一行:1种MD的移动方法
第二行:MD开始的结构,采用GCMC的res文件,但是res的结构文件中甲烷的速度为0,因此我先跑1000步NVE让里面的甲烷带上速度。
第三行:移动方法
第四行:按照我的理解是,有多少种分子就填多少,例如单单计算甲烷,就填1,计算甲烷、氢气就填2(这里我们只考虑甲烷,所以仍然为1)
第五行:md的步长(单位为ps)
第六行:温度
第七、八行:分别为写入CON与res文件的相隔步数
第九行:md的系宗(包括你NVT和NVE)
第十行:积分方法(我在例子里面只找到速度Verlet和Gear方法)这里应该是采用Grear法,我在计算NVE的时候采用了速度Verlet方法,但是在计算NVT系宗的时候只能采用GEAR6不知道为何,希望高手指点
第十行:不明,照着例子写的。
第十一行:控温方法采用nose-hoover
第十二行:不明。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ldf831206

新虫 (小有名气)

###################################
post.ctr这里是抄袭版主的
-- Post Processor Information ------------
MD                            # Type of simulation GCMC, NVTMC , MD ....
temp.con                   # basename for config files
2, 2                           # first and last file numbers
new.ctr                       # name for new ctrlfile that will regenerated
MD_data                       # Base name for output files
50, 0                         # Percentages of data to skipped at start and end

####    This section is reqd for energy averages in your post code output files
####    as of now only total enrgies vs sim. step
------ Post : Energy Average Info -----------------------------------
10       # Number of blocks into which data should be divided for stats

####    This section is reqd for Loading averages in your post code outputfiles
####    as of now only species loading vs sim. step (for all species)
------ Post : Loading Average Info -----------------------------------
10       # Number of blocks into which data should be divided for stats

#  the below sections are reqd for MD diffusivity
#
#
-------------"MD Post Code Information"----------------------------
2                      # number of actions
MD Post Diffusivities  # The tag for the diffusivites section heading.
MD Radial Profile      # The tag for the radial profile section heading
------ MD Post Diffusivities --------------------------------------
1
Methane       # Names of sorbates
10            # number of time values for diffusivity
100, 499     # higest and lowest time values, (picoseconds)
0, 0          # initial and final data to be skipped in picoseconds
400            # time skipped bewteen calculations of displ.(ps)


注:我想问一下版主MD Post Diffusivities中的问题,第3行第5、6行分别代表什么呢?

[ Last edited by ldf831206 on 2011-1-14 at 11:11 ]
2楼2011-01-14 11:06:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ldf831206

新虫 (小有名气)

出现的问题:
1采用GREA积分方法能成功的运行出NVT系宗的MD结果,但是为何采用速度Verlet法就只能运行NVE系宗而不能运行NVT系宗呢?
2用post.exe对采用GREA积分方法计算NVT系宗的MD,后con文件分析出现一下问题,究竟是为何呢?

-bash-3.00$ ./post.exe post.ctr>post.log
post.F901726: Created scratch files for sim    1
Starting to Calculating diffusivities
mdpc.F90 1319 : Number of values to average for MSD is too small. maxj =      0
totConfigs=   100 nconf=   100 nskip=     2


谢谢

[ Last edited by ldf831206 on 2011-1-14 at 11:17 ]
3楼2011-01-14 11:06:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ldf831206

新虫 (小有名气)

占楼编辑
4楼2011-01-14 11:06:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ldf831206

新虫 (小有名气)

占楼编辑
5楼2011-01-14 11:07:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ldf831206

新虫 (小有名气)

占楼编辑
6楼2011-01-14 11:07:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ghcacj

荣誉版主 (著名写手)

阿超

优秀版主

★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
zh1987hs(金币+2):谢谢 2011-01-14 16:35:34
你的问题我不解释,你仔细看看这篇文献就知道怎么做了
Babarao, R.; Jiang, J. W. Langmuir 2008, 24, 5474
7楼2011-01-14 12:10:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ldf831206

新虫 (小有名气)

好的  谢谢
8楼2011-01-14 13:03:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

四叶草嘟嘟

金虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
5楼: Originally posted by ldf831206 at 2011-01-14 11:07:09
占楼编辑

请问下 刚入门分子模拟 在论坛上有看MUSIC的分享贴 现在明白大概的原理 知道了原子文件分子文件等等,但是不会提交任务 学校用的ssh远程在服务器上运行  求指导  万分感谢
9楼2015-01-14 15:06:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

茶味果冻

新虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
请问拟合出来的扩散系数为斜率的1/6,它的单位是什么,MS好像并没有告诉单位,只有MSD图线的单位
10楼2015-03-17 17:16:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ldf831206 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 投票:  有多少人是今天查系统知道结果的? +16 爱看书的可乐 2026-08-26 18/900 2026-08-28 13:44 by winsaint
[基金申请] 国自然面上复盘~欢迎讨论 (金币+5) +12 晴天加油 2026-08-26 13/650 2026-08-28 11:32 by skyjudy
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 9/450 2026-08-28 11:06 by maolC
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +10 Kittylucky 2026-08-27 11/550 2026-08-28 10:45 by Kittylucky
[基金申请] 怎么查啊 +6 huang1991js 2026-08-26 6/300 2026-08-28 08:42 by winsaint
[基金申请] 申请删除本帖 +6 lyz123lyz 2026-08-27 7/350 2026-08-27 17:31 by 宁静致远sy
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +5 a089 2026-08-26 6/300 2026-08-27 14:05 by jonewore
[文学芳草园] 梦想 +3 myrtle 2026-08-26 3/150 2026-08-27 10:01 by angelyueyi
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +7 process2012 2026-08-23 10/500 2026-08-26 19:23 by hmhminy
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 国际合作可查了,中了面上 (EPI+1)(金币+50) +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 国合可查了 +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 chengyan1220 2026-08-24 20/1000 2026-08-26 08:57 by peasantsprig
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 明天应该可查了!? +6 chengyan1220 2026-08-23 6/300 2026-08-25 19:45 by zfd97
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
信息提示
请填处理意见