GROMACS version: 2021
GROMACS modification: No
Here post your question
I am trying to obtain the tensile stress–strain curve for a polymer by performing uniaxial elongation in the z-direction. Below is the .mdp file with the input parameters. Since the elongation is applied along the z-direction, I expect the pressure to increase in z, while the x and y directions should maintain constant pressure. However, what I observe is that the pressure remains the same in all three directions. As a result, the stress–strain plot I obtain is flat. I have attached the plot below. Could you please help me understand where I might be going wrong?
title = OPLS
integrator = md
nsteps = 5000000
dt = 0.002
; Output control
nstenergy = 5000
nstlog = 5000
nstxout-compressed = 5000
compressed-x-grps = System
; Bond parameters
continuation = yes
constraint_algorithm = lincs
constraints = h-bonds
lincs_iter = 1
lincs_order = 4
; Nonbonded settings
cutoff-scheme = Verlet
ns_type = grid
nstlist = 10
rcoulomb = 1.0
rvdw = 1.0
DispCorr = EnerPres
; Electrostatics
coulombtype = PME
pme_order = 4
fourierspacing = 0.16
; Temperature coupling is on
tcoupl = V-rescale
tc-grps = system
tau_t = 0.1
ref_t = 300
; Pressure coupling is on
pcoupl = Berendsen
pcoupltype = semiisotropic
tau_p = 1.0
ref_p = 1.0 0.0
compressibility = 4.5e-5 0.0
deform = 0.0 0.0 0.0005 0.0 0.0 0.0
refcoord_scaling = com
; Periodic boundary conditions
pbc = xyz ; 3-D PBC
; Velocity generation
gen_vel = no ; Velocity generation is off