dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03729
DiscreteFunction evaluation in BoundaryCondition
Hey hey,
I'm working on ALE in dolfin.
My code uses a discrete function for the mesh velocity,
this means that the function can only be evaluated at vertices.
Problem is that, when we specify a boundary condition, all we receive
are points and not vertices.
But for the proper calculation of the boundary, we need the mesh
velocity since the fluid on the boundary moves at the same velocity as
the mesh - this is the no-slip condition.
So the problem is, how do you evaluate the mesh velocity (a discrete
function) at a point?
I.e., how do we set a boundary value using a discrete function?
Any suggestions are well appreciated.
/Michael
Follow ups