I am trying to run a production run of 1 nano second in NAMD. Everything is OK till first few hundred Picoseconds. But after that my protein runs out of water-box. please have a look at frames of trajectory that shows how it escapes the water box. It looks very awful while visualizing the trajectory. It is understandable if a little portion of protein pokes out of box and we can assume that it might interact with water molecules in neighboring periodic image since we are using periodic boundary conditions. But complete escape of protein out of solvent box really concerns me. I am also pasting the content of my production run configuration file here.
My question is that is there any way or method by which I can limit my protein to stay inside the water box till simulation finishes. I also quite don't understand why my system is behaving this way because the protein remains well inside the box during equilibration stage. Your suggestion for my problems are highly appreciable!
Content of configuration file:
##############################################
#### input topology and initial structure ####
##############################################
structure 0301_AVTPTVATR.psf
coordinates 0301_AVTPTVATR_equil010.coor
###########################
#### force field block ####
###########################
paratypecharmm on
parameters forcefield
exclude scaled1-4
1-4scaling 1.0
dielectric 1.0
##############################################
#### dealing with long-range interactions ####
##############################################
switching on
switchdist 10.0
cutoff 12.0
pairlistdist 14
margin 2.5
stepspercycle 20
rigidBonds all
#######################################################
#### this block specifies the Ewald electrostatics ####
#######################################################
PME yes
PMEGridSpacing 1.0
PMEGridSizeX 90
PMEGridSizeY 86
PMEGridSizeZ 100
####################################################################
#### this block specifies the parameters for integrator and MTS ####
####################################################################
timestep 2.0
fullElectFrequency 2
####################################################################
######## this block determines the output ##########################
####################################################################
outputenergies 100
outputtiming 100
binaryoutput no
outputname 0301_AVTPTVATR_quench010
restartname 0301_AVTPTVATR_restart_quench010
restartfreq 500
binaryrestart no
DCDfile 0301_AVTPTVATR_quench010.dcd
dcdfreq 500
####################################################################
####################### MD protocol block ##########################
####################################################################
seed 3010
numsteps 500000
temperature 300
####################################################################
######## this block defines periodic boundary conditions ###########
####################################################################
cellBasisVector1 87.72 0.0 0.0
cellBasisVector2 0.0 83.14 0.0
cellBasisVector3 0.0 0.0 97.76
cellOrigin 3.60659217834 -1.9387652874 4.90524196625
wrapWater on