The cnt.dat file has been attached (a part of the studied structure to reduce the size of the dat file). The lammps dat file has been created through the writelammpsdata in VMD .
dimension 3
boundary p p f
units real
atom_style atomic
neighbor 0.4 bin
neigh_modify delay 5
lattice fcc 4.0
######Data file######################################
read_data cnt.dat
######Regions########################################
region upper_container block 3.477263 70.522736 5.777263 77.922737 80 150 side in units box
#####Define Gases####################################
create_atoms 2 random 2000 38790 upper_container #
create_atoms 3 random 2000 38792 upper_container #
group tube type 1
group CO2 type 2
group CO type 3
group gas union CO2 CO
############Potentials################################
pair_style lj/cut 20.0
pair_coeff * * 0.0 3.0 0.0
pair_coeff 1 1 0.086 3.4 0.0 ###if I change 0.0 to somehting else it gives Nan and Inf.
pair_coeff 2 2 0.468781 3.454 9.0
pair_coeff 3 3 0.065 3.920 9.0
pair_coeff 1 2 0.2007863 3.427 9.0
pair_coeff 1 3 0.0747663025 3.66 9.0
pair_coeff 2 3 0.174558772 3.687 9.0
###############INITIALIZATION########################
velocity CO2 create 300.0 4928459 dist gaussian
velocity CO create 300.0 4928459 dist gaussian
fix zUpperWall all wall/reflect zhi EDGE units box
fix zLowWall all wall/reflect zlo EDGE units box
cnt.dat (8.64 KB)