Re: ANN: FiPy 3.4

2020-02-06 Thread Martinus WERTS
Dear Fipy developers, Many thanks for Fipy, and congratulations on the new version. I do not have the occasion to work with Fipy as often as I would like, but last Thursday, two students started a small numerical research project with Fipy. The new Fipy release happened just before, which I consi

Re: Some questions on the viewer

2020-01-21 Thread Martinus WERTS
gt; exponent an arithmetic exponent? Is i part of a sum? I had trouble > expanding the diffusion term to n>=4. > > Regards, > > Amine > > On Mon, Jan 20, 2020 at 5:23 PM Martinus WERTS > mailto:martinus.we...@ens-rennes.fr>> > wrote: > > Dear Amine, >

Re: Some questions on the viewer

2020-01-20 Thread Martinus WERTS
Dear Amine, Concerning your second question, I think that this a normal (but in this case, annoying) feature of the Jupyter notebook. You might trying adding an extra (dummy) command to the cell, after the line in which the Viewer() is instantiated. For example: ``print('Ready')``. Best, Martin

Re: Problems using Grid2D

2019-09-29 Thread Martinus WERTS
Dear Justin, Independently of the mesh, the cells in FiPy are stored in a 1D array (a vector). The coordinates of each cell are also available as 1D arrays. E.g., for a "UniformGrid3D" mesh, one can obtain these as     X, Y, Z = mesh.cellCenters In the case of structured meshes, it is possible

Re: Setting CellVariable values

2019-04-08 Thread Martinus WERTS
Dear Dario, I am currently using Fipy for a slightly different diffusion-reaction problem. I use a CellVariable on the same grid for the (spatially-dependent) rate constant. One can set its values in a "numpy-vectorized" fashion by accessing the "value" property of the CellVariable. By usi

Re: cylindrical coordinates

2018-10-10 Thread Martinus WERTS
octant of the solution...). The FiPy results agree really well with the analytic solution, and the calculation time is very acceptable for now. Best wishes, Martin On 10/10/2018 17:46, Daniel Wheeler wrote: > On Thu, Sep 20, 2018 at 4:15 AM Martinus WERTS > wrote: >> Now I would like t

cylindrical coordinates

2018-09-20 Thread Martinus WERTS
Dear Fipy list, I am pretty much new to FiPy. I am using it to model the dynamic response of reaction-diffusion systems (particles/molecules diffusing to microelectrodes and then being captured/reacting). I had succes on a 2D Cartesian mesh (both Dirichlet and Neumann/zero flux boundary conditi