Dear all,
I am trying to perform a MD simulation about the interaction between CO2 and a polymer.
I create my model, solvate it and perform the NVT and NPT equilibration.
Now I am not able to assign a velocity in one direction to the CO2 molecules.
I tried to restrain the position of my polymer atoms and to add in the md.mdp file the following lines in order to move the CO2 molecules:
gen_vel = yes ; assign velocities from Maxwell distribution
gen_temp = 500 ; temperature for Maxwell distribution
gen_seed = -1 ; generate a random seed
But the motion is completely random. Do you know how to generate the velocity of the CO2 molecules along one specific direction (such as the x-axis)?