set boundary condition for one component of a vector variable
Asked by
tedlai
V = VectorFunctionS
Q = FunctionSpace(mesh, "CG", 1)
W = V + Q
noslip = Constant((0, 0))
bc0 = DirichletBC(
In the above code, when I set the noslip dirichletBC for a boundary,
W.sub(0) represent a vector of two component,
can I just set only one component to zero, but left another component to be Newmann BC?
In this way, how can I writh it ?
perhaps it is a stupid quesion, anyway, I am quite new comer.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Garth Wells
- Solved:
- Last query:
- Last reply:
To post a message you must log in.