Re: Generate documentation html or pdf

2013-01-23 Thread Ajay Rawat
Why not try using pygment; >> pygmentize -O full,style=emacs -o test.tex inputGrid2D.py On Thu, Jan 24, 2013 at 12:59 AM, Jonathan Guyer wrote: > > On Jan 21, 2013, at 7:07 PM, Salomon Turgman Cohen wrote: > >>I was wondering how to generate a nicely formatted html or pdf file from one of the

Re: Heat Conduction

2013-01-23 Thread John Assael
I think it its not a problem of properties as the same values are used in COMSOL and they result different values. Moreover, I tried small changes like 5-10% and there was no big difference... could it be FiPy's Solver? Thank you very much for spending so much time on this! On Wed, Jan 23, 2013 at

Re: Heat Conduction

2013-01-23 Thread Jonathan Guyer
On Jan 22, 2013, at 9:56 AM, John Assael wrote: > Well I finally did it with some extra points defining the cell size... > However I keep getting a marked difference from Comsol results > The charts are here... http://www.ic3man.gr/Tol8_6c.xls > Is it possible that the calculations are not done r

Re: Create mesh subset

2013-01-23 Thread Jonathan Guyer
On Jan 23, 2013, at 3:39 PM, Laurence wrote: > I'm happy with the mask and how it ascertains to the mesh I've already > created. > > My issue is that I am creating a diffusion field on the mesh, and > at one place in the mesh, a localised reaction is taking place > depending on the concentration

Re: Create mesh subset

2013-01-23 Thread Laurence
I'm happy with the mask and how it ascertains to the mesh I've already created. My issue is that I am creating a diffusion field on the mesh, and at one place in the mesh, a localised reaction is taking place depending on the concentration at that point. This will deplete the concentration of the

Re: Create mesh subset

2013-01-23 Thread Jonathan Guyer
On Jan 23, 2013, at 1:30 PM, Laurence wrote: > I've only started using Fipy and this is my first post. Welcome. > > I would like to take a mesh I have imported from Gmsh, and create a subset > mesh of certain cells within certain X,Y limits. The mesh imports > fine, and I have my cells refer

Re: Generate documentation html or pdf

2013-01-23 Thread Jonathan Guyer
On Jan 21, 2013, at 7:07 PM, Salomon Turgman Cohen wrote: >I was wondering how to generate a nicely formatted html or pdf file from > one of the examples, say mesh1D.py. In addition to what Wheeler offered, I've posted a script to http://matforge.org/fipy/wiki/FormatExamples that allows th

Create mesh subset

2013-01-23 Thread Laurence
Hi, I've only started using Fipy and this is my first post. I would like to take a mesh I have imported from Gmsh, and create a subset mesh of certain cells within certain X,Y limits. The mesh imports fine, and I have my cells referenced through an A = X? C = Y?, new_mesh = A & B & C & D. How