[lammps-users] simulating a 2d horizontal granular particles

Dear all,

I want to simulate a 2d horizontal box filled with granular particles. I
use this command for making region:
"region cell block -10 10 -10 10 -0.25 0.25 units box "

for inserting 100 atoms randomly as initial condition, I wrote this command:
"fix ins all pour 100 1 300719 region cell "
Does fix pour command insert atoms in first timestep to create an initial
condition?

Now I need to insert an oscillatory force in x-dimension and also I want
to regard the frictional interaction between particles and bottom and top
planes, i.e. xy plane that are located in z=-0.25 and z=0.25.

Are the folowing commands do this things correctly and where should I
write them in my program, after create box command or after pair_style
command or ...?

"fix zwalls all wall/gran zplane -0.25 0.25 100.0 0 "
"fix 2 all wiggle x 3.0 0.5"
When I run these commands, I recieved this error.
"ERROR: Invalid fix style"

Thanks,
Robabeh

Answers below.

Steve

Dear all,

I want to simulate a 2d horizontal box filled with granular particles. I
use this command for making region:
"region cell block -10 10 -10 10 -0.25 0.25 units box "

for inserting 100 atoms randomly as initial condition, I wrote this command:
"fix ins all pour 100 1 300719 region cell "
Does fix pour command insert atoms in first timestep to create an initial
condition?

No, it inserts them over time - have you read the doc page?

Now I need to insert an oscillatory force in x-dimension and also I want
to regard the frictional interaction between particles and bottom and top
planes, i.e. xy plane that are located in z=-0.25 and z=0.25.

Are the folowing commands do this things correctly and where should I
write them in my program, after create box command or after pair_style
command or ...?

It doesn't matter = see doc/Section_commands.html ,section 3.1

"fix zwalls all wall/gran zplane -0.25 0.25 100.0 0 "
"fix 2 all wiggle x 3.0 0.5"
When I run these commands, I recieved this error.
"ERROR: Invalid fix style"

There is no fix wiggle command in the current version of LAMMPS.
The fix wall/gran command has a wiggle option, which is explained
on its doc page. It sounds as if you will need to use
the wall/gran command twice. Once for your end walls, once for
your bottom/top walls.