A molecular simulation technique for the efficient energy-based placem
ent of cations within a matrix is described. The method is based on th
e use of non-bonded energy grids and rapid grid operations and is show
n to reproduce known cation distributions efficiently. Results are rep
orted for a range of inorganic and microporous materials.