Using a mesh function to move a boundary.
Asked by
Douglas Brinkerhoff
I'm attempting to implement a free surface problem, and I need to move a subdomain of a mesh boundary. The mesh boundary is complicated, so a logical expression defining the boundary will not suffice. Instead, I have the relevant subdomain marked with a mesh function. Is there a way to move boundary mesh coordinates based on a mesh function? For example, say my surface is marked with a 1 in a meshfunction, is there a way to say:
for x in boundary_
x[0] += f(x[0],x[1])
x[1] += g(x[0],x[1])
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Douglas Brinkerhoff for more information if necessary.
To post a message you must log in.