Boundary conditions for more than one variable
Hi,
I would like to ask two questions on boundary conditions.
1. Is this possible to state boundary conditions for more than one variable? I mean we have
V = VectorFunctionS
U = VectorFunctionS
W = V*U
How to obtain conditition of a type u*v = 0 on boundary
DirichletBC( W.sub(0)*W.sub(1), Constant(0.0), on_boundary) ??? it works with plus + but I am not sure what is happening?
2. Imagine we have time dependent problem. How to use in boundary condition the solution from the previous time step
DirichletBC( W.sub(1), previous_
Thanks for any contribution,
minak
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask minak for more information if necessary.