Hi all
I used fix vector and I face with:
ERROR: Invalid fix style (…/modify.cpp:714)
Which package I should install in order to be able to use from fix vector???
Than you so much.
Hi all
I used fix vector and I face with:
ERROR: Invalid fix style (…/modify.cpp:714)
Which package I should install in order to be able to use from fix vector???
Than you so much.
Hi all
I used fix vector and I face with:
ERROR: Invalid fix style (../modify.cpp:714)Which package I should install in order to be able to use from *fix
vector*???
none.
What do you mean by none? So what should I do now?
What do you mean by none?
what is there to misunderstand??
fix vector is not an optional feature. no package needs to be installed.
thus if you ask "which package to install?", the correct answer is "none".
So what should I do now
i can't say. everything that comes to my mind at the moment would be
considered politically incorrect, if not offensive.
So whats the problem with this code(which is lammps own codein DIFFUSE folder.
it gives me the error like this:
ERROR: Invalid fix style (…/modify.cpp:714)
What should I do now???
That code is as below:
variable x equal 40
variable y equal 40
variable rho equal 0.6
variable t equal 1.0
variable rc equal 2.5
units lj
dimension 2
atom_style atomic
neigh_modify delay 0 every 1
lattice sq2 ${rho}
region simbox block 0 $x 0 y -0.1 0.1
create_box 1 simbox
create_atoms 1 box
pair_style lj/cut {rc}
pair_coeff * * 1 1
mass * 1.0
velocity all create $t 97287
fix 1 all nve
fix 2 all langevin $t $t 0.1 498094
fix 3 all enforce2d
thermo 1000
run 5000
unfix 2
reset_timestep 0
compute msd all msd com yes
variable twopoint equal c_msd[4]/4/(stepdt+1.0e-6)
fix 9 all vector 10 c_msd[4]
variable fitslope equal slope(f_9)/4/(10dt)
thermo_style custom step temp c_msd[4] v_twopoint v_fitslope
#dump 1 all custom 1 tmp.dump id type vx vy vz
#dump 2 all image 100 image.*.jpg type type zoom 1.6 adiam 1.2
thermo 1000
run 10000000
If you type lmp_machine -h you should
be able to verity that “fix vector” had been
compiled into your executable.
Steve