Hi Michael,
Thank you for your answer. I have now rewritten the code to be
r = 1/pi
cyl = Cylinder(Pnt(0,0,0), Pnt(1,0,0),r)
top = Plane(Pnt(0,0,0),Vec(0,0,-1)).bc("dir")
left = Plane(Pnt(0,0,0),Vec(-1,0,0)).bc("dir")
right =Plane(Pnt(1,0,0),Vec(1,0,0)).bc("dir")
shell = (cyl * left*right*top)
geo.AddSurface(cyl, shell)
################
ngmesh = geo.GenerateMesh(maxh=0.3)
ngmesh.SetCD2Name(1,"wall")
ngmesh.SetCD2Name(2,"wall")
ngmesh.SetCD2Name(3,"outflow")
ngmesh.SetCD2Name(4,"inflow")
mesh = Mesh(ngmesh)
bnd_D = mesh.Boundaries("inflow|outflow|wall")
with one of the boundary integrals looking like
a += SymbolicBFI(-2*InnerProduct(epsu*mu, v.Trace()), BND, element_boundary = True, definedon = bnd_D)
It still seems like the integral has no effect. Am I missing it completely? How do you do integrals on boundaries of a surfaces, i.e. with Co-dimension 2?
It is worth pointing out that v is in a SurfaceHDiv space and epsu is the symmetric gradient of such a vector. I also need to integrate vectors in SurfaceL2