Dear lammps users,
Now I’m using fix deform and Sllod to simulate a shear flow.
Using the code shown below, I can get a linear velocity profile and the velocity of the fluid ranges from 0 to 10, for instance.
Fig.1 is the velocity profile I can obtain now.
My question is how can I get a velocity profile in which the velocity ranges from -5 to 5?
Fig.2 is the velocity profile I want to obtain.
My code is like:
fix 2 all nvt/sllod temp 300.0 300.0 0.1
fix 3 ar deform 1 xy erate 0.1 remap v
I’m looking forward to having your help.