error in simple prog.

ERROR: Unknown fix style lb/fluid (…/modify.cpp:898)
Last command: fix 1 FluidAtoms lb/fluid 3 1 0.023333333 0.0000166368 setArea 2 0.20525 dx 1.0 dm 0.0000166368 noise 300.0 15003

for following program .

units nano
dimension 3
boundary p p p
atom_style hybrid molecular
special_bonds fene
read_data data.polymer

neighbor 0.5 bin
neigh_modify delay 0 every 1 check yes
neigh_modify exclude type 2 2
neigh_modify exclude type 2 1

bond_style fene
bond_coeff 1 60.0 2.25 4.14195 1.5
pair_style lj/cut 1.68369
pair_coeff 1 1 4.14195 1.5 1.68369
pair_coeff 1 2 4.14195 1.5 1.68369
pair_coeff 2 2 0 1.0

mass * 0.000000771064
timestep 0.00003

group ForceAtoms type 1
group FluidAtoms type 2

fix 1 FluidAtoms lb/fluid 3 1 0.023333333 0.0000166368 setArea 2 0.20525 dx 1.0 dm 0.0000166368 noise 300.0 15003

fix 2 FluidAtoms lb/viscous
fix 3 all rigid molecule

fix 4 all lb/momentum 10000 linear 1 1 1

dump 1 ForceAtoms custom 2000 dump.polymer_default_gamma.lammpstrj id x y z vx vy vz
run 2000001

unknown XXX style usually means, that either you have a typo in your input or you are using a LAMMPS executable, that does not include the LAMMPS package providing the corresponding style. you can look up in the documentation under “Restrictions” which package a specific style belongs to. and you can check what is included by running your LAMMPS executable with the -h or -help flag. again, for details on this, please consult the LAMMPS manual.

axel.

Hello,

fix lb/fluid command is part of the USER-LB package.

make sure that this fix style is installed by checking lmp_serial -h command output.

Hope this helps.

Charlotte

signature.png