raise StandardError : "no dump file specified"

Submitted by tulasiram on Wed, 10/16/2013 - 03:03

Hi,

I am trying to simulate the following code, but when I entered dump command xyz(dump("dump*")).many()
It is showing that no dump file specified . Please tell me where it went wrong.

units real
dimension 2
boundary p s p

atom_style atomic
neighbor 2.0 bin
neigh_modify delay 5

# Create Geometry
region boundary block 0 100 0 80 -0.25 0.25 units box
create_box 3 boundary
mass 1 60.1
mass 2 60.1
mass 3 60.1

# Atom Regions
lattice hex 4.9
region sub_bot block INF INF INF 2 INF INF units box
region sub block INF INF INF 20 INF INF units box

lattice hex 4.9
region part sphere 50 50 0 30 units box

# Create Atoms
create_atoms 1 box
create_atoms 2 box

# LJ potentials
pair_style lj/cut 2.5
pair_coeff * * 0.3000 1.9123 4.78075

# Define Groups
group part region part
group sub_bot region sub_bot
group sub region sub
group mobile subtract all sub_bot

set group sub_bot type 3

# Initial velocities
compute newtemp mobile temp/partial 1 1 0

velocity mobile create 101 482748 units box

timestep 0.0001
thermo 5
thermo_modify temp newtemp
run 2000

# Fixes
fix 1 all enforce2d
fix 2 all nve
fix 3 sub_bot setforce 0.0 0.0 0.0
# fix 4 mobile temp/rescale 0.1 0.1 10 0.001 1

# dump 1 mobile atom 250 dump.sample
displace_atoms part move 0 -2.0 0 units box
# dump 2 mobile image 100 image.*.jpg type type1
timestep 0.01
thermo 50
thermo_modify temp newtemp
run 1000