How to make a hole in a uniform mesh
Asked by
Øystein Sørensen
I am trying to make a uniform mesh, something like
mesh = Rectangle(
and then make two holes inside the mesh. The holes are supposed to represent a source and a sink, with inner boundary condition du/dn=f on the boundary of the holes.
I am aware that this is pretty straightforward to do in some external preprocessor, but I wonder if it is possible to implement this straight into Dolfin.
Ideally, the holes should be small (e.g. [0.01,0.01] squares).
Any idea?
Or may I alternatively define some inner boundary and implement the boundary condition on this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Logg
- Solved:
- Last query:
- Last reply:
To post a message you must log in.