about the choice of clay mineral kspace and pair_style

Dear all,

I am using lammps to simulate clay minerals.
Because montmorillonite belongs to the triclinic system, kspace chooses pppm and ewald to have such an error: “ERROR: KSpace style does not yet support triclinic geometries (…/kspace.cpp: 164)”.
I would like to ask you how to set kspace and pair_style when simulating clay minerals with lammps?

Dear all,
I am using lammps to simulate clay minerals.
Because montmorillonite belongs to the triclinic system, kspace chooses pppm and ewald to have such an error: "ERROR: KSpace style does not yet support triclinic geometries (../kspace.cpp: 164)".

what version of LAMMPS are you using? kspace styles pppm and ewald in
LAMMPS support triclinic cells for about 5 years!

I would like to ask you how to set kspace and pair_style when simulating clay minerals with lammps?

this has *nothing* to do with clay materials, only your input
geometry. you can always use a sufficiently large supercell, to
convert a non-orthogonal cell into an orthogonal cell (which is likely
a good idea in the first place, because is simplifies a lot of the
pre- and post-processing).

axel.