ClayCode generates clay mineral structures based upon their partially occupied unit cell compositions and assigns ClayFF force field parameters, generating all the input files ready for simulation with GROMACS software.