Hello everyone.
I have a problem, I wanted to simulate hydrated montmorillonite. I created a montmorillonite model from a pyrophyllite lattice through a python script, replaced aluminum atoms with magnesium atoms through a randomizer and added sodium ions, tried to compensate for the charge and pulled apart the layers to place water in LAMMPS through create_atoms. After placing the water molecules and attempting to relax the system, the lattice bent and tore.
I suspect the issue originates either from a geometric distortion introduced during the triclinic matrix transformation in Python (when mapping manual Cartesian shifts along the tilt vector onto the expanded cell matrix), or from an incorrect minimization protocol in LAMMPS that fails to handle the initial water-clay overlaps safely.
I have attached a snapshot of the corrupted structure, along with my input files and the log.lammps file showing the extreme forces at the start of the simulation.
Could anyone review my workflow or suggest a foolproof minimization/restraint protocol for CLAYFF to prevent the clay layers from exploding under initial water overlap? Any guidance would be highly appreciated!
Best regards, E0FF