Re: simpletrenchsystem.py

2011-02-16 Thread Daniel Wheeler
On Wed, Feb 16, 2011 at 9:08 AM, Daniel Wheeler wrote: > You're obviously using the matplotlib viewer and not the mayavi > viewer. FiPy selects one or the other. You can specify this by setting > the "FIPY_VIEWER" environment variable to "matplotlib" or "mayavi". Setting environment variables o

Re: simpletrenchsystem.py

2011-02-16 Thread Daniel Wheeler
Billy, We often have problems displaying images on Windows with mayavi and matplotlib. Unfortunately, these are completely independent of FiPy and so we are at the mercy of those packages. You're obviously using the matplotlib viewer and not the mayavi viewer. FiPy selects one or the other. You

Re: simpletrenchsystem.py

2011-02-16 Thread Jonathan Guyer
[bouncing this back onto the list] On Feb 15, 2011, at 4:40 PM, Yeung (Billy) Au wrote: > Thanks for replying. Do you think this has to do with my Windows Vista > system? Would it be worthwhile to try running it on a Mac OS or Linux system? We certainly use those systems more frequently (we're

Re: negative values in diffusion ?

2011-02-16 Thread Jonathan Guyer
Julien, On Feb 16, 2011, at 5:03 AM, Julien Derr wrote: > here is the main time loop of the code : I don't see any obvious problems in what you're doing. I don't think it should matter, because you're not sweeping (and you shouldn't need to if D is constant), but you might try adding `hasOl

Re: negative values in diffusion ?

2011-02-16 Thread Julien Derr
Hi Johnatan, here is the main time loop of the code : #definition of the initial inner interface made of 4 points interfaceX=[-rbis,0,rbis,0] #x coordinates interfaceY=[0,rbis,0,-rbis] #y coordinates #initial meshing mesh = GmshImporter2D(cmd_for_mesh(interfaceX,interfaceY))#cmd_for_mesh i