The velocity and density distribution in the poiseuille

Dear all,
After a week of attempt,I failed. im new to lammps. im create a 2d simulation model for poiseuille.But im not sure my model is right.

来自网易手机号码邮箱了解更多

来自网易手机号码邮箱了解更多

The velocity and density distributionin the poiseuille.png

The velocity and density distributionin the poiseuille.png

in.poiseuille (2.12 KB)

Nobody is likely to modify, edit or fix your script for you. I suggest you try as many options as possible and post specific questions about how to use particular LAMMPS commands.

Ray

The velocity and density distributionin the poiseuille.png

I use this:

The velocity and density distributionin the poiseuille.png

I use this:

The velocity and density distributionin the poiseuille.png

I use this:
--------------------------------------------------------------------------
compute computetemp flow temp/profile 1 1 0 y 200
velocity flow create 85 482748 dist gaussian

fix 1 flow nve
fix 2 flow temp/rescale 200 1 85 0.02 1.0
............
fix 11 flow ave/spatial 1 100 10000 y 11.7726 0.138 vx units box file
velocity.profle

-----------------------------------------------------------------------------
but I cann't get the parabolic velocity distribution,can you give me an
advice?

​ray already told you that a mailing list cannot be a substitute for
talking to your adviser (or some suitably experienced colleague designated
by your adviser)​. your problem is obviously a problem of the science and
not a LAMMPS problem, just throwing some random lines of your input at us
doesn't change this. it is often a matter of learning how to build a
simulation in stages to achieve a desired setup and the proper results. you
need to apply the scientific method (check the impact of each command and
the choice of parameters until you have found the right balance). if you
don't already know how to do this, then it is best done in dialogue with a
colleague. nobody here has the time to fill in for your adviser.

thank you for your understanding,
     axel.