Plane Poiseuille flow

Hello, I am currently trying to run pressure driven (-dPds) Poiseuille flows, in the installation, it says :

The following example simulates a pressure driven (-dPds) Poiseuille flow (-Uwall 0) at the Reynolds number 1000 using a 1st order forward-backward euler scheme as initial time stepping algorithm (-is).

simulateflow -R 1000 -Uwall 0 - dPds -0.002 -is SBDF1 newfield.nc

I am a bit confused of the `-dPds -0.002 as I would expect that by fixing the Reynolds the code would already know the required pressure drop. ```

Hello,
ChannelFlow uses an influence-matrix method to accurately solve the Helmholtz equations. Because the domain is periodic, the pressure is defined only up to an additive constant, and the pressure gradient must therefore be constrained. This can be achieved either by prescribing the mean bulk velocity or by fixing the mean pressure gradient; both choices are equivalent.

For reference you can check :

For no-slip plane Poiseuille flow the bulk velocity and pressure gradient are tied by U_bulk = (-dPds) h²/(3 μ), with h the channel half-height. So -dPds is not an extra independent parameter once the viscosity and geometry are fixed; it is the constraint that selects the pressure-driven solution. The example’s -0.002 is chosen to give that pressure-driven case at the stated Re. For a different Re, adjust -dPds accordingly or impose the bulk velocity instead.