Unverified Commit d739e017 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

tweak examples to be shorter/faster

parent 4c8a8579
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ dump traj all custom 250 2d_active.dump.bin id type x y z

thermo_style custom time step pe ke etotal temp
thermo 1000
run 25000
run 5000

group one type 1
group two type 2
@@ -36,19 +36,19 @@ group two type 2
compute ke1 one ke
compute ke2 two ke

thermo_style custom time step pe ke etotal temp c_ke1 c_ke2
thermo_style custom step pe ke etotal temp c_ke1 c_ke2

fix active all propel/self velocity 1.0

# With active force there is more motion so increase bin size:
neighbor 1.0 bin
run 25000
run 10000

# Only make type 1 active:
fix active all propel/self velocity 1.0 types 1

# With active force there is more motion so increase bin size:
neighbor 1.0 bin
run 25000
run 10000

+3 −3
Original line number Diff line number Diff line
@@ -25,13 +25,13 @@ neighbor 0.6 bin

dump traj all custom 250 2d_active.dump.bin id type x y z

thermo_style custom time step pe ke etotal temp
thermo_style custom step pe ke etotal temp
thermo 1000
run 25000
run 10000

fix active all propel/self velocity 1.0
fix fric all viscous 1.0

# With active force there is more motion so increase bin size:
neighbor 1.0 bin
run 25000
run 10000
+3 −3
Original line number Diff line number Diff line
@@ -29,12 +29,12 @@ neighbor 0.6 bin

dump traj all custom 100 3d_active.dump.bin id type x y z fx fy fz

thermo_style custom time step pe ke etotal temp
thermo_style custom step pe ke etotal temp
thermo 100
run 5000
run 500

fix active all propel/self quaternion 1.0

# With active force there is more motion so increase bin size:
neighbor 1.0 bin
run 5000
run 500