Re: Variable -- Term

2014-04-08 Thread Daniel Wheeler
On Mon, Apr 7, 2014 at 2:08 PM, Charles Reid charlesre...@gmail.com wrote: What I'd like to be able to do is assign a term to a CellVariable, so that I could perform the AB2 averaging with the current value of the variable and the old value of the variable, something like this:

Variable -- Term

2014-04-07 Thread Charles Reid
Hi there, I'm attempting to implement an operator-split scheme that requires me to apply an Adams Bashforth scheme to a convection term (distinct from other terms, like diffusion or reaction). The Fipy example covering the similar Crank-Nicholson scheme showed the approach for an entire equation,

Re: Variable -- Term

2014-04-07 Thread Charles Reid
(Oops, that CellVariable should be a FaceVariable.) Charles On Mon, Apr 7, 2014 at 11:08 AM, Charles Reid charlesre...@gmail.comwrote: Hi there, I'm attempting to implement an operator-split scheme that requires me to apply an Adams Bashforth scheme to a convection term (distinct from