24小时热门版块排行榜    

查看: 1180  |  回复: 2

re-member

金虫 (小有名气)

[求助] 用NAMD进行NEMD过程遇到问题,加力不均匀

我用NAMD进行NEMD模拟,用石墨烯片对水盒子施加压力(z方向是加力方向),但在进行的过程中石墨烯片会出现倾斜(图1)或者旋转(图2),这样加力就不均匀了,请问各位大神是否知道是什么原因,或者是哪里设置的问题?我的体系是两个水盒子之间夹了一个CNT的反渗透模型,然后用两个石墨烯片放在两头对水盒子施加压力。
下面是我的.conf文件
set sysname watbox-grap-1

structure          ./${sysname}.psf
coordinates        ./${sysname}.pdb

set temperature    300
set outputname     ./NEMD1/${sysname}

# Continuing a job from the restart files
if {0} {
set inputname      ./03-output/run
binCoordinates     $inputname.restart.coor
binVelocities      $inputname.restart.vel  ;# remove the "temperature" entry if you use this!
extendedSystem     $inputname.restart.xsc
}

firsttimestep      0

#############################################################
## SIMULATION PARAMETERS                                   ##
#############################################################

# Input
paraTypeCharmm            on
parameters          ./par_pa.prm

# NOTE: Do not set the initial velocity temperature if you
# have also specified a .vel restart file!
  temperature         $temperature

# Periodic Boundary conditions
if {1} {
cellBasisVector1    45.0      0.    0.
cellBasisVector2     0.     45.0    0.
cellBasisVector3     0.      0.   258.0
cellOrigin                     0.      0.    0.
}
wrapAll             on
margin              10.0

# Force-Field Parameters
exclude             scaled1-4
1-4scaling          1.0
cutoff              12.
switching           on
switchdist          10.
pairlistdist        14.5


# Integrator Parameters
timestep            1    ;# 1fs/step

rigidBonds          all
rigidTolerance      10e-8
rigidIterations     100

nonbondedFreq       1
fullElectFrequency  2  
stepspercycle       20

#PME (for full-system periodic electrostatics)
if {1} {
PME                 yes
PMEGridSpacing      1.0
}

# Constant Temperature Control
langevin            on    ;# do langevin dynamics
langevinDamping     5     ;# damping coefficient (gamma) of 5/ps
langevinTemp        $temperature
langevinHydrogen    no    ;# don't couple langevin bath to hydrogens

# Constant Pressure Control (variable volume)
if {0} {
useGroupPressure      yes ;# needed for 2fs steps
useFlexibleCell       yes ;# no for water box, yes for membrane
useConstantArea       yes ;# no for water box, yes for membrane

langevinPiston        on
langevinPistonTarget  1.01325 ;#  in bar -> 1 atm
langevinPistonPeriod  200.
langevinPistonDecay   50.
langevinPistonTemp    $temperature
}

# Output
outputName          $outputname
restartfreq         1000     ;# 1000steps = every 1ps
dcdfreq             1000
xstFreq             1000
outputEnergies      1000
outputPressure      1000

# Fixed Atoms Constraint (set PDB beta-column to 1) ; #固定CNT
if {1} {
fixedAtoms          on
fixedAtomsFile      fixatoms-1.pdb
fixedAtomsCol       B
fixedAtomsForces    on
}

#############################################################
## EXTRA PARAMETERS                                        ##
#############################################################

# Put here any custom parameters that are specific to
# this job (e.g., SMD, TclForces, etc...)
if {1} {
tclforces             on
set waterCheckFreq    100
set allatompdb        ${sysname}.pdb
tclForcesScript       addforce.tcl
}

#############################################################
## EXECUTION SCRIPT                                        ##
#############################################################
# Minimization
if {1} {
minimize            1000
reinitvels          $temperature
}

run 2000000 ;# 2.0 ns

用NAMD进行NEMD过程遇到问题,加力不均匀
图1.png


用NAMD进行NEMD过程遇到问题,加力不均匀-1
图2.png
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kaitu66

禁虫 (初入文坛)

本帖内容被屏蔽

2楼2017-03-26 14:40:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

re-member

金虫 (小有名气)

引用回帖:
2楼: Originally posted by kaitu66 at 2017-03-26 14:40:12
你好,请问你的nemd模拟是怎么设置的?

用两个石墨烯片产生不对称的压力差,其他设置如我的conf文件
3楼2017-03-29 21:31:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 re-member 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +3 a089 2026-08-26 3/150 2026-08-26 23:21 by young90
[基金申请] 怎么查啊 +5 huang1991js 2026-08-26 5/250 2026-08-26 16:09 by Equinoxhua
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 国合里面能看到了 +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
[基金申请] 怎么看青基中了没有啊 +4 叶九微 2026-08-26 4/200 2026-08-26 10:52 by xiacongxu
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +3 苏东坡二世 2026-08-23 3/150 2026-08-25 10:35 by shisan1313
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
信息提示
请填处理意见