Hi,

First thanks to FiPy community for such a practical tool. I'm a newbie
in FiPy and try to solve a problem based on source term.

My equation is a 2D diffusion equation which has a source term as a
function depends on x,y cordinates and time t

   \frac{ \partial c( \vec{x},t)}{\partial t}  =
D_{c}\bigtriangledown ^{2} c( \vec{x},t)} - f_{c}( \vec{x},t)

I am googleing about 3 days found some clues [1] but they could'nt
solve my problem. My code is working with a constant source term but I
still couldn't find how can I represent it as a function depends on
x,y and t.

I'm trying to get my source term values from a mock up matrix for sake
of simplicity. I'll be appriciate for any ideas/solutions. My code can
be seen at http://pastie.org/6605575

Thanks,

Serbulent


[1]

http://bb10.com/python-fipy/2012-12/msg00016.html
http://osdir.com/ml/python.fipy/2007-10/msg00009.html
http://bb10.com/python-fipy/2011-05/msg00030.html
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to