Files
lammps/examples/PACKAGES/reaction/tiny_polystyrene/in.tiny_polystyrene.stabilized
2024-05-21 19:40:28 -04:00

61 lines
1.4 KiB
Plaintext

# 20 styrene molecules
# three reactions defined
units real
boundary p p p
atom_style full
kspace_style pppm 1.0e-4
pair_style lj/class2/coul/long 8.5
angle_style class2
bond_style class2
dihedral_style class2
improper_style class2
special_bonds lj/coul 0 0 1
pair_modify tail yes mix sixthpower
variable T equal 530
read_data tiny_polystyrene.data &
extra/bond/per/atom 5 &
extra/angle/per/atom 15 &
extra/dihedral/per/atom 15 &
extra/improper/per/atom 25 &
extra/special/per/atom 25
molecule mol1 2styrene_unreacted.molecule_template
molecule mol2 2styrene_reacted.molecule_template
molecule mol3 chain_plus_styrene_unreacted.molecule_template
molecule mol4 chain_plus_styrene_reacted.molecule_template
molecule mol5 chain_chain_unreacted.molecule_template
molecule mol6 chain_chain_reacted.molecule_template
thermo 100
# dump 1 all xyz 5 test_vis.xyz
# dump_modify 1 types labels
fix rxn1 all bond/react stabilization yes statted_grp .03 &
react rxn1 all 1 0 3.0 mol1 mol2 2styrene_map stabilize_steps 100 &
react rxn2 all 1 0 3.0 mol3 mol4 chain_plus_styrene_map stabilize_steps 100 &
react rxn3 all 1 0 5.0 mol5 mol6 chain_chain_map stabilize_steps 100
fix 1 statted_grp_REACT nvt temp $T $T 100
fix 4 bond_react_MASTER_group temp/rescale 1 $T $T 1 1
thermo_style custom step temp press density f_rxn1[*]
run 10000
# write_restart restart_longrun nofix
# write_data restart_longrun.data