Re: derivative boundary condition in 2D problem

2017-01-24 Thread Daniel Wheeler
On Tue, Jan 24, 2017 at 4:33 AM, Francisco Vega Reyes wrote: > How do I implement a boundary condition \partial T /\partial y = 0 at > facesTop (for instance)? In that case, I don't believe that you need to add any constraints as that is the natural boundary condition for a

derivative boundary condition in 2D problem

2017-01-24 Thread Francisco Vega Reyes
How do I implement a boundary condition \partial T /\partial y = 0 at facesTop (for instance)? It seems to me that doing var.faceGrad.constrain(((0,),(0,)), where=mesh.facesTop) (the initial example in the manual) I would be like doing \partial T /\partial x + \partial T /\partial y = 0...