I don't see anything obviously wrong with the way you've posed the source. Why do you think you have a problem?
> On Apr 18, 2016, at 4:44 PM, John Leeman <kd5...@gmail.com> wrote: > > Hi all, > > I’m working on implementing a rather simple thermal diffusion model with > FiPy, but haven’t been able to find any examples or things in the docs to get > me over the last challenge. > > The model represents a stack of several materials. One of them is a granular > substance that is sheared and generates some heat. The shear heating > generation is just the product of the shear stress and velocity. The velocity > will vary with time in the model (in the end). Basically I’m solving > equations 2,3 from > http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.211.384&rep=rep1&type=pdf > > I was able to build the model and solve a simple diffusion problem, but I’m > having trouble figuring out how to get the heat generation term into FiPy. > You can see the simple notebook and a notebook in which I tried to add the > heating terms on this gist: > https://gist.github.com/jrleeman/8bcafffd512feaa77ec2946dc92460ae > I’m probably missing something, but after looking through the source term > docs I was unclear how to proceed. > > Many Thanks, > John > _______________________________________________ > fipy mailing list > fipy@nist.gov > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] _______________________________________________ fipy mailing list fipy@nist.gov http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]