Hello lammps-users,
I am simulating methane and water in a cube of 20 Angstrom to study their interactions. For first attempt, I tried ‘fix 1 rigid/npt …’
- Any intra molecular interactions are not to be considered.
- I have considered both hydrogens (in water and methane) as distinct i.e. different atom types.
- The energy shoots to infinity after certain steps.
What am I doing wrong?
Questions:
- Are the atoms placed too close? ( I have tried with different box sizes varying from 10 angstrom to 30 angstrom)
- What is the difference between ‘fix 1 all rigid/npt molecule temp 283.0 283.0 1.0 iso 30.0 30.0 10.0’ and 'fix 2 rigid/npt/small … '. reading the documentation does not help much. If I use ‘fix 1 all rigid/npt/small molecule temp 283.0 283.0 1.0 iso 30.0 30.0 10.0’ … still the energy gets ‘nan’ after certain steps.
- Is it a right way to define rigid molecules? However I don’t get any error with ‘fix rigid/npt’ command. Still, the energy is ‘nan’. (but no ERROR)
- Visualising the molecule via VMD show the Hydrogen running away after certain steps (possibly when energy is nan?)
Please find the files below.
input file