For the algebraic thing, could you do something like
eq = ( fp.TransientTerm(coeff=0., var=whatever) == \sum{z_i*C_i} ) ?
On Wed, Jul 24, 2013 at 3:35 PM, Edwin Sze Lun Khoo <[email protected]>wrote:
> Hello,
>
> I have a couple of quick questions about the use of convection terms and
> defining algebraic equations of dependent variables in FiPy:
>
> 1) What is meant by "an inlet or an outlet boundary condition" in
> http://www.ctcms.nist.gov/fipy/documentation/USAGE.html#applying-outlet-or-inlet-boundary-conditions
> ?
>
> 2) What is the best way to write algebraic equations that relate
> CellVariables in FiPy? For instance, the electroneutrality assumption in
> electrochemistry, \sum{z_{i}C_{i} = 0, relates ion concentrations with an
> algebraic constraint.
>
> Best,
> Edwin
>
>
>
> _______________________________________________
> 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 ]