fix efield

Hello,

What are the force fields that can be used with “fix efield” ? Are there some example files using electric field ?

Hello,

What are the force fields that can be used with "fix efield" ? Are there

fix efield requires atoms to have a charge assigned.
whether that charge is used somewhere else is not
considered. so in principle, it can be used with
almost anything.

some example files using electric field ?

fix efield is so trivial that the example in
the documentation should do. fix efield is
nothing else by a constant force that is
scaled by the value of the charge that is
assigned to to an atom.

axel.

But how to assign charges to atom ?

But how to assign charges to atom ?

how long have you been using LAMMPS?

don't you feel embarrassed to ask a question
to a mailing list this trivial?

try this url to find some help:

http://lmgtfy.com/?q=assign+charge+lammps

axel.