Modelling of environmental effects on clay permeability