How to define 'Expression' for one DoF for a vector-valued problem?

I would suggest apply a Dirichlet condition on the appropriate sub spaces. Something along these lines is shown in: Initial Conditions for mixed Element - #10 by dokken

2 Likes