Thanks for this hint. Did you not forgot a term in the second equation? eqp=ImplicitDiffusionTerm(coeff=1)==_ExplicitSourceTerm(q1s+q2s) eqphi=TransientTerm(coeff=2)==_ExplicitSourceTerm(q1s-q2s)
after subtracting the two equations of the problem I sent in the attached file, there a term which looks like 2\nabla(phi\nabla p), then how to represent it? Franck Regards 2008/8/20 Jonathan Guyer <[EMAIL PROTECTED]> > > > On Aug 20, 2008, at 12:10 PM, franck kalala wrote: > > Thanks for suggestion, but I still have the same problem. may be I don't >> present clearly my problem, see in the attached file the given problem. >> > > I understood what you're trying to do, but this appears to be a bug in > version 1.2. What you've written (using '&') works on trunk/, but not on > version 1.2. > > > As a workaround, you can do > > from fipy.terms.explicitSourceTerm import _ExplicitSourceTerm > > eqp=ImplicitDiffusionTerm(coeff=1)==_ExplicitSourceTerm(q1s+q2s) > eqphi=TransientTerm(coeff=2)==_ExplicitSourceTerm(q1s-q2s) > > > -- *********************************************** *********************************************** Franck Kalala Mutombo [EMAIL PROTECTED] African Institut for Mathematical Sciences, Muizenberg Cape Town, South Africa [EMAIL PROTECTED] ************************************************ ************************************************
