Files
lammps/examples/PACKAGES/electrode/example/conp.in
Ludwig Ahrens-Iwers 65be564cd6 Review akohlmey
2022-04-05 15:35:04 +00:00

31 lines
803 B
Plaintext

atom_style full
units real
bond_style harmonic
angle_style harmonic
# Select one file for kspace settings
include "p3m3dc.settings"
# include "ew3dc.settings"
# include "ew2d.settings"
boundary p p f
pair_style lj/cut/coul/long 15 12
processors * * 2
read_data "cap.data"
include "mw.settings"
dump alldump all custom 1000 all.lammpstrj id mol type x y z q
fix fxnvt electrolyte nvt temp 298.0 298.0 241
fix fxupdate bot electrode/conp -1.0 1.805132 couple top 1.0 write_inv fix_inv.csv symm on
compute q ele property/atom q
compute qtop top reduce sum c_q
compute qbot bot reduce sum c_q
compute qall ele reduce sum c_q
compute ctemp electrolyte temp
thermo 100
thermo_style custom step c_ctemp epair etotal c_qtop c_qbot c_qall
run 200