Re: creating a cellvariable which is a product

2011-05-31 Thread Jonathan Guyer
On May 31, 2011, at 1:05 PM, Julien Derr wrote: > I am sure this is an easy question, but I cannot make it work : > I have two variable c and c2 > > c = CellVariable(name="c", mesh=mesh,value=0.,hasOld=1) > c2 = CellVariable(name="c2", mesh=mesh,value=0.,hasOld=1) > > and I want to create a t

Re: How to extract a specific surface area of a mesh and imposing a BC ?

2011-05-31 Thread Jonathan Guyer
On May 31, 2011, at 11:12 AM, Marc Saudreau wrote: >> On May 31, 2011, at 10:08 AM, Marc Saudreau wrote: >> >>> 1. In GMSH you can group some mesh elements and name them (usually >>> with a code number). >>> Is it possible to get this code number within FiPy to be able to work >>> on these elem

creating a cellvariable which is a product

2011-05-31 Thread Julien Derr
Hi everyone, I am sure this is an easy question, but I cannot make it work : I have two variable c and c2 c = CellVariable(name="c", mesh=mesh,value=0.,hasOld=1) c2 = CellVariable(name="c2", mesh=mesh,value=0.,hasOld=1) and I want to create a thirdh which would be always the updated product of c

Re: DLA : towards the perfection ?

2011-05-31 Thread Julien Derr
Hi Daniel, thanks a lot for trying to run the code. For info I am running the 2.2dev version >>> print fipy.__version__ 2.2-dev Let me know if you get the chance to test it with this version ... Julien On Tue, May 31, 2011 at 5:43 PM, Daniel Wheeler wrote: > > On Fri, May 27, 2011 at 8:27 AM,

Coupled PDE-ODE systems

2011-05-31 Thread Biswa Sengupta
Dear all, I am a new user of FiPy and I thought it would be useful to ask the group about my specific problem before I get into the nitty-gritty of learning FiPy. Is it is possible to solve a coupled time-varying PDE along with a set of state dependent ODEs, just like the Hodgkin-Huxley cable e

Re: DLA : towards the perfection ?

2011-05-31 Thread Daniel Wheeler
On Fri, May 27, 2011 at 8:27 AM, Julien Derr wrote: > Hi all, > > thanks to your continuous help, I have now a running codeĀ  for simulating > typical diffusion limited aggregation with fipy. > to remove anisotropy, I replaced the 2D carthesian grid, with an irregular > mesh. It works great(anisot

Re: How to extract a specific surface area of a mesh and imposing a BC ?

2011-05-31 Thread Marc Saudreau
Thanks for your quick reply ... On May 31, 2011, at 10:08 AM, Marc Saudreau wrote: 1. In GMSH you can group some mesh elements and name them (usually with a code number). Is it possible to get this code number within FiPy to be able to work on these elements specifically. For instance, a met

Re: How to extract a specific surface area of a mesh and imposing a BC ?

2011-05-31 Thread Jonathan Guyer
On May 31, 2011, at 10:08 AM, Marc Saudreau wrote: > 1. In GMSH you can group some mesh elements and name them (usually > with a code number). > Is it possible to get this code number within FiPy to be able to work > on these elements specifically. > For instance, a method like mesh.getFaceC

How to extract a specific surface area of a mesh and imposing a BC ?

2011-05-31 Thread Marc Saudreau
Hi everyone, I come back to you because I would like to extract from a mesh, made with GMSH and imported via the GmshImporter3D() function, a specific region. My goal is to use this information to impose a specific BC (convective!) to this area. I looked at the FiPy documentation and mail