On Wed, Aug 21, 2013 at 5:00 PM, Igor <[email protected]> wrote:
Could you please help me understand the problem? > Igor, The following changes will get it working with FiPy 3.0.1: 83,85c84,86 < < eqBr = tranTerm == convTerm_r - convTerm_v - implSource0 - implSource1x2 + implSource2 < eqBt = tranTerm == convTerm_r - convTerm_v - implSource0 - implSource1 --- > > eqBr = TransientTerm() == PowerLawConvectionTerm(convCoeff_r - convCoeff_v) - ImplicitSourceTerm(implSourceCoeff0 + implSourceCoeff1x2 - implSourceCoeff2) > eqBt = TransientTerm() == PowerLawConvectionTerm(convCoeff_r - convCoeff_v) - ImplicitSourceTerm(implSourceCoeff0 + implSourceCoeff1) Basically, only have one ImplicitSourceTerm and one PowerLawConvectionTerm in each equation. Also, it might not be a good idea to use the same term instance in two equations. Igor, thanks for sharing this, it has definitely highlighted an issue. FiPy should really throw an informative error when multiple terms of the same kind are used in an equation (or just work properly as in 2.1.3). -- Daniel Wheeler
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
