### apply Dirichlet boundary condition on evolving surface ?

289

views

0

Hi, I am solving crack propagation problem due to hydrogen diffusion. I have applied hydrogen concentration at the edge (simple: DirichletBC), but as the crack grows how can i identify the cell and apply dirichlet boundary condition. Note: I have a variable (d) which is 1 at the crack surface. how can I check this condition and apply Dirichlet boundary condition ?

HSK

Thanks in advance

HSK

Community: FEniCS Project

Please login to add an answer/comment or follow this question.

https://fenicsproject.org/olddocs/dolfin/1.4.0/python/demo/documented/subdomains/python/documentation.html

but change the criteria to whatever function evaluation you need.