When streamlines are parallel the pressure is constant across them, except for hydrostatic head differences (if the pressure was higher in the middle of the duct, for example, we would expect the streamlines to diverge, and vice versa). If we ignore gravity, then the pressures over the inlet and outlet areas are constant. Along a streamline on the centerline, the Bernoulli equation and the one-dimensional continuity equation give, respectively,