On Mar 21, 2019, at 1:44 PM, Daniel Wheeler <daniel.wheel...@gmail.com> wrote: > >> I get the error: >> >> ExplicitVariableError: Terms with explicit Variables cannot mix with Terms >> with implicit Variables. > > That's because of the parentheses I think.
The problem is that in ``` eq = (DiffusionTerm(coeff=(1.0), var=phi) - numerix.sin(phi) + phi * numerix.cos(phi)-ImplicitSourceTerm(numerix.cos(phi)) == TransientTerm(var=phi)) ``` DiffusionTerm and TransientTerm specify `var=phi`, but ImplicitSourceTerm does not. Either all must specify the variable they act on, or none can. _______________________________________________ fipy mailing list fipy@nist.gov http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]