marking curved boundary in dolfin by SubDomain
Asked by
tedlai
I am trying to mark a curved boundary which is a PHYSICAL boundary, but it seems
dolfin does not take the boundary into account.
my curved boundary is just a semi-circle with a radius 0.5 and the center locates at (0, 0)
What I do is below,
class Cboundary(
def inside(
return on_boundary and (abs(x[
bc = DirichletBC(
Changing the value of tol is not useful as I tried.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- tedlai
- Solved:
- Last query:
- Last reply:
To post a message you must log in.