thanks Jonathan, I din't express myself well ; I was meaning, is it possible to impose that the resulting gradient would be normal to the side ?
but I am interested also by your answer. I looked at the table you sent. isn't it J proportional to grad(phi) so what is the difference between line 2 and 4 of the table ? also, I could use the actual version to write BCs = (FixedFlux(faces=facesInside, value=phi.getFaceGrad()) ) wouldn't it be correct ? On Fri, Feb 11, 2011 at 3:58 PM, Jonathan Guyer <[email protected]> wrote: > > > On Feb 11, 2011, at 7:56 AM, Julien Derr wrote: > > > In a typical diffusion problem, I would like to have the following > boundary condition > > the gradient of the concentration field normal to the interface? > > > > is it possible to set that in fipy ? > > In the released branch of FiPy, no it is not. > > We have implemented a new way of doing boundary conditions, which you can > obtain from svn trunk/, that does allow this. > > We have a summary of the changes in boundary conditions (the old ways still > work) at http://matforge.org/fipy/wiki/BoundaryConditions. > > We hope to release this new code relatively soon, but we still have a lot > of polishing, testing, and documenting to do, as well as a couple of > conferences to prepare for. > >
