Hi all,
I am simulating a liquid system.
I am trying to calculate the RDF of particular atom pairs. I followed what the manual says and set up calculation for RDF.
But I am getting this error:
ERROR: Fix ave/time compute does not calculate a scalar
If I change the mode to vector it says the opposite ( Fix ave/time compute does not calculate a vector).
I get similar remarks when I try to compute center of mass (compute ID com and output as c_ID in thermo style output.)
Can anyone suggest me what could be wrong ?
I have attached my input file.
Thanks for any suggestions
Mousumi
INPUT FILE
clear
units real
#Defining the different potential types
pair_style lj/cut/coul/cut 15 15
#kspace_style pppm 0.0001
atom_style full
angle_style harmonic
bond_style harmonic
dihedral_style harmonic
improper_style cvff
#Data Reading and neighbouring information
neighbor 2.0 bin
neigh_modify delay 0 every 1 check yes
#neigh_modify every 2 delay 4 check yes page 100000000
read_restart restart_IL.298
pair_modify shift yes mix arithmetic
#Setting MD parameters
timestep 1.0
fix 3 all npt temp 298 298 100.0 iso 1.0 1.0 1000.0 couple xyz
compute myRDF all rdf 50 8 8 4 4 8 4
fix 4 all ave/time 100 1 100 c_myRDF file tmp.rdf mode scalar
dump 1 all custom 100 trj_rdf.298 type q xu yu zu vx vy vz
thermo_style custom step etotal pe vol
thermo 100
run 250
write_restart restart_rdf.298
unfix 3
unfix 4
undump 1