The simulation runs fine, except that every time I run it, 0 atoms for co2 is created and I can’t figure out why.
Here’s my code to create my region and atoms.
region total block INF INF INF INF INF INF units box
region mid block INF INF INF INF 600 800 units box
molecule c14 c14.data
molecule co2 co2.data boff 1
#lattice fcc 30 origin 1 0.4 0.4
neigh_modify delay 0 every 1 check yes
delete_atoms group all
create_atoms 1 random 1246 102486 total mol c14 102486
create_atoms 2 random 1246 80000 total mol co2 80000
The simulation runs fine, except that every time I run it, 0 atoms for co2 is created and I can’t figure out why.
how should anybody else without a crystal ball? there is not enough information here to say anything, let alone reproduce what you are seeing in order to try and understand.
compute cco2 co2 chunk/atom bin/1d z lower 4.0
fix roco2 co2 ave/chunk 100 10 1000 cco2 density/mass norm all ave running overwrite file roco2.profile
fix roco2w co2 ave/chunk 100 10 1000 cco2 density/mass norm all ave window 50 file roco2w.profile
compute call all chunk/atom bin/1d z lower 4.0
fix roall all ave/chunk 100 10 1000 call density/mass norm all ave running overwrite file roall.profile
fix roallw all ave/chunk 100 10 1000 call density/mass norm all ave window 50 file roallw.profile
run 50000
This is the entire code
The simulation runs fine, except that every time I run it, 0 atoms for co2 is created and I can’t figure out why.
how should anybody else without a crystal ball? there is not enough information here to say anything, let alone reproduce what you are seeing in order to try and understand.
this is just as useless. please do read the “guidelines” and specifically follow points 3 and 9. otherwise your chances of getting help will be very close to zero.