Re: question about simpletrenchsystem.py

2011-04-01 Thread Julien Derr
by test suite, which test do you mean ? i went on the different computer (a cluster) I went into the installation directory, in models/levelset, and I run the test.py file , here is the result : [jderr@iliadaccess02 electroChem]$ ls gapFillMesh.py gapFillMesh.pyc __init__.py __init__.pyc

Re: question about simpletrenchsystem.py

2011-04-01 Thread Jonathan Guyer
On Apr 1, 2011, at 5:57 AM, Julien Derr wrote: by test suite, which test do you mean ? I assume that Daniel meant `python setup.py test` on the entire installation, but what you've done is probably enough information. i went on the different computer (a cluster) I went into the

Re: question about simpletrenchsystem.py

2011-04-01 Thread Daniel Wheeler
On Fri, Apr 1, 2011 at 5:57 AM, Julien Derr julien.d...@gmail.com wrote: by test suite, which test do you mean ? i went on the different computer (a cluster) I just mean running python setup.py test in the base fipy directory. If you have an installed only version of FiPy then you obviously

Re: question about simpletrenchsystem.py

2011-03-31 Thread Julien Derr
Hi Daniel, thanks a lot, it seems to behave very well !!! just two additional questions : the frist one to uderstand what is going on, the second one more pragmatical 1. If I understand well, the line you suggested to add, is setting a infinite (1E20) out flux at the phi=0 interface. this

Re: question about simpletrenchsystem.py

2011-03-31 Thread Daniel Wheeler
On Thu, Mar 31, 2011 at 12:14 PM, Julien Derr julien.d...@gmail.com wrote: 1. If I understand well, the line you suggested to add, is setting a infinite (1E20) out flux at the  phi=0 interface. this source term shouldn't be negative ?? It should have the right sign. Whatever that is. The

Re: question about simpletrenchsystem.py

2011-03-28 Thread Julien Derr
julien.d...@gmail.com wrote: Hi everyone! I didn't bother you for a long time! I am back! Good to have you back. in the simpletrenchsystem.py example, I have a question about the boundary condition : metalEquation.solve(metalVar, dt = dt, boundaryConditions

Re: question about simpletrenchsystem.py

2011-03-28 Thread Daniel Wheeler
On Mon, Mar 28, 2011 at 5:31 AM, Julien Derr julien.d...@gmail.com wrote: Thanks Daniel for the fast answer as always. I am a bit confused : if I understood correctly, in this example, the boundary condition is that the normal component of the  gradient of c is equal the velocity of the

Re: question about simpletrenchsystem.py

2011-03-28 Thread Julien Derr
Hi Daniel, I was also thinking about two conditions : condition 1 : for the boundary of the diffusion of C instead of a condition on grad(c) like in the example, I was thinking of a condition on c directly : c=0 at the interface; condition 2 : definition of the speed of the interface instead

Re: question about simpletrenchsystem.py

2011-03-28 Thread Daniel Wheeler
On Mon, Mar 28, 2011 at 1:38 PM, Julien Derr julien.d...@gmail.com wrote: Hi Daniel, I  was also thinking about two conditions : condition 1 : for the boundary of the diffusion of C instead of a condition on grad(c) like in the example, I was thinking of a condition on c directly : c=0 at

question about simpletrenchsystem.py

2011-03-22 Thread Julien Derr
Hi everyone! I didn't bother you for a long time! I am back! in the simpletrenchsystem.py example, I have a question about the boundary condition : metalEquation.solve(metalVar, dt = dt, boundaryConditions = metalEquationBCs) metalequation BCs defines the boundary

Re: simpletrenchsystem.py

2011-03-09 Thread Daniel Wheeler
Hi Billy, I finally got around to running some of the examples on Windows XP. I downloaded the latest pythonxy and installed pysparse. I tried using Qt4Agg, TkAgg and WXAgg and I found that matplotlib failed to update in interactive mode (regardless of backend) for examples that were plotting 2D

Re: simpletrenchsystem.py

2011-02-22 Thread Yeung (Billy) Au
I tried executing examples (eg. acorr, fill, etc.) on http://matplotlib.sourceforge.net/ and had no problem displaying the plots. I will try to look into the matplotlib backends. On Fri, Feb 18, 2011 at 8:39 AM, Jonathan Guyer gu...@nist.gov wrote: On Feb 16, 2011, at 2:20 PM, Yeung (Billy)

Re: simpletrenchsystem.py

2011-02-22 Thread Jonathan Guyer
On Feb 22, 2011, at 12:04 PM, Yeung (Billy) Au wrote: I tried executing examples (eg. acorr, fill, etc.) on http://matplotlib.sourceforge.net/ and had no problem displaying the plots. I will try to look into the matplotlib backends. Thank you for checking. If you can get the matplotlib

Re: simpletrenchsystem.py

2011-02-21 Thread Benny Malengier
2011/2/18 Daniel Wheeler daniel.wheel...@gmail.com On Fri, Feb 18, 2011 at 8:39 AM, Jonathan Guyer gu...@nist.gov wrote: By the way, what packages would I need if I attempt to run FiPy on a virtual linux system? http://www.ctcms.nist.gov/fipy/INSTALLATION.html Billy, On a clean Ubuntu

Re: simpletrenchsystem.py

2011-02-18 Thread Jonathan Guyer
On Feb 16, 2011, at 2:20 PM, Yeung (Billy) Au wrote: I tried to import each of matplotlibViewer and mayaniViewer and the results are attached with this Email. Importing matplotlibViewer again results again in two popped out windows without images, and adding viewer.plot() doesn't seem to

Re: simpletrenchsystem.py

2011-02-18 Thread Daniel Wheeler
On Fri, Feb 18, 2011 at 8:39 AM, Jonathan Guyer gu...@nist.gov wrote: By the way, what packages would I need if I attempt to run FiPy on a virtual linux system? http://www.ctcms.nist.gov/fipy/INSTALLATION.html Billy, On a clean Ubuntu install the deb should be the easiest method for

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: simpletrenchsystem.py

2011-02-16 Thread Daniel Wheeler
can specify this by setting the FIPY_VIEWER environment variable to matplotlib or mayavi. One thing that you might want to try is placing a couple of viewer.plot() statements followed by a raw_input(press something) statement before the loop starts on line 296 of simpleTrenchSystem.py. That allows

Re: simpletrenchsystem.py

2011-02-15 Thread Jonathan Guyer
, mesh20x20 etc.) in FiPy but I had trouble running simpletrenchsystem.py. I attached a screenshot of the messages I got while trying to run the .py file. Am I having trouble with the viewer? I have installed Mayavi while installing pythonxy. Can someone please help? It's apparently a problem

Re: simpletrenchsystem.py

2011-02-15 Thread Jonathan Guyer
On Feb 15, 2011, at 2:40 PM, Yeung (Billy) Au wrote: Thank you Jonathan for your quick response. My matplotlib version is 1.0.0 After editing line 124 of C:\Python25\lib\site-packages\fipy\viewers\matplotlibViewer\matplotlib2DGridViewer.py from self.image.clim(vmax=datamax,