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.
A project by DCS Computing and CFDEMresearch
This website uses cookies to ensure you get the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies. This website uses cookies. By continuing to browse the site you are agreeing to our use of cookies. More info
ravirasoon1991 | Mon, 03/23/2015 - 05:25
fix efield command not working
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 | Mon, 03/23/2015 - 08:37
You need to add MISC
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.