计算化学公社
标题:
CP2K Metadynamics的CV采样为何出现在墙外
[打印本页]
作者Author:
函数与激情
时间:
2021-10-16 17:13
标题:
CP2K Metadynamics的CV采样为何出现在墙外
本帖最后由 函数与激情 于 2021-10-16 17:15 编辑
大家好,我初学metadynamics,在我的一个模拟输入中,我将CV设置为一个两个原子间距 [2.78 - 2.82 A],分析发现在很长一段模拟时间中我的CV的取值是在设置的墙外的,请教各位前辈有没有遇到类似的情况,这是为什么呢?
#Generated by Multiwfn
&GLOBAL
PROJECT md
PRINT_LEVEL LOW
RUN_TYPE MD
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&SUBSYS
&CELL
ABC 12.000 12.000 12.000
PERIODIC XYZ #Direction of applied PBC (geometry aspect)
&END CELL
&TOPOLOGY
&CENTER_COORDINATES #Centering the atoms in the box
&END
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME geom.xyz
&END
&DISTANCE
ATOMS 1 10
&END
&END COLVAR
&END SUBSYS
&DFT
WFN_RESTART_FILE_NAME 1x-RESTART.wfn
CHARGE 0 #Net charge
MULTIPLICITY 1 #Spin multiplicity
&QS
EPS_DEFAULT 1E-10 #This is default. Set all EPS_xxx to values such that the energy will be correct up to this value
METHOD xTB
&xTB
CHECK_ATOMIC_CHARGES F #xTB calculation often crashes without setting this to false
&PARAMETER
DISPERSION_PARAMETER_FILE dftd3.dat
PARAM_FILE_NAME xTB_parameters
&END PARAMETER
&END xTB
&END QS
&POISSON
PERIODIC XYZ #Direction(s) of PBC for calculating electrostatics
PSOLVER PERIODIC #The way to solve Poisson equation
&END POISSON
&SCF
MAX_SCF 200 #Should be set to a small value (e.g. 30) if enabling outer SCF
EPS_SCF 5.0E-06 #Convergence threshold of density matrix during SCF
SCF_GUESS RESTART #Use wavefunction from WFN_RESTART_FILE_NAME file as initial guess
&OT
PRECONDITIONER FULL_SINGLE_INVERSE
MINIMIZER DIIS #CG is worth to consider in difficult cases
LINESEARCH 2PNT #1D line search algorithm for CG. 2PNT is default, 3PNT is better but more costly. GOLD is best but very expensive
&END OT
#Uncomment following lines can enable outer SCF
#&OUTER_SCF
# MAX_SCF 20 #Maximum number of steps of outer SCF
# EPS_SCF 5.0E-06 #Convergence threshold of outer SCF
#&END OUTER_SCF
&END SCF
&END DFT
&END FORCE_EVAL
&MOTION
&FREE_ENERGY
&METADYN
DO_HILLS T
!LAGRANGE F
NT_HILLS 10 !Specify the maximum MD step interval between spawning two hills
!WW 1.0e-3 !Specifies the height of the gaussian to spawn. Default 0.1
WW [kcalmol] 0.10
&METAVAR
SCALE [angstrom] 0.20
COLVAR 1
&WALL
TYPE QUARTIC
POSITION [angstrom] 2.82
&QUARTIC
DIRECTION WALL_PLUS
k = 2.0
&END
&END
&WALL
TYPE QUARTIC
POSITION [angstrom] 2.78
&QUARTIC
DIRECTION WALL_MINUS
k = 2.0
&END
&END
&END METAVAR
&PRINT
&COLVAR
COMMON_ITERATION_LEVELS 3
&EACH
MD 10
&END
&END
&HILLS
COMMON_ITERATION_LEVELS 3
&EACH
MD 10
&END
&END
&END
&END METADYN
&END
&MD
ENSEMBLE NVT
INITIALIZATION_METHOD DEFAULT
STEPS 100000
TEMPERATURE 300.0
TIMESTEP 1.0
&THERMOSTAT
TYPE NOSE
&NOSE
LENGTH 5
TIMECON 5
&END NOSE
&END THERMOSTAT
&END MD
&PRINT
&TRAJECTORY SILENT
FILENAME =traj.xyz
&EACH
MD 10
&END EACH
&END TRAJECTORY
&VELOCITIES OFF
&END VELOCITIES
&FORCES OFF
&END FORCES
&RESTART_HISTORY OFF
&END RESTART_HISTORY
&RESTART ON
&END RESTART
&END PRINT
&END MOTION
复制代码
作者Author:
zgdong
时间:
2022-6-4 23:04
我也遇到这个问题,请问你最后解决了吗
作者Author:
函数与激情
时间:
2022-6-5 00:18
后来改用了plumed,效果好一些
作者Author:
casea
时间:
2022-6-5 10:11
有没有可能是势常数k设置的太小导致无法约束住
作者Author:
Yhang
时间:
2024-3-27 17:17
函数与激情 发表于 2022-6-5 00:18
后来改用了plumed,效果好一些
您好,最近我也准备利用plumed软件在cp2k中引入虚拟墙,在这里想请教您,怎么去定义plumed文件以及虚拟墙的位置?
欢迎光临 计算化学公社 (http://bbs.keinsci.com/)
Powered by Discuz! X3.3