Friction between solid and fluid

Dear sir.# # I want to create a simulation of fluid flow on a solid surface. I wrote an input script to allow fluids to flow over solids via lammps example. However, there is no friction between the solids and the fluids. I would like to set a no slip condition between them.# What commands do I need to set this condition?# # Thank you for reading my mail.

My input script

2d flow

dimension 2

boundary p p p

atom_style atomic

neighbor 0.3 bin

neigh_modify delay 5

create geometry

lattice hex 0.7

region box block 0 80 0 10 -0.5 0.55

create_box 2 box

create_atoms 1 box

mass 1 1.0

mass 2 1.0

LJ potentials

pair_style lj/cut 1.12246

pair_coeff * * 1.0 1.0 1.12246

define groups

region 1 block INF INF INF 1.25 INF INF

group lower region 1

group boundary union lower #upper

group flow subtract all boundary

set group lower type 2

initial velocities

compute mobile flow temp

velocity flow create 1 482748 temp mobile

fix 1 all nve

fix 2 flow temp/rescale 20 1.0 100.0 150 1.0

fix_modify 2 temp mobile

flow

velocity boundary set 0.0 0.0 0.0

fix 3 lower setforce 0.0 0.0 0.0

fix 6 flow addforce 5.0 0.0 0.0

Run

timestep 0.003

thermo 1000

thermo_modify temp mobile

dump 1 all atom 100 dump.flow.*

run 25000

Dear sir. I want to create a simulation of fluid flow on a solid surface.
I wrote an input script to allow fluids to flow over solids via lammps
example. However, there is no friction between the solids and the fluids.
I would like to set a no slip condition between them.What commands do I
need to set this condition?

​it is not about the commands it is about the design of your model.

you have a system where you use a repulsive only potential with a flat
surface, how much friction can there be with such a model in the first
place?

set up a more suitable model, and you will see more friction.

axel.