10 months ago by
I've read the already answered questions on this topic, but I still do not understand why I get this warning. Can anyone help?
warning : found no facets matching domain for bouandary condition
Here is an extract of my code. To give you a little background, I'm trying I tried to apply boundary conditions on the top circle edge and a bottom circle
center1 = [20.,100.]
radius = 5
def on_circlehaut(x, on_boundary):
on_circlehaut = ((x-center1)*(x-center1) + (x-center1)*(x-center1))
return abs(on_circlehaut-25.)<= 0.05
center2 = [20.,20.]
radius = 5.
def on_circlebas(x, on_boundary):
on_circlebas = ((x-center2)*(x-center2) + (x-center2)*(x-center2))
return abs(on_circlebas-25.)<= 0.05
Community: FEniCS Project
Please login to add an answer/comment or follow this question.