Hi,
consider
DirichletBC(V.sub(1), Constant(1.), top)
where top is your function for the top boundary and you can change the constant to be any value you like.
Best
Hi,
consider
DirichletBC(V.sub(1), Constant(1.), top)
where top is your function for the top boundary and you can change the constant to be any value you like.
Best