On Wed, May 21, 2014 at 11:48 AM, Burak <[email protected]> wrote: > Dear all, > I have some problem in implementing a 2D cylindrical problem. Basically it > > shall end up some day by having a cylindrical porous medium heated radially > > and having some uniform gas flow through the pores. > Both will later be > coupled by convective heat transfer to each other. > > I just started using FiPy 3 (I was now and then using previous versions)
We're on version 3.1, so you might want to update to that. > thus I do not know, if the following is a problem of my implementation or of > FiPy: > > > > The error message and script are found at pastebin (and perhaps below- I > have some problems with Gmane also): http://pastebin.com/3Wg7mdmy > > > It would be wonderful if anybody could give me a hint on what is going > wrong! Thanks in advance! > > Burak > ........ > > ERROR: > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "\spyderlib\widgets\externalshell\sitecustomize.py", line 540, in > runfile > execfile(filename, namespace) > File ".../2DcylinderConvHeat.py", line 78, in <module> > eqG.solve(dt=timeStepDuration) > File "...fipy-3.0_dev5303-py2.7.egg\fipy\terms\term.py", line 209, in solve The version number you are using has a Subversion commit number associated it. We updated to using Git some time ago. > solv...\fipy\terms\term.py", line 171, in _prepareLinearSystem > buildExplicitIfOther=self._buildExplcitIfOther) > File "...\fipy\terms\binaryTerm.py", line 68, in _buildAndAddMatrices > buildExplicitIfOther=buildExplicitIfOther) > File "...fipy\terms\binaryTerm.py", line 68, in _buildAndAddMatrices > buildExplicitIfOther=buildExplicitIfOther) > File "...\fipy\terms\unaryTerm.py", line 97, in _buildAndAddMatrices > diffusionGeomCoeff=diffusionGeomCoeff) > File "...\fipy\terms\abstractConvectionTerm.py", line 188, in _buildMatrix > b += numerix.reshape(self.constraintB.value, ids.shape).sum(0).ravel() > AttributeError: 'NotImplementedType' object has no attribute 'sum' I ran your script and it worked fine apart from some warnings about divide by zero, which are probably not important. It worked with both the "master" and "develop" branches of FiPy. Go ahead and update to 3.1 from http://www.ctcms.nist.gov/fipy/download/ or clone the repository with "git clone git://code.matforge.org/nist/fipy.git". Good luck. -- Daniel Wheeler _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
