how to create a velocity profile in a NEMD shear flow?

Hi Dears
I want to got velocity profile in a NEMD shear flow. There are three examples to create a shear flow in LAMMPS, they are in folder
“lammps-> examples”
titled :
“in.nemd”,“in.shear”,“in. flow”
my case is similar to “in.flow” example,But I don’t know how can I create a velocity profile in this example?
What is the difference between “in.nemd” and “in.flow”?
thanks

flow/in.flow is a Couette or Poisseulle flow between
explicit walls.

shear/in.shear is not a flow, it's deformation of a solid

nemd/in.nemd is standard non-equil MD with a sheared
periodici box inducing a flow (no walls).
That's probably the one you want.

Steve