Dear Users,
I am simulating interfacial behaviour of liquids (fluids) on a solid surface. Initially, I ran my simulations keeping the surface rigid using setforce 0 0 0 for the surface atoms(groups), and initializing velocities only to the fluid group. During the simulation, I only considered the fluid -solid cross interaction due to vdw, as well as electrostatic interactions. I kept the interactions within the surface atoms themselves off using neigh_modify exclude molecule/intra. Simulations ran fine, with negative potential energy in NVT, in timestep of 2fs.
As soon as I change my surface to a flexible one from a rigid one using fix spring/self with a high spring constant, along with initializing velocities in all the group of atoms (surface+fluid), I get bond atoms missing error, as well as a very high potential energy. I also tried with timestep 1fs with and without keeping neigh_modify excluded for the surface, and for both the cases, the temperature of the whole system is fluctuating abruptly (for example, if I run simulation at 300K, temperature is touching 400K at some time steps), which distorts the actual dynamics of the system.
#Commands used in the first case#
neighbour 2.0
neigh_modify delay 0 every 1 check yes
neigh_modify exclude molecule/intra surface
timestep 2.0
velocity fluid create 12345 300
fix bal all balance 10000 1.05 shift z 100 1.05
fix sf surface setforce 0 0 0
fix 1 fluid nvt 300 300 100
#Commands used in second case#
neighbour 2.0
neigh_modify delay 0 every 1 check yes
neigh_modify exclude molecule/intra surface (off/on)
timestep 2.0 (1.0)
velocity all create 12345 300
fix bal all balance 10000 1.05 shift z 100 1.05
fix sf surface spring/self 1000
fix 1 all nvt 300 300 100
Is there any remedy to tackle that? Thanks in advance…
With Kind Regards,
Prateek.