How can I apply boundary conditions involving derivatives of more than one variable?
9 months ago by
I've read the Fenics tutorial and there are explanations for cases involving Dirichlet and Neumann boundary conditions and these BC are usually applied to the function spaces of each variable. Now let's say I have two variables x and y and on the boundary I have to satisfy the condition: $\left(\nabla x+kx\nabla y\right).n$(∇x+kx∇y).n =0, where k is a generic constant and 'n' is a unit vector normal to the boundary (so here we have a dot product involving this unit vector). This is kind of a "no-flux" boundary condition. How should I proceed to apply such boundary condition?
Any inputs would be much appreciated.
Community: FEniCS Project
Please login to add an answer/comment or follow this question.