You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also encountered this issue.
Solving:
A.equation = TransientTerm() h2. DiffusionTerm() - A.getFaceGrad().getDivergence()
returned the expected result of no change (transient = 0).
Solving what should be an identical equation:
A.equation = TransientTerm() 1*DiffusionTerm() - A.getFaceGrad().getDivergence()
and did not get an identical result.
I'm happy to provide the full script and results if they will be helpful. In summary, I started with a step function (1's, then 0's). At the step the second equation produces these results (compared with the expected result of no change):
This seems to have been fixed! No idea how or when this occurred. Made some minor modifications as the script above didn't run against trunk. See r4959.
As highlighted in http://thread.gmane.org/gmane.comp.python.fipy/1711, multiplying terms by 1 seems to change their behavior. E.g.,
returns
Imported from trac ticket #291, created by guyer on 04-14-2010 at 14:52, last modified: 11-17-2011 at 14:34
The text was updated successfully, but these errors were encountered: