Re: mesh geometry with GmshImporter2D

2011-02-02 Thread Jonathan Guyer
On Feb 2, 2011, at 1:00 PM, Daniel Wheeler wrote: > > Hi Julien, I believe it is set up to work in this manner. What's the > error exactly? The problem is that Julien is quoting too much. This is Python code: '''cellSize = %(cellSize)g; radius = %(radius)g; rbis = %(rbis)g; Point(1) = {0, 0,

Re: mesh geometry with GmshImporter2D

2011-02-02 Thread Daniel Wheeler
Hi Julien, I believe it is set up to work in this manner. What's the error exactly? On Wed, Feb 2, 2011 at 11:40 AM, Julien Derr wrote: > hi again, > > the other thing I am wondering is if it is possible to automatize the > commandline to get the mesh > > something like > > cmdbase=" \'\'\' cell

Re: extracting coordinates of a face

2011-02-02 Thread Julien Derr
Thanks a lot On Wed, Feb 2, 2011 at 5:23 PM, Jonathan Guyer wrote: > > > On Feb 2, 2011, at 10:17 AM, Julien Derr wrote: > > > fipy looks absolutely amazing. but so far, I didn't understand how to > extract the coordinates of a face. > > do you know how it could be done ? > > The coordinate

mesh geometry with GmshImporter2D

2011-02-02 Thread Julien Derr
hi again, the other thing I am wondering is if it is possible to automatize the commandline to get the mesh something like cmdbase=" \'\'\' cellSize = %(cellSize)g; radius = %(radius)g; rbis = %(rbis)g; Point(1) = {0, 0, 0, cellSize}; Point(2) = {-radius, 0, 0, cellSize}; Point(3) = {0, radius,

Re: extracting coordinates of a face

2011-02-02 Thread Jonathan Guyer
On Feb 2, 2011, at 10:17 AM, Julien Derr wrote: > fipy looks absolutely amazing. but so far, I didn't understand how to extract > the coordinates of a face. > do you know how it could be done ? The coordinates of the face centers (which is usually all you care about for working within FiPy)

extracting coordinates of a face

2011-02-02 Thread Julien Derr
Hi all, fipy looks absolutely amazing. but so far, I didn't understand how to extract the coordinates of a face. do you know how it could be done ? thanks a lot, Julien