Space dependent diffusion

2014-04-10 Thread travis
I've asked this question on Stack Overflow, http://stackoverflow.com/questions/22971859/space-dependent-diffusion-in-fipy, but for completeness I'll repost it here. The SO question has pictures and inline links, but they aren't needed. I'm using fipy to model the linearized [Poisson-Boltzmann

Re: Space dependent diffusion

2014-04-10 Thread Guyer, Jonathan E. Dr.
It is certainly not true that `DiffusionTerm` can only take a constant. Please see http://www.ctcms.nist.gov/fipy/examples/diffusion/generated/examples.diffusion.mesh1D.html for a general example of a spatially varying diffusion coefficient, and

Re: Pysparse TypeError with vector equations

2014-04-10 Thread Daniel Wheeler
On Wed, Apr 9, 2014 at 6:38 PM, Charles Reid charlesre...@gmail.com wrote: I went ahead and did the following, let me know if I should try doing something different: 1. Cloned a copy of Fipy from the matforge Github repository git clone git://code.matforge.org/nist/fipy.git 2. Made a