Surface Charge

Hi All,

Is there a way to create surface charge on a block of metal atoms without giving charge to each of the metal atoms individually?

Hi All,

Is there a way to create surface charge on a block of metal atoms without giving charge to each of the metal atoms individually?

If you can express the charge value in some geometry/location dependent formula, you could define an atom style variable and then use that for setting the charge.