create atoms different youngsModulus

Submitted by jikra on Sun, 09/11/2011 - 23:13

Hi

i need create 2 atoms with different youngsModulus parametr.

i try this:

fix m1 all property/global youngsModulus peratomtype 5.e7 5.e6

create_atoms 1 single 0.0 0.0 10.0
set atom 1 density 2000 diameter 2.0

create_atoms 2 single 5 0.0 10.0
set atom 2 density 2000 diameter 2.0

So i get that ERROR: Invalid atom type in create_atoms command
What's wrong?

Thanks
jikra

ckloss's picture

ckloss | Mon, 09/12/2011 - 07:53

the manual says for this message: The create_box command specified the range of valid atom types. An invalid type is being requested. i.e. you have to specify the # of atom types you want to use in the create_box command
Christoph