Mixed problem, no solution
Asked by
B. Emek Abali
setting a mixed space (velocity field v, pressure field p) as
V = VectorFunctionS
Q = FunctionSpace(mesh, 'DG', 0)
ME = MixedFunctionSp
and by describing
null = Constant(0.0)
class TopDrag(
def eval(self, vec, x):
vec[0] = 10.0
vec[1] = 0.0
vec[2] = 0.0
def dim(self):
return 3
vOnTop = TopDrag()
wanted to reach:
a given velocity on a subdomain (not here but defined in a proper way with compile_
DirichletBC(
zero velocity in one direction
DirichletBC(
and a given pressure on a subdomain
DirichletBC(
which I couldn't :)
Any sharp eyes where I am not thinking as FEniCS wants?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- B. Emek Abali
- Solved:
- Last query:
- Last reply:
To post a message you must log in.