24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1057  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 调剂 +10 不逢春 2026-04-05 11/550 2026-04-06 22:13 by wj165256
[考研] 调剂求助(生物与医药) +3 @6952 2026-04-06 3/150 2026-04-06 21:48 by Ecowxq666!
[考研] 机械专硕274求调剂,不挑专业学校 +6 泛泛2333 2026-04-05 8/400 2026-04-06 18:06 by 泛泛2333
[考研] 08600生物与医药-327 +8 18755400796 2026-04-05 8/400 2026-04-06 11:59 by lijunpoly
[考研] 0703化学 +9 goldtt 2026-04-02 11/550 2026-04-06 10:35 by 无际的草原
[考研] 求调剂 +10 Hll胡 2026-04-04 10/500 2026-04-05 20:09 by nepu_uu
[考研] 322求调剂 +3 嗯哼哼恒 2026-04-05 3/150 2026-04-05 19:52 by nepu_uu
[考研] 26考研调剂0710 0860 +9 补补不补 2026-04-03 14/700 2026-04-04 23:32 by 果冻大王
[考研] 可跨专业调剂 +3 周的得地 2026-04-04 6/300 2026-04-04 22:21 by barlinike
[考研] 282电子信息0854专硕调剂 +4 202451007219 2026-04-02 6/300 2026-04-04 21:55 by laoshidan
[考研] 学硕288调剂!!! +3 小王xw123 2026-04-03 3/150 2026-04-03 21:20 by 啵啵啵0119
[基金申请] esi高被引论文是不是能对中标有所加分和帮助呢 +5 redcom 2026-04-01 6/300 2026-04-03 15:15 by Howard28
[考研] 266分,一志愿电气工程,本科材料,求材料专业调剂 +9 哇呼哼呼哼 2026-04-02 9/450 2026-04-03 12:05 by 1753564080
[考研] 初试成绩337找调剂 +3 ??? ?. ? 2026-04-03 3/150 2026-04-03 11:43 by 土木硕士招生
[考研] 重庆大学材料与化工085600,初试370+,求求调剂建议 +8 shzhou_ 2026-04-01 9/450 2026-04-03 09:31 by 蓝云思雨
[考研] 一志愿北京科技大学材料学硕328分求调剂 +6 1段时间 2026-03-31 7/350 2026-04-02 13:57 by 3041
[考研] 【求调剂】新能源材料本科,一志愿211,初试321 +6 求调剂学校, 2026-04-02 6/300 2026-04-02 09:41 by 晴空210210
[考研] 307分求调剂 +14 (o~o) 2026-03-31 15/750 2026-04-01 20:43 by longlotian
[考研] 353求调剂 +4 拉钩不许变 2026-04-01 4/200 2026-04-01 18:10 by 记事本2026
[考研] 【调剂】一志愿厦大生物与医药调剂 +3 Echo虾米 2026-03-31 3/150 2026-04-01 08:40 by JourneyLucky
信息提示
请填处理意见