I have a trouble with initialising Poiseuille velocity profile on the inlet. I have a rectangular channel with Poiseuille inflow on the left side and pressure outflow conditions on the right. But I get just a constant velocity at the inflow .
Here is my code (I simplified my problem for this purpose to make it more readable): https://drive.google.com/file/d/1ypBYH3nUcKRaAgWonMrSUjfr-wOiX9ZH/view?usp=sharing
I suppose there is some trivial mistake which I overlook, thank you for every help.
is there any particular reason you changed the original line
T distance2Wall = converter.getConversionFactorLength();
to
T distance2Wall = converter.getLatticeLength(ly0_new/2.);
?
In any case, in your setup this results in a deformed poiseuille profile giving you the impression of a constant value. Just restore the line to its original version and it will probably work the way you intended it to.