Is there a way to constraint only say the 3rd component of a vector field at the boundary?
For example, I can fix all the components of a 3-dimensional vector field by doing :
bc1 = DirichletBC(V, (0, 0 ,0), boundary)
But is there a way to say constraint only the 3rd component and not the other components ?
Thanks!!