Electrostatics

Submitted by ravirasoon1991 on Fri, 03/13/2015 - 08:40

Hi all,

Can anyone help me in working with assigning external electric field ?
I could not find much information about this part, like how am I supposed to change the source code in setting the E-field direction?

Thank you.

ravirasoon1991 | Mon, 03/23/2015 - 05:25

I tried to create a region and assign external efield in one direction but it gives me an error " Invalid fix stlye "efield" ".

fix eff nve_group efield -1.0 0.0 0.0 reg

Can anyone please help me with this?

Thank you.

richti83's picture

richti83 | Mon, 03/23/2015 - 08:37

This fix is part of the MISC package. It is only enabled if LAMMPS was built with that package. (manual, bottom of doc/fix_efield.html)
in terminal

cd LIGGGHTS-PUBLIC/src/
make yes-MISC
make clean-all
make fedora -j

I'm not sure if fix efield is suitable for granular style, did not tried.
cheers,
Christian.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact