[lammps-users] ERROR: Use of velocity with undefined lattice

Hi all
I am using lammps velocity to simulate a confined shear loading process.
The initial geometry is defined in a data. file, not using lattice command.
Everything runs good, but got a problem with velocity command.

Please see the following error notice:

shear loading

velocity upbound1 set 1.0 0.0 0.0 sum no units box^M
velocity mobile ramp vx 0.0 1.0 z 5.0 15.0 sum yes
ERROR: Use of velocity with undefined lattice

The upper and lower wall are made by polymers in my model, not by structured lattice.
I checked the velocity command in lammps manu. There is no restriction with velocity command.
Can anyone help me fix this problem? Thanks.

Yang

in.test_velocity (2.25 KB)

Hi all
I am using lammps velocity to simulate a confined shear loading process.
The initial geometry is defined in a data. file, not using lattice command.
Everything runs good, but got a problem with velocity command.

Please see the following error notice:

### shear loading
velocity upbound1 set 1.0 0.0 0.0 sum no units box^M
velocity mobile ramp vx 0.0 1.0 z 5.0 15.0 sum yes
ERROR: Use of velocity with undefined lattice

The upper and lower wall are made by polymers in my model, not by structured
lattice.
I checked the velocity command in lammps manu. There is no restriction with
velocity command.
Can anyone help me fix this problem? Thanks.

open your eyes!!

the first velocity line seems to work, the second doesn't
with the error message. now all you need to do is to compare
the two lines with the documentation and understand where is
the significant difference and how this relates to the definition
of a lattice. the solution is so trivial, that i leave it to you as an
exercise.

axel.