So the exact implementation will depend on how you choose to set up the domain, but the idea is this:
For dirichlet conditions on pressure you can do
# Define north boundary
def north(x):
return x[0] > 1.0 - DOLFIN_EPS
# Define south boundary
def south(x):
return x[0] < DOLFIN_EPS
# Define boundary condition
P0 = Constant(80)
bcnorthp = DirichletBC(U.sub(1), P0, north)
Where I assume that the pressure is the second component in the mixed space.
I'm fairly sure that since you have split the second order equation into two first order equations you can impose the flux strongly as above:
# Define boundary condition
g = Constant(1.39*10^-9)
bcsouthu = DirichletBC(U.sub(0), g, south)
If you wanted to impose this weakly you would need to mark the boundaries following the method in the ninth documented demo - https://fenicsproject.org/documentation/dolfin/1.1.0/python/demo/pde/subdomains-poisson/python/documentation.html