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

33 lines
979 B
Plaintext

variable tag string ref
log log.lammps_${tag}
atom_style full
units real
bond_style harmonic
angle_style harmonic
include "p3m3dc.settings"
boundary p p f
pair_style lj/cut/coul/long 16 16
#processors * * 2
read_data "cap.data"
include "cgil.settings"
neigh_modify check no # force neighbor list rebuild for cost testing
#dump alldump all custom 1000 all_${tag}.lammpstrj id mol type x y z q
fix fxnvt electrolyte nvt temp 500.0 500.0 100.
fix fxupdate bot electrode/conp -1.0 1.979 couple top 1.0 symm on
variable q atom q
compute qtop top reduce sum v_q
compute qbot bot reduce sum v_q
compute qall ele reduce sum v_q
compute ctemp electrolyte temp
fix print all print 10 "$(step:%8.3g) $(c_qtop:%20.15e) $(c_qbot:%20.15e)" file ${tag}.csv screen no title "#Fix electrode equal-style variable test setting = etypes"
thermo 10
timestep 2.5
thermo_style custom step c_ctemp epair etotal c_qtop c_qbot c_qall
run 50