I tried to do the pulling without using enforced rotation, and the pullf.xvg and pullx.xvg look like below. I froze the surface in xyz directions to avoid its moving and the particle in z-direction to prevent falling. The MDP file is also attached.
I will try to change the friction for SD to minimize the noise. I am also wondering if there are other ways to make the flat particle stand in addition to ‘enforced rotation’ or ‘add restraint on z coordinates of all atoms in particle’?
MDP:
;title = OPLS Lysozyme MD simulation
;define = -DPOSRES ; position restrain the CNT
; Run parameters
integrator = sd ; leap-frog integrator
nsteps = 6000000 ; 2 * 50000000 = 100000 ps (100 ns)
dt = 0.002 ; 2 fs
; Output control
; No output for .trr trjectory.
nstxout = 10000 ; save coordinates every 200.0 ps
nstvout = 10000 ; save velocities every 200.0 ps
nstfout = 10000
nstenergy = 10000 ; save energies every 200.0 ps
nstlog = 10000 ; update log file every 200.0 ps
nstxout-compressed = 10000 ; save compressed coordinates every 200.0 ps
; nstxout-compressed replaces nstxtcout
compressed-x-grps = System ; replaces xtc-grps
; Bond parameters
continuation = yes ; Restarting after NPT
constraint_algorithm = lincs ; holonomic constraints
constraints = all-bonds ; all bonds (even heavy atom-H bonds) constrained
lincs_iter = 1 ; accuracy of LINCS
lincs_order = 4 ; also related to accuracy
; Neighborsearching
cutoff-scheme = Verlet
ns_type = grid ; search neighboring grid cells
nstlist = 10 ; 20 fs, largely irrelevant with Verlet scheme
rcoulomb = 1.4 ; short-range electrostatic cutoff (in nm)
rvdw = 1.4 ; short-range van der Waals cutoff (in nm)
; Electrostatics
coulombtype = PME ; Particle Mesh Ewald for long-range electrostatics
pme_order = 4 ; cubic interpolation
fourierspacing = 0.16 ; grid spacing for FFT
; Temperature coupling is on
tc-grps = System ; Treat the whole system as one
bd_fric = 0 ; Brownian dynamics friction coefficient. When bd-fric is 0, the friction coefficient for each particle is calculated as mass/ tau-t.
tau_t = 1 ; time constant, in ps
ref_t = 0 ; reference temperature, one for each group, in K
;tcoupl = V-rescale ; modified Berendsen thermostat
;tc-grps = System ; Treat the whole system as one group.
;tau_t = 0.1 ; time constant, in ps
;ref_t = 300 ; reference temperature, one for each group, in K
; Pressure coupling is on
;pcoupl = Parrinello-Rahman ; Pressure coupling on in NPT
;pcoupltype = isotropic ; uniform scaling of box vectors
;tau_p = 2.0 ; time constant, in ps
;ref_p = 1.0 ; reference pressure, in bar
;compressibility = 4.5e-5 ; isothermal compressibility of water, bar^-1
;refcoord_scaling = com
; Periodic boundary conditions
pbc = xyz ; 3-D PBC
; Dispersion correction
DispCorr = EnerPres ; account for cut-off vdW scheme
; Velocity generation
gen_vel = no ; Velocity generation is off
; Pull code
pull = yes
pull_ncoords = 2 ; only one reaction coordinate
pull_ngroups = 2 ; two groups defining one reaction coordinate
pull_nstxout = 10000
pull_nstfout = 10000
pull_xout_average = no
pull_fout_average = no
pull_group1_name = ILL
;pull_group1_pbcatom = 24294
pull_coord1_type = constraint ; a linear potential and therefore a constant force. For this option there is no reference position and therefore the parameters pull-coord1-init and pull-coord1-rate are not used.
pull_coord1_geometry = direction ; simple distance increase
pull_coord1_dim = Y N N ; pull along x
pull_coord1_groups = 0 1 ; groups 1 (Chain A) and 2 (Chain B) define the reaction coordinate
pull-coord1-origin = 1.033 0.0 0.0
pull_coord1_init = 0.0
pull_coord1_vec = 1.0 0.0 0.0
pull_coord1_start = yes ; define initial COM distance > 0
pull_coord1_rate = 0.001 ; 0.001 nm per ps = 1 nm per ns
pull_coord1_k = 602 ; kJ mol^-1 nm^-2
pull_group2_name = ILL
;pull_group2_pbcatom = 23864
;pull_group2_name = MON
;pull_group2_pbcatom = 10359
pull_coord2_type = constant-force ; a linear potential and therefore a constant force. For this option there is no reference ;position and therefore the parameters pull-coord1-init and pull-coord1-rate are not used.
pull_coord2_geometry = direction ; simple distance increase
pull_coord2_groups = 0 2 ; groups 1 (Chain A) and 2 (Chain B) define the reaction coordinate
pull_coord2_dim = N N Y ; pull along z
pull_coord2_origin = 0.0 0.0 7.874
pull_coord2_init = 0.0
pull_coord2_vec = 0.0 0.0 1.0
pull_coord2_start = yes ; define initial COM distance > 0
;pull_coord2_rate = -0.00001 ; 0.001 nm per ps = 1 nm per ns
pull_coord2_k = 602 ; kJ mol^-1 nm^-1
;pull_group3_name = MON
;pull_group3_pbcatom = 41021
;pull_group3_name = MON
;pull_group3_pbcatom = 10359
;pull_coord3_type = constraint ; a linear potential and therefore a constant force. For this option there is no reference position and therefore the parameters pull-coord1-init and pull-coord1-rate are not used.
;pull_coord3_geometry = direction ; simple distance increase
;pull_coord3_groups = 0 3 ; groups 1 (Chain A) and 2 (Chain B) define the reaction coordinate
;pull_coord3_dim = Y N N ; pull along z
;pull_coord3_origin = -0.222 0.0 0.0
;pull_coord3_init = 0.0
;pull_coord3_vec = 1.0 0.0 0.0
;pull_coord3_start = yes ; define initial COM distance > 0
;pull_coord3_rate = 0 ; 0.001 nm per ps = 1 nm per ns
;pull_coord3_k = 100000 ; kJ mol^-1 nm^-2
; Enforced rotation
;rotation = yes
;rot_nstrout = 10000
;rot_nstsout = 10000
;rot_ngroups = 1
;rot_group0 = ILL
;rot_type0 = iso
;rot_massw0 = no
;rot_vec0 = 0 1 0
;rot_pivot0 = 0 0 0
;rot_rate0 = 0
;rot_k0 = 10
;rot_fit_method0 = rmsd
freezegrps = MON ILL
freezedim = Y Y Y N N Y
;freezegrps = ILL
;freezedim = N N Y
;pull_coord1_init = 0.0
pull_pbc_ref_prev_step_com = yes