On Mon, Oct 29, 2012 at 10:17 AM, Wei Shao - CITG <[email protected]> wrote:
> ** > Yes, Firstly I set source term to 0. > > But I do not want treat transient term as a source term, > > and most importantly, the C and K in my study is a piecewise function > expression, not a constant number. > > If you can, please tell me how to write the transient term to a FiPy > expression. > I think the suggestion in my previous email is how I would do this. Basically, don't divide through by the coefficient outside the transient operator, but take it inside the operator leaving you with an extra source. Did you give that a go? -- Daniel Wheeler
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
