Hi Adrian, I'm not sure if this is what you're going for, but perhaps you could use an implicit source to apply the "internal boundary condition" as outlined in http://www.ctcms.nist.gov/fipy/documentation/USAGE.html#applying-internal-boundary-conditions. If you're just trying to keep a particular point at a fixed value, maybe that will work?
Cheers, Ray On Fri, Mar 1, 2013 at 12:11 PM, Adrian Jacobo <[email protected] > wrote: > Hi All, > > I'm trying to solve the diffusion equation with a point source at an > arbitrary location inside a circle. My idea is to adapt the example > examples.diffusion.circle<http://www.ctcms.nist.gov/fipy/examples/diffusion/generated/examples.diffusion.circle.html#module-examples.diffusion.circle>but > I'm not sure how to proceed. > I think the idea should be create a variable which is zero everywhere > except for where the point source is located, and add this variable as the > source. But I don't know how to do this. > > Any ideas or help will be greatly appreciated. > > Best, > Adrian. > > > _______________________________________________ > fipy mailing list > [email protected] > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] > >
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
