On Mar 22, 2013, at 12:38 AM, Edwin Sze Lun Khoo wrote: > It turns out that my spatial discretization was too fine, so Python ran out > of memory. After decreasing my spatial discretization and trying the > PowerLawConvectionTerm that you suggested, I still get the "IndexError: id1 > does not have the same size as b" error.
You still have it wrapped in a tuple. [[-alpha]]/C**2 is a rank-1 CellVariable [[-alpha]]/C.faceValue**2 is a rank-1 FaceVariable ([[-alpha]]/C.faceValue**2, ) is a tuple of rank-1 FaceVariables (of length 1) and FiPy doesn't know what to do with it. _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
